No notifications sent out, but need direct recipients?

u q sup_ququ at yahoo.com.cn
Sat Nov 5 04:06:24 CET 2005


Nagios(v2.0b4) seems to work ok, but no notifications
were sent out. The message "You must specify direct
recipients with -s,-c, or -b" displayed when status
changed.
 
service_notification_commands,host_notification_commands
all specified notify-by-epager, it's as following:
# 'notify-by-epager' command definition
define command{
        command_name    notify-by-epager
        command_line    /usr/bin/printf "%b" "Service:
$SERVICEDESC$\nHost: $HOSTNAME$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\nInfo:
$SERVICEOUTPUT$\nDate: $LONGDATETIME$"  -b  |
/bin/mail -s "$NOTIFICATIONTYPE$:
$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$"
$CONTACTPAGER$
        }
 
 
where to specify direct recipients? 
 
Thanks in advance.
 
Regards
Case
 



	

	
		
___________________________________________________________ 
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 
http://cn.mail.yahoo.com



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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