sending email out

Jay Chandler chandler at chapman.edu
Tue Jan 16 08:30:34 CET 2007


Formoso, Travis wrote:
> Ok here are my config files:
>
> [...snip]
>   

All right... beat this into the command line, all on one line:

/usr/bin/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type: TEST \nHost: PRETENDIEXIST \nState: DENIAL \nAddress: 192.168.1.1\nInfo: Wuznme boss\n\nDate/Time: now\n" | /bin/mail -s "Host On Prozac alert for PRETENDIEXIST!" travis.formoso at blueslate.net

And see what happens.  Here, it shows the path to /mail isn't correct, 
so I have to adjust it to get it to work.  You'll probably have to play 
with the syntax a bit, but when the command line works, so'll the Nagios 
alerts.

-- 
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler at chapman.edu
Today's Excuse: Atilla the Hub 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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