Loosing status info after restart

Sjaak Nabuurs sjaaknabuurs at citytower.com
Wed Feb 7 07:34:13 CET 2007


Hello Nagios users

Nagios -v 2.5

I've hanging around for a long time with a small problem
When i restart nagios i'm loosing the state information and every status 
returns to pending.
Also if I use
/bin/printf "[%lu] SAVE_STATE_INFORMATION\n" $now > $commandfile
/bin/printf "[%lu] RESTART_PROGRAM\n" $now > $commandfile

define  host {^
        host_name                        server_domain
        alias                                  domain
        address                             domain.com
        check_command                   check-host-alive
        max_check_attempts              5
        check_interval                        5
        active_checks_enabled           1
        passive_checks_enabled         1
        check_period                         24x7
        obsess_over_host                  1
        check_freshness                     0
        event_handler_enabled            0
        flap_detection_enabled           1
        process_perf_data                  0
        retain_status_information        1      <-------------
        retain_nonstatus_information    1   <--------------
        contact_groups                      administrator
        notification_interval                5
        notification_period                 24x7
        notification_options               d,u,r,f
        notifications_enabled             1
        register                                 1
        }      

Thanks for reading

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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