Config file permissions

Atkin David David.Atkin at writtle.ac.uk
Fri May 27 15:59:32 CEST 2005


As a newbie to Nagios I recently installed 2.0b3 and it's all working fine but I had a problem where following a HUP signal or an overnight restart, I got errors for every plug-in that it tried to run.
 
This turned out to be due to a permissions problem on the file /usr/local/nagios/etc/resources.cfg that defines the $USER1$ variable - the nagios user didn't have read access to it, and ended up trying to run all the plugins from "/". Of course when I started it initially as root, it read the file ok.
 
I worked it out in the end but an error message saying it couldn't read the file would have been helpful!
 
David Atkin
Head of Information Services
Writtle College, Chelmsford, Essex CM1 3RR
Tel: 26002 (internal),  01245 424240 (external)
 


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager at Writtle College, Chelmsford.

Please also note that unless stated explicitly, this information is not necessarily the view or policy of Writtle College, and it does not form any kind of contract.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses (www.mimesweeper.com).
**********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050527/9e2f30d3/attachment.html>


More information about the Users mailing list