summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb59a4c)
raw | patch | inline | side by side (parent: bb59a4c)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 14 Aug 2002 19:07:03 +0000 (19:07 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 14 Aug 2002 19:07:03 +0000 (19:07 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@79 f882894a-f735-0410-b71e-b25c423dba1c
command.cfg.in | patch | blob | history |
diff --git a/command.cfg.in b/command.cfg.in
index d8bfd2dedc50c079a6f40f7946f0204460c87a7f..f11eca59b49e7ef42bdb990bba839052f7600ae1 100644 (file)
--- a/command.cfg.in
+++ b/command.cfg.in
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
# command definitions.