[Nagiosplug-checkins] CVS: nagiosplug command.cfg.in,1.5,1.6

Subhendu Ghosh sghosh at users.sourceforge.net
Thu Aug 22 07:44:01 CEST 2002


Update of /cvsroot/nagiosplug/nagiosplug
In directory usw-pr-cvs1:/tmp/cvs-serv16115

Modified Files:
	command.cfg.in 
Log Message:
smsclient config

Index: command.cfg.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/command.cfg.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** command.cfg.in	14 Aug 2002 19:07:03 -0000	1.5
--- command.cfg.in	22 Aug 2002 14:43:04 -0000	1.6
***************
*** 51,54 ****
--- 51,57 ----
  command[host-notify-by-qpage]=/usr/bin/printf "Host: %s is %s\nInfo: %s\nDate: %s" '$HOSTALIAS$' '$HOSTSTATES$' '$OUTPUT$' '$DATETIME' | /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$
  
+ ## Send notifications using SMSclient (www.smsclient.org)
+ command[notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$"
+ command[host-notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "Host $HOSTALIAS$ is $HOSTSTATE$; $OUTPUT$; $DATETIME$"
  
  





More information about the Commits mailing list