Zabbix告警脚本-短信

[root@iot-svndata02 bin]# cat zbsms.sh
#!/bin/sh
#curl http://221.179.180.137:8080/smsaServer/lkSend\?UID\=znjdwg\&PWD\=fc85c5fa34a90ee7f7d5af4d5f109f4a\&PHONE\=$1\&CONTENT\=$CON\&TYPE\=4\&MSGID\=1
export.UTF-
time=`date +"%Y-%m-%d"`
java -jar /etc/zabbix/bin/sms4j.jar $ "$3" >>/var/log/zabbix/zbx_sms-$time.log
#echo "$3" >/tmp/sms.txt
[root@iot-svndata02 bin]#
上一篇:java中打印输出数组


下一篇:android ANR 案例分析