summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aea21bb)
raw | patch | inline | side by side (parent: aea21bb)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Thu, 22 Aug 2002 14:43:04 +0000 (14:43 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Thu, 22 Aug 2002 14:43:04 +0000 (14:43 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@83 f882894a-f735-0410-b71e-b25c423dba1c
command.cfg.in | patch | blob | history |
diff --git a/command.cfg.in b/command.cfg.in
index f11eca59b49e7ef42bdb990bba839052f7600ae1..8cc0be7c212c54fbed890ddd5559ed1f337b8bab 100644 (file)
--- a/command.cfg.in
+++ b/command.cfg.in
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$"