Macro
Andreas Ericsson
ae at op5.se
Sun Oct 28 15:29:00 CET 2007
Haydn Solomon wrote:
> Hello list,
>
> I was thinking of running different event handler scripts based on the state
> transition in nagios ie. for example run a different script when state
> changes from critical to OK as opposed to WARNING to OK. I was therefore
> looking for any macro that would give me the laststate of a service>
$LASTSERVICESTATE$
> but
> could not find any in the list. I checked in both the 2.x and
> 3.xdocumentation but didn't see anything. Did I miss it?
Yup.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------------------------
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