Nagios Notifications

Ron Huff rwhuff at ucdavis.edu
Fri Jan 30 18:27:42 CET 2004


Thanks to everyone who responded to this dodo mail; I realized
soon enough that the printf was doing exactly what I wanted...
sendmail just had me a little 'whelmed...now I can't seem to get
off localhost...I can probably work this out.
- Ron Huff

On Thursday 29 January 2004 11:54 pm, Joe Rhett wrote:
> On Thu, Jan 29, 2004 at 10:24:09AM -0800, Ron Huff wrote:
> > Would someone send me a simple, 'command_line' for the checkcommands.cfg
> > file that uses sendmail...the sample configs just invoke 'printf' ...I
> > just need a little boost over this hurdle, rather than spending days
> > digging thru sendmail docs...
>
> The printf commands are piped to /usr/bin/mail
>
> Let me guess -- are you using Solaris?  If so, pipe to /usr/bin/mailx
> instead.  The printf()s will work fine.  Just fix the part that you are
> piping it to.
>
> If you're still confused, send me a command line that you use to send mail
> (subject and sender and all) and I'll give you back a line for the
> misccommands.cfg.
>
> FYI: /usr/bin|lib/sendmail isn't what you want to invoke to send mail.  You
> want to use a front-end program like "mail" or "mailx" or something so that
> you can customize headers and all that noise.  They invoke sendmail for
> you.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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