[Nagios-devel] How to know the last state of a host in a eventhandler ?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] How to know the last state of a host in a eventhandler ?

Post by Guest »

Hi,

I'm writing a simple eventhandler, and I'm wondering how to know the
last state of a host.

For example, if we go into a HARD "UP" state, how to know if we are
coming from a SOFT or a HARD error state ??

Why isn't there a $PREVIOUSHOSTSTATETYPE$ macro available ?


Thank you in advance,
Philippe Ferreira.







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