Email Notification Setting

It is enabled on some items by default but if you wants to change it, configure like follows.

  1. Install and start SMTP Server
  2. Set notification recipient. And Nagios sends notifications with mail command, so install it.
  3. It is possible to change notification setting on Nagios admin site.

# yum –y install mailx

# vi /etc/Nagios/objects/contacts.cfg

# line 34: set recipient email address

Email root@localhost

# systemctl restart Nagios