973114 发表于 2019-1-11 09:00:05

详解设置CACTI监控设备

  详解设置CACTI监控设备
  Cacti是一套基于PHP,MySQL,SNMP及RRDTool开发的网络流量监测图形分析工具,主要功能是用snmp服务获取数据,然后用rrdtool储存和更新数据,当用户需要查看数据的时候用rrdtool生成图表呈现给用户。因此,snmp和rrdtool是cacti的关键。Snmp关系着数据的收集,rrdtool关系着数据存储和图表的生成。
http://img1.运维网.com/attachment/201104/140816668.jpg
  本章主要介绍如何使用Cacti监控设备
  1.配置CACTI 监控交换机
  2.配置CACTI 监控Windows / Linux 系统创建树
  3.配置CACTI 当设备故障发电邮通知管理员
  一、配置CACTI 监控交换机
  首页网页登陆CACTI,点击设备,添加个新设备-填写相关选项
http://img1.运维网.com/attachment/201104/141243609.jpg
http://img1.运维网.com/attachment/201104/142325735.jpg
  点为该设备创建图形-自动创建阈值-勾选监控所有端口流量-创建
http://img1.运维网.com/attachment/201104/142545487.jpg
  二、配置CACTI 监控Windows
  先在被控端的windows系统上安装SNMP服务
  勾选管理和检视工具
http://img1.运维网.com/attachment/201104/142754699.jpg
  确保以下设置,您也可以修改“团体名称'(我这用SKY)
http://img1.运维网.com/attachment/201104/142853691.jpg
  在CACTI WEB界面上添加设备注意:SNMP Community要跟你团体名称一样
http://img1.运维网.com/attachment/201104/143202947.jpg
http://img1.运维网.com/attachment/201104/143334255.jpg
  勾选你想监控Windows主机的内容-自动创建阈值
http://img1.运维网.com/attachment/201104/143419571.jpg
http://img1.运维网.com/attachment/201104/143504930.jpg http://img1.运维网.com/attachment/201104/143504967.jpg
  配置CACTI 监控 Linux
  先在被控端的Linux系统上安装SNMP服务
http://img1.运维网.com/attachment/201104/143624142.jpg
  启动SNMP服务-测试
http://img1.运维网.com/attachment/201104/143721968.jpg http://img1.运维网.com/attachment/201104/143721796.jpg
  在CACTI WEB界面上添加设备
http://img1.运维网.com/attachment/201104/143912687.jpg
http://img1.运维网.com/attachment/201104/143933871.jpg
  勾选你想监控Linux主机的内容
http://img1.运维网.com/attachment/201104/143956290.jpg
  创建树
http://img1.运维网.com/attachment/201104/144201846.jpg
http://img1.运维网.com/attachment/201104/144218464.jpg
http://img1.运维网.com/attachment/201104/144243647.jpg
  创建好树,将刚添加的设备加入树-ADD
http://img1.运维网.com/attachment/201104/144258514.jpg
http://img1.运维网.com/attachment/201104/144437980.jpg
http://img1.运维网.com/attachment/201104/144437639.jpg
http://img1.运维网.com/attachment/201104/144437280.jpg
  保存!
  测试查看监控图片
http://img1.运维网.com/attachment/201104/145026697.jpg http://img1.运维网.com/attachment/201104/145026578.jpg
http://img1.运维网.com/attachment/201104/145026911.jpg
http://img1.运维网.com/attachment/201104/145026351.jpg
  3.配置CACTI 当设备故障发电邮通知管理员
  控制台-设置-邮件/域名解析-填写发件人和收件人信息
http://img1.运维网.com/attachment/201104/145606996.jpg
  报警/阈值 也填写收件人和发件人信息
http://img1.运维网.com/attachment/201104/145925899.jpg
  测试-将windows主机关闭
http://img1.运维网.com/attachment/201104/150807683.jpg
http://img1.运维网.com/attachment/201104/150856198.jpg
  可以设置用139邮箱,因139邮箱可以设置收到新邮件,短信通知!

页: [1]
查看完整版本: 详解设置CACTI监控设备