Getting state retention to work

Rob Tanner rtanner at linfield.edu
Thu Aug 9 23:07:28 CEST 2007


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070809/0442021b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list