Ajout du script d'alerte pour Zabbix
This commit is contained in:
parent
27e5f69787
commit
ea7b3c2203
9
sms/freesms.zabbix_alert_script
Normal file
9
sms/freesms.zabbix_alert_script
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=$1
|
||||||
|
PASS=$2
|
||||||
|
body=$3
|
||||||
|
|
||||||
|
cat <<EOF | freesms -u ${USER} -p ${PASS} -
|
||||||
|
${body}
|
||||||
|
EOF
|
Loading…
Reference in New Issue
Block a user