Page 1 of 1

self notifcation

Posted: Tue Nov 24, 2015 10:23 pm
by lan2lan
Hi --
Is there a facility/plugin to have a notification sent to verify that nagios is running.
I would like a notification twice a day from the app to show its up and running. If i dont get the notification then i would assume the app stopped working. To over simplify my question; if i am suppose to get a notification everyday @ 8pm and i dont get it, i know something is wrong with nagios.

Thanks

Re: self notifcation

Posted: Wed Nov 25, 2015 10:21 am
by tmcdonald
That check could basically be anything, since if you don't get a notification you know if is not working :)

If you want something just for this purpose though, look into check_dummy:

https://github.com/nagios-plugins/nagio ... ck_dummy.c

It will always exit with the state you give it, and output the text you specify.