Chinaunix首页 | 论坛 | 博客
  • 博客访问: 405691
  • 博文数量: 92
  • 博客积分: 3153
  • 博客等级: 中校
  • 技术积分: 780
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-03 16:26
文章存档

2011年(21)

2010年(71)

分类: LINUX

2010-10-03 09:10:21

给cacti加monitor和thold插件,其中monitor用来监控设备,当设备down时可以检测到,thold用于报警提醒,配置了mail/dns后可以给管理员发送邮件,安装和配置都很简单,网上都有,但是安装完成后,cacti的菜单里没有thold的链接,一个是创建模板的thold_templates.php文件和用于管理报警规则的listthold.php,于是手动添加:

找到cacti/include目录下的global_array.php文件,有一段是menu,这一段用来设置菜单,自己加上就可以了


"graphs.php" => array(
                        
"graphs.php" => "Graph Management",
                        
"cdef.php" => "CDEFs",
                        
"color.php" => "Colors",
                        
"gprint_presets.php" => "GPRINT Presets"
                        
),
                
"tree.php" => "Graph Trees",
                
"data_sources.php" => array(
                        
"data_sources.php" => "Data Sources",
                        
"rra.php" => "RRAs"
                        
),
                
"host.php" => 'Devices',
                "plugins/thold/listthold.php" => "Thresholds"
                ),

        
"Collection Methods" => array(
                
"data_queries.php" => "Data Queries",
                
"data_input.php" => "Data Input Methods"
                
),
        
"Templates" => array(
                
"graph_templates.php" => "Graph Templates",
                
"host_templates.php" => "Host Templates",
                
"data_templates.php" => "Data Templates",
                "plugins/thold/thold_templates.php" => "Thold Templates"



阅读(1511) | 评论(0) | 转发(0) |
0

上一篇:32位 ubuntu 使用4G内存

下一篇:配置net-snmp

给主人留下些什么吧!~~