个人笔记:Cacti 0.8.7e 模板成功安装之:advanced ping
//查看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,结果如下:
|
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) |