email notifications not working

Marc Powell marc at ena.com
Fri Oct 17 02:52:31 CEST 2008


On Oct 16, 2008, at 7:15 PM, jeremiah wrote:

> !Errors do exists in the log file.
>
> ++
> "LOAD-SCRIPT;CRITICAL;HARD;3;Connection refused"
> ++

Do you see a corresponding SERVICE NOTIFICATION log entry? If you do,  
do you see a corresponding log entry in your maillog?

> !I've enabled notifications in each of my services in services.cfg
>
> ++
> notifications_enabled           1
> ++

... and set 'admins' as a contact_group in this service definition and  
an appropriate notification_period and appropriate notification_options?

> !I've set the admin email in nagios.cfg. I've also
> enabled_notifications=1.
>
> ++
> admin_email = (email hidden)
> ++

(admin_email doesn't matter in your case)

> !Verified Contacts.cfg is set...

These look fine.

> !Mail agent on localhost is also running.
>
> ++
> # telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 pse02.mascorp.com ESMTP Exim 4.69 Fri, 17 Oct 2008 00:13:58 +0000

Good.

The documentation on how notifications work might help clear things up  
--

http://nagios.sourceforge.net/docs/2_0/notifications.html

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list