If you need more details a full explanation of all the various options for Nagios Notifications can be found in the Nagios documentation. 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. test-migration -filter OK: All virtual machines are ok maxtotallatencytest-migration2.00ms 0. The project can be used with Centreon and all monitoring softwares compatible with Nagios plugins. That way I will get continually reminded of an issue and not just on the down and up transitions. Centreon VMWare connector to check ESX server, VCenter and VMWare guest resources. So there is a chance we could miss the outage. 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.
0 Comments
Leave a Reply. |