With Solarwinds we have the Desktop Notification Tool and so far I am not impressed but that could be the way Im using it. If you need more details a full explanation of all the various options for Nagios Notifications can be found in the Nagios documentation. Coming from years of using Nagios, we had the benefit of using a notification tool called Nagstamon that sat in your system tray and notified you of alerts. It’s fairly intuitive, with root being a member of the admins contactgroup. In the generic configuration files you will find contact_groups set to admins.Įscalations and Notifications are all configured in the /etc/nagios3/conf.d/contacts_nagios2.cfg file. That way I will get continually reminded of an issue and not just on the down and up transitions. So there is a chance we could miss the outage. Nagios Exchange - The official site for hundreds of community-contributed Nagios plugins, addons, extensions, enhancements, and more Growl 1. However because notification_interval is set to 0 we will only get notified once. This is because the parameter notifications_enabled is set to 1 in both these files. Since our host and service configuration files inherit from /etc/nagios3/conf.d/generic-host-nagios2.cfg and /etc/nagios3/conf.d/generic-service_nagios2.cfg respectively then notifications are enabled by default.
I will write a separate article on how to configure postfix mail to forward mail from the root account to your own account. If your host email server is not setup properly then all your notifications are probably waiting for you in the root account mail queue. Out-of-the-box Nagios will send notifications to the server root account via email. So don’t expect to go in depth into the intimacies of Nagios configuration files.
As with the previous tutorials, I want to keep this as simple as possible with the least amount of configuration and effort on our part. Today we setup Nagios Notifications and then look at how to test our Nagios notification.