> -----Original Message----- > From: Mike Koponick [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 15, 2006 10:33 AM > To: Marc Powell; Nagios Users > Subject: RE: [Nagios-users] Nagios Hang? >
[chop] > Here are a couple of samples of my hosts/services from the sensor: > [chop] > define service { > hostgroup_name Company_Switches > service_description check_ping > is_volatile 1 > check_command check_ping!150.0,20%!200.0,60% [chop] > > ######################################################################## > #### > > > Hosts/Services from the Central Server: [chop] > > define service { > hostgroup_name Company_Switches > service_description check_ping > is_volatile 1 > check_command check_stale [chop] You normally do not want to use 'is_volatile' for passive service checks. They should only be used for services that automatically reset themselves to an OK state after being checked and you wish to be notified _every_ time they're checked and not OK. This would account for your multiple notifications. http://nagios.sourceforge.net/docs/2_0/volatileservices.html Volatile services differ from "normal" services in three important ways. Each time they are checked when they are in a hard non-OK state, and the check returns a non-OK state (i.e. no state change has occurred)... * the non-OK service state is logged * contacts are notified about the problem (if that's what should be done) * the event handler for the service is run (if one has been defined) These events normally only occur for services when they are in a non-OK state and a hard state change has just occurred. In other words, they only happen the first time that a service goes into a non-OK state. If future checks of the service result in the same non-OK state, no hard state change occurs and none of the events mentioned take place again. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users@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