helper-scripts/sms/freesms.zabbix_alert_script

10 lines
94 B
Plaintext
Raw Normal View History

2020-04-28 00:18:09 +02:00
#!/bin/bash
USER=$1
PASS=$2
body=$3
cat <<EOF | freesms -u ${USER} -p ${PASS} -
${body}
EOF