diff options
Diffstat (limited to 'command.cfg.in')
-rw-r--r-- | command.cfg.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/command.cfg.in b/command.cfg.in index f11eca5..8cc0be7 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 | ||
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$ | 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 | 52 | ||
53 | ## Send notifications using SMSclient (www.smsclient.org) | ||
54 | command[notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$" | ||
55 | command[host-notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "Host $HOSTALIAS$ is $HOSTSTATE$; $OUTPUT$; $DATETIME$" | ||
53 | 56 | ||
54 | 57 | ||
55 | 58 | ||