Error in notifications..
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Wed Nov 13 16:29:45 CET 2002
If the box in question is running Solaris, that should be mailx, not mail.
jc
> -----Original Message-----
> From: Scott [mailto:lists.scott at themagicbox.net]
> Sent: Tuesday, November 12, 2002 8:40 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Error in notifications..
>
>
> Scott Walker said:
>
> snip -*
>
> > RECOVERY\n\nService: Check IMAP\nHost: mail\nAddress:
> > xx.xx.xx.xx\nState: OK\n\nDate/Time: Tue Nov 12 11:47:16 EST
> > 2002\n\nAdditional Info:\n\nIMAP ok - 0 second response
> time" | -s "**
> > RECOVERY alert - mail/Check IMAP is OK **"
> swalker at floridabroadband.net"
> > resulted in a return code of 127. Make sure the script or
> binary you
> > are trying to execute actually exists...
> >
> > Any ideas? I can't figure out what it's trying to call
> that's gacking
> > it. All I can figure is after the additional Info group the | -s it
> > seems to be piping it to -s (which of course isn't a binary
> program).
>
> snip -*
>
> yes you are correct.. This should probably be something like
> "mail -s "**
> yada yada yada"
>
> being that the -s represents the subject line of the email being sent.
>
> Scott
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> To learn the basics of securing your web site with SSL,
> click here to get a FREE TRIAL of a Thawte Server Certificate:
> http://www.gothawte.com/rd522.html
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
More information about the Users
mailing list