Email notifications cont.

Nedim Bicic nedo72 at gmail.com
Mon Jan 15 06:04:16 CET 2007


I am using Nagios 2.4

I can not get email notifications when my system is timing out but when i
check the event log on nagios i see the log:
 "
[image: Service Warning][01-14-2007 23:47:16] SERVICE ALERT:
nedo;PING;WARNING;HARD;4;PING WARNING - Packet loss = 0%, RTA = 135.06 ms
[image: Service Warning][01-14-2007 23:46:16] SERVICE ALERT:
nedo;PING;WARNING;SOFT;3;PING WARNING - Packet loss = 0%, RTA = 173.10 ms
[image: Service Warning][01-14-2007 23:45:16] SERVICE ALERT:
nedo;PING;WARNING;SOFT;2;PING WARNING - Packet loss = 0%, RTA = 141.35 ms
[image: Service Critical][01-14-2007 23:44:56] SERVICE ALERT:
nedo;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds
[image: Host Up][01-14-2007 23:44:56] HOST ALERT: nedo;UP;SOFT;4;PING
WARNING - Packet loss = 85%, RTA = 17.35 ms
[image: Host Down][01-14-2007 23:44:50] HOST ALERT:
nedo;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds
[image: Host Down][01-14-2007 23:44:40] HOST ALERT:
nedo;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds
"

i think my contacts are all set right since i can get notifications when a
host is unreachable

here is my misccomands.cfg file

# 'host-notify-by-email' command definition
# 'notify-by-email' command definition
define command{
 command_name host-notify-by-email
 command_line /bin/echo -e "***** Nagios  *****\n\nNotification Type:
$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:
$HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" |
/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$
       }

thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070115/bfb29fdf/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