Shiv,

That was it. I was staring at it all along and then it suddenly dawned on me -- nagios runs as the nagios user and not as root. Changed ownership of the file and it works now.

-- Rob


Shivkumar said the following on 08/08/2007 09:01 PM:

Rob Tanner said the following:
Marc,

The retain_status_information and retain_nonstatus_information options are both set to 1 in the default templates at the top of the hosts.cfg and services.cfg files and I am specifying those default templates for almost all of the service and host entries.

Something else must still be missing.

Could it be the permissions on the state.dat file?

Regards,
Shiv

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to