Nagios E-mail Notifications

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
linuxderp
Posts: 1
Joined: Mon Jul 23, 2012 9:15 am

Nagios E-mail Notifications

Post by linuxderp »

Hello,

I'm fairly new to Nagios but have set it up to successfully monitor 10 Windows servers. However, e-mail notifications haven't worked since the VPS I'm hosting Nagios Core on was moved by the hosting company to a different server in a different location. No configuration changes have occurred on the VPS itself (running CentOS 6).

Sendmail is running.

The contact.cfg file default except for using my e-mail address:

Code: Select all

define contact{
        contact_name             nagiosadmin             ; Short name of user
        use                             generic-contact         ; Inherit default values from generic-contact template (defined above)
        alias                           Nagios Admin            ; Full name of user
        email                         [email protected]       ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
        }


I can't think of what it could be. It's probably something stupid that I'm missing. Any ideas?

Thanks.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Nagios E-mail Notifications

Post by agriffin »

You said that sendmail is running, but not whether it's working. You should try sending a test email from the command line like this:

Code: Select all

echo test | mail [email protected]
If this doesn't work then it is a configuration problem with sendmail, not with Nagios.
Locked