1.2 BUG with state retention?

jschmoe goddamnit at jen-uine.com
Wed Mar 24 18:11:57 CET 2004


I just upgraded from 1.1  Previously I had program state retention
enabled, and it was working fine.  Now it seems broke with 1.2.

Here's the configuration:

retain_state_information=1
state_retention_file=/var/log/nagios/status.sav
retention_update_interval=60
use_retained_program_state=1
accept_passive_service_checks=1
execute_service_checks=1
enable_notifications=0
enable_event_handlers=1

And here's the scenario:

Currently nagios is running and its current settings are:
OFF Flap Detection
OFF Notifications
 ON Event Handlers
 ON Active Checks
 ON Passive Checks

saves its program state in status.sav as:
PROGRAM: 0;1;1;1;1;0;1;0

Then, through the CGI, I turn off Active Checks.
After the CGI indicates that Active checks are indeed disabled, restart
nagios.
At that point nagios writes the status.sav info as:
PROGRAM: 0;1;0;1;1;0;1;0

Then when it restarts, for some reason Active Checks are ON! and Passive
Checks are OFF!

Then, if I don't change anything, and just restart nagios again, it writes
out its status as:
PROGRAM: 0;0;1;1;1;0;1;0

And when it restarts Active Checks are OFF, and Passive Checks are ON.

Has anyone else noticed this screwy behavior?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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