来自 技术 2019-04-17 的文章

monit配置文件

八年Java开发的感悟:什么才是程序员的立身之本>>>   

set daemon 30

set log /data/monit/monit.log

set idfile /var/monit.id set eventqueue basedir /var/monit slots 100

set mailserver smtp.163.com port 25 username sunsmile2018@163.com password "linjin200" using TLSV1 with timeout 30 seconds

set mail-format { from: sunsmile2018@163.com subject: monit alert message: # subject: monit alert -- $EVENT $SERVICE # message: $EVENT Service $SERVICE # Date: $DATE # Action: $ACTION # Host: $HOST # Description: $DESCRIPTION # Your faithful employee, # Monit }

set alert linjin200@163.com

set httpd port 2812 and use address 192.168.1.225 # only accept connection from localhost # allow localhost allow 0.0.0.0/0.0.0.0 # allow localhost to connect to the server and allow admin:monit

include /etc/monit.d/*

标签:   阿里云1元服务器      Monit      物联网 报名   
上一篇:Centos7 防火墙和Selinux 一些简单操作命令
下一篇:没有了