python邮件告警脚本

python邮件告警脚本
[root@localhost alertscripts]# pwd /usr/local/zabbix/share/zabbix/alertscripts [root@localhost alertscripts]# ls sendmail.py sendmail.sh.bak [root@localhost alertscripts]#sendmail.py [root@localhost alertscripts]# ./sendmail.py ‘收件人’ ‘主题’ ‘内容’ ------------------------------------------------------------------------------------------- #!/usr/bin/env python #co...