Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1236045
  • 博文数量: 135
  • 博客积分: 10576
  • 博客等级: 上将
  • 技术积分: 1670
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-11 20:49
个人简介

不疯魔,不成活! --疯魔老杨(Crazy.LaoYang) http://www.inotes.cn/

文章分类

全部博文(135)

文章存档

2014年(4)

2012年(13)

2011年(5)

2010年(30)

2009年(56)

2008年(27)

分类: LINUX

2009-11-17 23:37:34

个人笔记:Cacti 0.8.7e 模板成功安装之:advanced ping
源自:杨志刚博客 (http://yangzhigang.cublog.cn)
 
//查看Script:ss_fping.php
(在Cacti 0.8.7e中,已经有ss_fping.php,所以不用上传了,否则将ss_fping.php上传到此目录)
[root@centos53 /]# ll /var/www/cacti/scripts/ss_fping.php
-rw-r--r-- 1 root root 2580 Jun 29 00:07 /var/www/cacti/scripts/ss_fping.php
 
//Import Templates
Import Templates:cacti_graph_template_ping_advanced_ping_v1_3.xml,结果如下:
Import Results

Cacti has imported the following items:

CDEF
[success] Advanced Ping - Loss Unknown [new]
[success] Advanced Ping - Loss 51 - 95 % top [new]
[success] Advanced Ping - Loss 6 - 10 % top [new]
[success] Advanced Ping - Loss 11 - 15 % top [new]
[success] Advanced Ping - Loss 16 - 50 % top [new]
[success] Advanced Ping - Loss 96 - 100 % top [new]
[success] Advanced Ping - Position 12 [new]
[success] Advanced Ping - Position 345 [new]
[success] Advanced Ping - Loss 11 - 15 % bottom [new]
[success] Advanced Ping - Loss 6 - 10 % bottom [new]
[success] Advanced Ping - Loss 16 - 50 % bottom [new]
[success] Advanced Ping - Loss 51 - 95 % bottom [new]
[success] Advanced Ping - Loss 96 - 100 % bottom [new]
[success] Advanced Ping - Loss 1 - 2 % bottom [new]
[success] Advanced Ping - Loss 1 - 2 % top [new]
[success] Advanced Ping - Loss 3 - 5 % bottom [new]
[success] Advanced Ping - Loss 3 - 5 % top [new]

GPRINT Preset
[success] Normal [update]
[success] Ping [new]
[success] Percentage as Decimal [new]

Data Input Method
[success] PING - Advanced Ping v1.3 [new]

Data Template
[success] PING - Advanced Ping v1.3 [new]

Graph Template
[success] PING - Advanced Ping v1.3 [new]

 
 
//应用测试
选一个“device”,Add Graph Template:PING-Advance Ping v1.3,之后,“Create Graphs for this Host”,勾选“Create:PING-Advanced Ping v1.3”,Create。。
等一会,或是用"realtime"可以见到图了。
 
//另:
有的文章的说,要编辑ss_fping.php,但是我没做,也是没有问题的,如遇到问题,可参考一下以下方法:
vi /var/www/cacti/scripts/ss_fping.php,加入:
include_once(dirname(__FILE__) . "/../include/global_settings.php");
然后将xml模板导入到Graph Templates即可使用

阅读(5765) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~