文章 2024-04-23 来自:开发者社区

Shell脚本监控WEB服务是否正常

Step1.安装sendmail来发邮件 # yum -y install sendmail # /etc/init.d/sendmail start # chkconfig sendmail on Step2.安装mutt邮件客户端,并设置相关信息 # yum -y install mutt # vim /etc/Muttrc &nbs...

文章 2022-02-16 来自:开发者社区

shell监控web服务的多种方案

1.端口 本地:ss.netstat,lsof 远程:telnet,nmap.nc 2.本地进程数 3.header(http,curl),模拟用户的方式 4.URL(wget,curl).模拟用户的方式 5.php,java写监控的程序,模拟用户的方式(让开发提供) 范例判断条件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ...

文章 2022-02-16 来自:开发者社区

Shell脚本监控WEB服务是否正常

Step1.安装sendmail来发邮件 # yum -y install sendmail # /etc/init.d/sendmail start # chkconfig sendmail on Step2.安装mutt邮件客户端,并设置相关信息 # yum -y install mutt # vim /etc/Muttrc   set charset="utf-8" &n...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐