Notifications not being sent

Frederick Arkins frederick.arkins at gmail.com
Thu Dec 7 21:15:53 CET 2006


Probably a newbie error here bur I can't figure out what I'm doing wrong.

I have a "dummy" machine set up upon which I'm creating alerts to test
notifications.  This is what appears in the log yet the email
does not go out -- does not show up in the mailllog file.  It just seems to
hit /dev/null.


[1165522038] SERVICE EVENT HANDLER:
Tech-Con-4;check-cpu-load-win;CRITICAL;SOFT;1;host-notify-by-email
[1165522054] SERVICE ALERT: Tech-Con-4;check-xp-memory;OK;SOFT;3;Memory
usage: total:2400.24 Mb - used: 1128.06 Mb (47%) - free: 1272.18 Mb (53%)
[1165522054] SERVICE EVENT HANDLER:
Tech-Con-4;check-xp-memory;OK;SOFT;3;host-notify-by-email

 Herre is my command definition:



define command {
                command_name                    host-notify-by-email
                command_line                    /bin/echo Service state:
$SERVICEOUTPUT$ | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$'
$CONTACTEMAIL$
}



I've tried different iterations to this to no avail.  I don't think it is
mail on the machine as it is delivering other mail.



OS is RHEL3.



Thanks,

Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061207/393cf5b1/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- 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