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

Subhendu Ghosh sghosh at users.sourceforge.net
Wed Aug 14 12:08:01 CEST 2002


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

Modified Files:
	command.cfg.in 
Log Message:
qpage definitions

Index: command.cfg.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/command.cfg.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** command.cfg.in	29 May 2002 00:57:36 -0000	1.4
--- command.cfg.in	14 Aug 2002 19:07:03 -0000	1.5
***************
*** 44,47 ****
--- 44,58 ----
  command[host-notify-by-epager]=/bin/echo '$HOSTALIAS$ is $HOSTSTATE$!' | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTPAGER$
  
+ 
+ ## Send notifications to a pager using modem with Qpage (www.qpage.com)
+ 
+ command[notify-by-qpage]=/usr/bin/printf "Service: %s\nHost: %s\nAddress: %s\nState: %s\nInfo: %s\nDate: %s" '$SERVICEDESC$' '$HOSTNAME$' '$HOSTADDRESS$' '$SERVICESTATE$' '$OUTPUT$' '$DATETIME' | /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$
+ 
+ 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$
+ 
+ 
+ 
+ 
+ 
  # These are some example service check commands.  See the HTML
  # documentation on the plugins for examples of how to configure





More information about the Commits mailing list