is_volatile parameter available as macro/environment variable

Ethan Galstad nagios at nagios.org
Tue Aug 14 15:26:15 CEST 2007


Thanks for the patch Gerhard - this will be applied shortly.  I also 
added an on-demand macro for the same.

Gerhard Lausser wrote:
> Hi Ethan and list,
> 
> when i was writing a notification script which opens calls in a trouble
> ticket system, i wished the is_volatile parameter of a service would be
> available as a macro.
> The problem is, if a non-volatile service goes bad and a notification is
> sent, i search the trouble ticket system, if there is already an open call
> for this host/service combination and simply add the new event as a comment
> to this existing call. Non-volatile services on the other side require a new
> call each time Nagios sends out a notification because what caused the
> critical statuses may even not be related to each other. To switch between
> these behaviours, it would be nice to have the value of is_volatile
> available in the notification script (my workaround is maxcheckattempts==1
> && thisattempt==1).
> If this idea might be of interest, here ist the patch for nagios-3.0b1:
> http://people.consol.de/~lausser/nagios/nagios-3.0b1.with-isvolatile-macro.p
> atch
> 
> Greetings from Munich,
> Gerhard
> 


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/




More information about the Developers mailing list