helper-scripts/sms/freesms.zabbix_alert_script
2020-04-28 00:18:09 +02:00

10 lines
94 B
Bash

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