前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >monit配置文件 原

monit配置文件 原

作者头像
拓荒者
发布2019-04-23 17:36:33
4510
发布2019-04-23 17:36:33
举报
文章被收录于专栏:运维经验分享运维经验分享

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/*

(adsbygoogle = window.adsbygoogle || []).push({});

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档