A question about "initial_state"

Alexander Tiurin alexanderyt at gmail.com
Fri Dec 2 14:17:06 CET 2011


Hello!

I added "initial_state          u"  to  passive service template
definition, but  after restart Nagios, all passive service checks have the
status "PENDING" ,  not "UNKNOWN"

define service{
        name                   passive-service
        retain_status_information
  0
        retain_nonstatus_information    0
        active_checks_enabled  0
        passive_checks_enabled 1
        flap_detection_enabled 0
        is_volatile            0
        check_period           24x7
        max_check_attempts     1
        normal_check_interval  5
        retry_check_interval   1
        check_freshness        1
        freshness_threshold    15       ; seconds
        initial_state          u
        contact_groups         admins
        check_command          check_dummy!0
        notification_interval  60
        notification_period    24x7
        notification_options   w,u,c,r
        stalking_options       w,c,u
        register               0
  }

Whats wrong?

nagios3-3.2.0-4ubuntu2.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111202/03e497f9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
-------------- 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