Email Notification using Postfix

Matt Luettgen mluettgen at nuvio.com
Tue Jun 21 19:25:07 CEST 2005


Kindy,

I think this may be due to postfix, as I have the same problem with my
development box.  I can copy the configs to my development box and mail
is never sent, but on the production machine it works fine.  I'm still
working on hashing this out, if I figure something out I will let the
list know.

Matt

On Tue, 2005-06-21 at 11:58 -0500, Kindy Sylla wrote:
> Hello,
> I am having problems with email notifications and
> wondering if someone can help.
> I have the nagios running fine but no emails are sent
> out.
> This is my notify-by-mail command :
> # 'notify-by-email' command definition
> define command{
>         command_name    notify-by-email
>         command_line    /usr/bin/printf "%b" "*****
> Nagios   *****\n\nNotification Type:
> $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
> $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
> $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional
> Info:\n\n$OUTPUT$" | /usr/sbin/sendmail   -s "**
> $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$
> is $SERVICESTATE$ **" $CONTACTEMAIL$
>         }
> The log file doesn't contain any errors. I have the
> following line :
> [1119372445] SERVICE NOTIFICATION:
> Kindy;monediabackup;HTTP
> Service;CRITICAL;notify-by-email;Connection refused
> 
>  I  am using postfix as MTA. Do I need to change
> something in postfix configurations files in order to
> get it working with nagios? Is there something else to
> do? Any idea can help!
> Thanks in advance!!!!
> Kindy
> 
> 
>        
> 
>        
>                
> ___________________________________________________________________________
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo!
> Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> 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
> 
> 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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