<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000'>Since this is a passive state , until it gets a state submissions from the NSCA it will be in a Pending state .<br><br>The initial_state directive is for Active services AFAIK.<br><br><br><br><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Alexander Tiurin" <alexanderyt@gmail.com><br><b>To: </b>nagios-users@lists.sourceforge.net<br><b>Sent: </b>Friday, 2 December, 2011 1:17:06 PM<br><b>Subject: </b>[Nagios-users] A question about "initial_state"<br><br>Hello!<br><br>I added "initial_state&nbs
p; u" to passive service
template definition, but after restart Nagios, all passive service
checks have the status "PENDING" , not "UNKNOWN"<br><br>
define service{<br> name passive-service<br> retain_status_information <div id=":1qq"> 0 <br> retain_nonstatus_information 0 <br> active_checks_enabled 0<br>
passive_checks_enabled 1 <br>
flap_detection_enabled 0<br> is_volatile 0 <br> check_period 24x7<br> max_check_attempts 1 <br> normal_check_interval 5<br> retry_check_interval 1 <br>
check_freshness 1 <br> freshness_threshold 15 ; seconds <br> initial_state u <br> contact_groups admins<br> check_command check_dummy!0 <br>
notification_interval 60 <br> notification_period 24x7<br> notification_options w,u,c,r<br> stalking_options w,c,u<br> register 0 <br> }<br><br>Whats wrong?<br>
<br>nagios3-3.2.0-4ubuntu2.2</div>
<br>------------------------------------------------------------------------------<br>All the data continuously generated in your IT infrastructure <br>contains a definitive record of customers, application performance, <br>security threats, fraudulent activity, and more. Splunk takes this <br>data and makes sense of it. IT sense. And common sense.<br>http://p.sf.net/sfu/splunk-novd2d<br>_______________________________________________<br>Nagios-users mailing list<br>Nagios-users@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/nagios-users<br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</div><br></div></body></html>