No email notify for new host
No email notify for new host
I defined new host in nagios, but when service and host state is critical or down, Nagios does not send email notification, which files should I change?
Re: No email notify for new host
Bookmark the Nagios documentation and then read http://nagios.sourceforge.net/docs/3_0/ ... tions.html
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: No email notify for new host
In addition, you might be sending emails but they are not routing properly. Check your /var/log/maillog for possible errors.
Former Nagios employee
Re: No email notify for new host
You can also do this to make sure that Nagios is even trying to send a notification in the first place:
If you don't see any results, then Nagios's notification systems aren't even being triggered. If you see things like the following example, then it's trying, but the emails aren't getting to you.
(Note: We have a twitter notification thingy, so don't get hung up if you don't see "twitter" in your results.)
Code: Select all
grep NOTIFICATION /usr/local/nagios/var/nagios.logCode: Select all
SERVICE NOTIFICATION: twitter;Bitnetix:WWW;Load;OK;notify-service-by-twitter;OK - load average: 0.37, 0.39, 2.47Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: No email notify for new host
Give us a holler when you have the above results hellb0y, on the note of checking your maillog, on a centos/rhel/most standard linux based systems it is located at:
Code: Select all
/var/log/maillog