Cacti 邮件 报警
发布日期:2021-11-09 11:16:27 浏览次数:55 分类:技术文章

本文共 1003 字,大约阅读时间需要 3 分钟。

一、使用cacti发一封测试邮件
1.使用第三方SMTP 访问
到达  设置——Mail 选项
设置如下:
1处填写收件箱地址
2.处填写发件箱地址
3.处填写smtp服务器地址
4处填写发件箱用户
5.处填写用户密码
也可以设置一下 传输加密  (SSL方式  端口为465)  
Cacti 邮件 报警 - 朝鲜程序员 - 朝鲜程序员的博客
 
Cacti 邮件 报警 - 朝鲜程序员 - 朝鲜程序员的博客
 
点击右上角 Sent a test mail 
Cacti 邮件 报警 - 朝鲜程序员 - 朝鲜程序员的博客
 
由于腾讯smtp策略原因,邮件一直接收不到
2.使用php  内置mail 发送邮件
  我是用此种方式
3.使用sendmail/postfix 来发送邮件
二、安装 thold和 monitor插件
具体方法看另外文章
http://centos2014.blog.163.com/blog/static/240542044201723011291894/
三、添加配置thold
添加插件具体过程可以参考
http://centos2014.blog.163.com/blog/static/240542044201723011291894/
配置thold
控制台——系统设置——设置——Thresholds
Cacti 邮件 报警 - 朝鲜程序员 - 朝鲜程序员的博客
 
这里可以设置一下 邮件,其它使用默认配置就可以
From Email Address 
This is the Email address that the Threshold will appear from.
From Name 
This is the actual name that the Threshold will appear from.
添加监控
Cacti 邮件 报警 - 朝鲜程序员 - 朝鲜程序员的博客
这要设置以下几项:
Threshold Type
 

The type of Threshold that will be monitored.
监控类型——   基于高低值      基于基线   基于时间
Re-Alert Cycle 
Repeat alert after this amount of time has passed since the last alert.
重复报警时间   
Data Type 
Special formatting for the given data.
数据类型   
Alert Emails 
You may specify here extra Emails to receive alerts for this data source (comma separated)
接受报警邮件的地址
 

转载地址:https://blog.csdn.net/zonghua521/article/details/78198167 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Cacti 安装插件
下一篇:hadoop local、伪分布 模式

发表评论

最新留言

做的很好,不错不错
[***.243.131.199]2024年03月25日 19时11分41秒