notification by mail not working

Marc Powell marc at ena.com
Tue Nov 27 20:49:16 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Pablo Escobar
> Sent: Tuesday, November 27, 2007 1:12 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] notification by mail not working
> 
> hi all
> 
> I´m really desesperate because I dont know which other config file I
> should
> look.
> 
> My mail server (postfix) is working because if I run

Thanks for the config snippets. While you included host and service templates, you didn't include any definitions that actually use those templates. Make sure that those definitions don't overwrite any of the template definitions related to notifications. Also note that your service template only specifies notifications for CRITICAL status.

> ¿¿any clue about what I´m doing wrong??
> 
> many thanks in advance for any help and sorry for a so long mail :)
> Pablo

Do you have notifications enabled in nagios.cfg (enable_notifications=1)? Do you see notification attempts in nagios.log and in your postfix logs? When you tested your notification commands from the terminal as the nagios user, did you test them exactly as nagios would call them, including substituting appropriate values for the macros?

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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