mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-13 10:40:01 -04:00
smsclient config
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@83 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
aea21bb585
commit
1080fbc701
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ command[notify-by-qpage]=/usr/bin/printf "Service: %s\nHost: %s\nAddress: %s\nSt
|
|||
|
||||
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$"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue