summaryrefslogtreecommitdiffstats
path: root/command.cfg.in
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2002-08-22 14:43:04 +0000
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2002-08-22 14:43:04 +0000
commit1080fbc701efd9d89d3b507feda398a89e4eb6a6 (patch)
tree11834eb975fd412b1d0fbe589b32e5a75fc03949 /command.cfg.in
parentaea21bb5856ead76097a5e2032da19b8c08d1f20 (diff)
downloadmonitoring-plugins-1080fbc701efd9d89d3b507feda398a89e4eb6a6.tar.gz
smsclient config
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@83 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'command.cfg.in')
-rw-r--r--command.cfg.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.cfg.in b/command.cfg.in
index f11eca59..8cc0be7c 100644
--- a/command.cfg.in
+++ b/command.cfg.in
@@ -50,6 +50,9 @@ command[notify-by-qpage]=/usr/bin/printf "Service: %s\nHost: %s\nAddress: %s\nSt
50 50
51command[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$ 51command[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$
52 52
53## Send notifications using SMSclient (www.smsclient.org)
54command[notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$"
55command[host-notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "Host $HOSTALIAS$ is $HOSTSTATE$; $OUTPUT$; $DATETIME$"
53 56
54 57
55 58