[Nagios-devel] NAGIOS_LASTHOSTSTATE and NAGIOS_LASTSERVICESTATE -

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] NAGIOS_LASTHOSTSTATE and NAGIOS_LASTSERVICESTATE -

Post by Guest »

Hi Devel List,
I found an Issue, in the Nagios 3.0.6 Environment due to writing an
advanced notification script.
I want to use NAGIOS_HOSTSTATE and NAGIOS_LASTHOSTSTATE.
If my Hoststate changed from DOWN to UP everything looks good.
Vice versa I get NAGIOS_HOSTSTATE=3DDOWN (is correct) and
NAGIOS_LASTHOSTSTATE=3DDOWN (wrong, must be UP).

In the NAGIOS_SERVICESTATE and NAGIOS_LASTSERVICESTATE there will be the
same issue.

Can anybody confirm these issues?

regards
Christian


it-novum GmbH
Ein Unternehmen der Mehler AG
=20
Christian Mies
Consultant Systemmanagement
=20
Edelzeller Stra=DFe 44 =20
36043 Fulda =20
=20
FON: +49 (661) 103-874 (-333)
FAX: +49 (661) 103-17874 (-334)
MAIL: [email protected]
WEB: http://www.itnovum.de
=20
Handelsregister: Amtsgericht Fulda, HRB 1934
Gesch=E4ftsf=FChrer: Michael Kienle
Sitz der Gesellschaft: Fulda, Deutschland/Germany
UstID-Nr: DE813211784
Steuernr.: 018/225/03095
=20
Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche =
Empf=E4nger sein sollten, informieren Sie bitte sofort den Absender oder =
vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf=E4ltigung =
oder Weiterleitung dieser Mail ist strengstens verboten.
=20
This e-mail may contain confidential and/or privileged information. If =
you are not the intended recipient (or have received this e-mail in =
error) please notify the sender immediately and destroy this e-mail. Any =
unauthorised copying, disclosure or distribution of material in this =
e-mail is strictly forbidden.






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