Shell脚本Ping监控主机是否存活并发邮件报警(三种方法)
#前提已经可以通过mail或mutt客户端发邮件 1.先安装sendmail来发邮件 # yum -y install sendmail # /etc/init.d/sendmail start # chkconfig sendmail on ...
Shell脚本Ping监控主机是否存活并发邮件报警(三种方法)
#前提已经可以通过mail或mutt客户端发邮件 1.先安装sendmail来发邮件 1 2 3 # yum -y install sendmail # /etc/init.d/sendmail start # chkconfig sendmail...
shell mutt msmtp 发邮件
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 7....
可以发邮件,播放音乐,发短信的shell脚本V1.2
今天又把原来写的脚本进行了修正处理:早上9点之前,晚上10点之后,监控程序会发短信给相关人员,同时会对ps_autotest邮箱发邮件。其他时间是播放音乐和发邮件。 2.在tomcat被点住之后,系统会播放音乐和发邮件。 脚本内容如下: 脚本1: #!/bin/bash #website test scripts while true;do &nbs...
可以发邮件,播放音乐,发短信的shell脚本
因公司要求,在网站挂了之后,需要播放声音,让大家能立刻知道,假如不在公司可以发邮件给大家,假如相关人员不能上网,可以发短信给大家,达到及时通知的目的。#!/bin/bash#website test scriptswhile true;do for cycle_temp in `cat /opt/autotest/...
本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。