No Email Notifications

Larry Low llow at telesphere.com
Tue Feb 5 23:45:18 CET 2008


/usr/bin/printf, /usr/bin/mail should be after the pipe

----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ  85251
Office: 480.385.7045
E-mail: llow at telesphere.com'

Telesphere Networks, Inc


> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Gregory Wong
> Sent: Tuesday, February 05, 2008 3:34 PM
> To: Patrick Morris
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] No Email Notifications
> 
> In /usr/bin there is mail and printf. Should I be using /usr/bin/mail
> or
> /usr/bin/printf before the notification string?
> 
> 
> On 2/5/08 5:24 PM, "Patrick Morris" <patrick.morris at hp.com> wrote:
> 
> > On Tue, 05 Feb 2008, Gregory Wong wrote:
> >
> >> Hi Everyone,
> >>
> >> I am having some problems getting email notifications on a new
> Nagios server
> >> I just built. I have only setup PING and SMTP checks to see if
> everything is
> >> working properly. The Event Log on the web interface shows the
> following
> >> message:
> >>
> >> [02-05-2008 17:14:02] Warning: Attempting to execute the command
> >> "/usr/bin/mail/printf "%b" "***** Nagios 2.6 *****\n\nNotification
> Type:
> >> PROBLEM\nHost: SMTP\nState: DOWN\nAddress: <IP ADDRESS>\nInfo: PING
> CRITICAL
> >> - Packet loss = 100%\n\nDate/Time: Tue Feb 5 17:14:02 EST 2008\n" |
> -s "Host
> >> DOWN alert for SMTP!" <EMAIL ADDRESS>" resulted in a return code of
> 127. Make
> >> sure the script or binary you are trying to execute actually
> exists...
> >
> > Have you done what the error message suggests, and looked to see if
> > /usr/bin/mail/printf actually exists?
> >
> > Betchya it doesn't.
> 
> 
> -----------------------------------------------------------------------
> --
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> 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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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