Page 1 of 1

Re: [Nagios-devel] Macro

Posted: Sun Oct 28, 2007 6:29 am
by Guest
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 [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]