FW: +AFs-Nagios-users+AF0- Email notification

+ACI-Valdinger, Stephen (DOV, MSX)+ACI- stephen.valdinger at doverchem.com
Mon Apr 30 21:33:19 CEST 2007



 
 
 
 
 
 
Stephen Valdinger
MIS Helpdesk Coordinator
Dover Chemical Corporation
3676 Davis Rd NW
Dover, OH 44622
330-365-3622
stephen.valdinger at doverchem.com
 
 
 
Your day probably won't get as bad as this guys......

-----Original Message-----
From: Valdinger, Stephen (DOV, MSX) 
Sent: Monday, April 30, 2007 3:23 PM
To: Valdinger, Stephen (DOV, MSX)
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Email notification



This is what I have in my config file for notify-service-by email as
well as host

I have postfix up and running, yet Nagios still won't alert, what is
wrong with this?


Command_line	mail "%b" "***** Nagios *****\n\nNotification Type:
$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:
$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | -s "**
$NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$
**" stephen.valdinger at doverchem.com
 
 
 
 
 
 
Stephen Valdinger
MIS Helpdesk Coordinator
Dover Chemical Corporation
3676 Davis Rd NW
Dover, OH 44622
330-365-3622
stephen.valdinger at doverchem.com
 
 
 
Your day probably won't get as bad as this guys......

-----Original Message-----
From: Valdinger, Stephen (DOV, MSX) 
Sent: Monday, April 30, 2007 3:01 PM
To: Morris, Patrick
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Email notification

I'm noticing this the more I work on it. I can get it to send emails out
just testing, but my nagios configuration won't send them out. I've
defined /usr/sbin/postfix inside commands.cfg instead of the default
...../printf thing that was in there. Should I have not done that?




 
 
 
 
 
 
Stephen Valdinger
MIS Helpdesk Coordinator
Dover Chemical Corporation
3676 Davis Rd NW
Dover, OH 44622
330-365-3622
stephen.valdinger at doverchem.com
 
 
 
Your day probably won't get as bad as this guys......
-----Original Message-----
From: Morris, Patrick [mailto:patrick.morris at hp.com] 
Sent: Monday, April 30, 2007 2:58 PM
To: Valdinger, Stephen (DOV, MSX)
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Email notification

> From: Valdinger, Stephen (DOV, MSX) 
> [mailto:stephen.valdinger at doverchem.com] 
> Sent: Monday, April 30, 2007 10:40 AM
> To: Morris, Patrick
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Email notification
> 
> I want to send notifications with it. I've got it configured, 
> and I sent a test email that worked to the email address that 
> will be receiving the nagios alerts, now I just need to know 
> how to make nagios work with it. 
> 
> On my Ubuntu machine it is installed by default to /etc/postfix.

If that's the case, then the default notification commands from the
example configs should work fine. Assuming Postfix is correctly
configured to send mail from local accounts, there's no real difference
between using it as your MTA versus with any other.


------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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




-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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