I need to configure Nagios to send a notification that says everything goes well, if there's no problems.
Does this sort of setting exist or is there a plugin for that?
monitoringnagios
I need to configure Nagios to send a notification that says everything goes well, if there's no problems.
Does this sort of setting exist or is there a plugin for that?
Best Answer
I use the following setup to send an email once per day. This let's me know that all is well with my Nagios server, the email system and the Nagios config.
and in you timeperiods config file:
And the check_all_is_ok command is a simple wrapper around sendmail:
It doesn't check that there haven't been problems in the prior 24 hours, but you could add some grep-ping of the logs as guanta suggested if you need that. You could also accomplish the once a day requirement by setting normal_check_interval to 1440 (24 hours), but I want the check to be run in a specific window each day.