diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-08-14 19:07:03 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-08-14 19:07:03 +0000 |
commit | 58d26e7324a916e2ee747ddaab1270f8b3022fb7 (patch) | |
tree | de65ba584fd5792650aec1d3c8d8a9530731a7a9 | |
parent | bb59a4ce8769f9b8533674dce341af71a4864dc0 (diff) | |
download | monitoring-plugins-58d26e7324a916e2ee747ddaab1270f8b3022fb7.tar.gz |
qpage definitions
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@79 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | command.cfg.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/command.cfg.in b/command.cfg.in index d8bfd2de..f11eca59 100644 --- a/command.cfg.in +++ b/command.cfg.in | |||
@@ -43,6 +43,17 @@ command[host-notify-by-email]=/bin/echo -e "***** Nagios *****\n\nHost "$HOSTALI | |||
43 | 43 | ||
44 | command[host-notify-by-epager]=/bin/echo '$HOSTALIAS$ is $HOSTSTATE$!' | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTPAGER$ | 44 | command[host-notify-by-epager]=/bin/echo '$HOSTALIAS$ is $HOSTSTATE$!' | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTPAGER$ |
45 | 45 | ||
46 | |||
47 | ## Send notifications to a pager using modem with Qpage (www.qpage.com) | ||
48 | |||
49 | 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$ | ||
50 | |||
51 | 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$ | ||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
46 | # These are some example service check commands. See the HTML | 57 | # These are some example service check commands. See the HTML |
47 | # documentation on the plugins for examples of how to configure | 58 | # documentation on the plugins for examples of how to configure |
48 | # command definitions. | 59 | # command definitions. |