Ajout du script d'alerte pour Zabbix

This commit is contained in:
root 2020-04-28 00:18:09 +02:00
parent 27e5f69787
commit ea7b3c2203
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/bash
USER=$1
PASS=$2
body=$3
cat <<EOF | freesms -u ${USER} -p ${PASS} -
${body}
EOF