Monitoring host heartbeat

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
test541
Posts: 14
Joined: Wed May 22, 2013 4:20 am

Monitoring host heartbeat

Post by test541 »

Hello,
I'd like to deploy monitoring lack of events from specific host.
For example it is important to know that from the host there were no events since 1 hour (neither critical nor normal).
In my scenario on the host side there's some scripts running and they send alerts to Nagios. There's also heartbeat script.
It is like passive monitoring initiated on host side and variable in time.

Standard ICMP monitoring is not enough because it is network based and not related to host monitoring scripts (they should be running on the host all the time).
How to handle "no messages received" from specific host in Nagios?
Thank you.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring host heartbeat

Post by sreinhardt »

Probably the easiest way is via freshness checking on your particular check that needs this. Try taking a look at the documentation below and let us know if you have further questions.

http://nagios.sourceforge.net/docs/3_0/freshness.html
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
test541
Posts: 14
Joined: Wed May 22, 2013 4:20 am

Re: Monitoring host heartbeat

Post by test541 »

It's exactly what I need 8-)
Great concept implemented into Nagios.
Thank you.
Locked