cacti及spine和weathermap插件的配置使用

 

一、下载并上传安装包

1.    下载cacti安装包

Cacti官网http://www.cacti.net/ 点击“download page”进入下载页面

160653_Tgzv_2775447.png

再点击“Linux/Unix in tar.gz format”即可下载最新的cacti安装包cacti-0.8.8h.tar.gz

160716_Mcob_2775447.png

2.    下载spine安装包

http://www.cacti.net/downloads/spine/ 进入spine安装页面,下载和cacti对应版本的安装包cacti-spine-0.8.8h.tar.gz,如下图:

160800_XBkZ_2775447.png

3.    下载weathermap安装包

http://network-weathermap.com/#download 点击“0.98”进入下载界面

160826_Uffj_2775447.png

再点击“php-weathermap-0.98.zip”即可下载安装包

160913_tiAf_2775447.png

4.    上传安装包

通过上传工具上传安装包至cacti服务器,如下图:

160948_7DYv_2775447.png

二、配置yum

1.登录服务器查看系统版本

[root@u1acatap01 ~]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 6.4 (Santiago)

[root@u1acatap01 ~]#

2.修改/etc/yum.repos.d/rhel-source.repo文件

修改baseurl的值,如下面红色部分:

[root@u1acatap01 ~]# cat /etc/yum.repos.d/rhel-source.repo

[DPCA-redhat64]

name=Red Hat Enterprise Linux6.4

baseurl=file:///cdrom

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

 

[root@u1acatap01 ~]# vi /etc/yum.repos.d/rhel-source.repo

[root@u1acatap01 ~]# cat /etc/yum.repos.d/rhel-source.repo

[DPCA-redhat64]

name=Red Hat Enterprise Linux6.4

baseurl=http://x.x.x.x/pub/rhel64

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

 

[root@u1acatap01 ~]#

三、lnmp环境安装

1.安装服务

安装mysql,snmp,http,rrdtool等及其他服务

yum install -y mysql http* zlib freetype libjpeg fontconfig gd php php-mysql php-gd rrdtool net-snmp net-snmp-utils mysql-server mysql-devel php-devel php-snmp php-ldap php-xml php-mbstring  net-snmp-devel

2.设置服务自启动

[root@u1acatap01 ~]# chkconfig httpd on

[root@u1acatap01 ~]# chkconfig mysqld on

[root@u1acatap01 ~]# chkconfig snmpd on

[root@u1acatap01 ~]#

3.启动服务

3.1启动mysql

[root@u1acatap01 ~]# /etc/init.d/mysqld start

Initializing MySQL database:  Installing MySQL system tables...

OK

Filling help tables...

OK

 

To start mysqld at boot time you have to copy

support-files/mysql.server to the right place for your system

 

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

To do so, start the server, then issue the following commands:

 

/usr/bin/mysqladmin -u root password 'new-password'

/usr/bin/mysqladmin -u root -h u1acatap01 password 'new-password'

 

Alternatively you can run:

/usr/bin/mysql_secure_installation

 

which will also give you the option of removing the test

databases and anonymous user created by default.  This is

strongly recommended for production servers.

 

See the manual for more instructions.

 

You can start the MySQL daemon with:

cd /usr ; /usr/bin/mysqld_safe &

 

You can test the MySQL daemon with mysql-test-run.pl

cd /usr/mysql-test ; perl mysql-test-run.pl

 

Please report any problems with the /usr/bin/mysqlbug script!

 

                                                           [  OK  ]

Starting mysqld:                                           [  OK  ]

3.2启动snmp

[root@u1acatap01 ~]# /etc/init.d/snmpd start

Starting snmpd:                                            [  OK  ]

[root@u1acatap01 ~]#

3.3启动http

[root@u1acatap01 ~]# /etc/init.d/httpd start

Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using x.x.x.x for ServerName

                                                           [  OK  ]

[root@u1acatap01 html]# vi /etc/httpd/conf/httpd.conf     #添加红色部分信息

# If your host doesn't have a registered DNS name, enter its IP address here.

# You will have to access it by its address anyway, and this will make

# redirections work in a sensible way.

#

#ServerName www.example.com:80

ServerName localhost:80

 

[root@u1acatap01 html]# service httpd restart

Stopping httpd:                                            [  OK  ]

Starting httpd:                                            [  OK  ]

[root@u1acatap01 html]#

4.测试php服务

4.1编辑index.ph文件

登录cacti服务器在/var/www/html下编辑index.php文件(不存在则创建文件并编辑),添加红色部分信息

[root@u1acatap01 ~]# cat /var/www/html/index.php

cat: /var/www/html/index.php: No such file or directory

[root@u1acatap01 ~]# cd /var/www/html

[root@u1acatap01 html]# ls -lrt

total 0

[root@u1acatap01 html]# vi index.php

[root@u1acatap01 html]# cat /var/www/html/index.php

<?php

phpinfo();

?>

[root@u1acatap01 html]#

 

4.2check php页面

http://x.x.x.x/index.php 显示如下信息,表示php服务正常

161414_gG9F_2775447.png

5.关闭防火墙

[root@u1acatap01 cacti]# iptables -F

6.关闭SELinux

[root@u1acatap01 cacti]# setenforce 0

setenforce: SELinux is disabled

[root@u1acatap01 cacti]#

四、cacti安装及配置

4.1 cacti安装

4.1.1解压cacti-0.8.8h.tar.gz

[root@u1acatap01 cacti]# pwd

/cacti

[root@u1acatap01 cacti]# ls -lrt

total 2544

drwx------ 2 root root   16384 Apr 27 14:02 lost+found

-rw-r--r-- 1 root root 2585226 May 30 12:07 cacti-0.8.8h.tar.gz

[root@u1acatap01 cacti]# tar -zxvf cacti-0.8.8h.tar.gz

cacti-0.8.8h/

cacti-0.8.8h/data_templates.php

cacti-0.8.8h/graphs_items.php

cacti-0.8.8h/rra.php

cacti-0.8.8h/graphs.php

cacti-0.8.8h/cli/

 

4.1.2移动并重命名cacti-0.8.8h

[root@u1acatap01 cacti]# mv cacti-0.8.8h /var/www/html/

[root@u1acatap01 cacti]# cd /var/www/html/

[root@u1acatap01 html]# mv cacti-0.8.8h/ cacti

[root@u1acatap01 html]#

4.2cacti后台配置

4.2.1编辑config.php文件

[root@u1acatap01 html]# vi ./cacti/include/config.php

[root@u1acatap01 html]# pwd

/var/www/html

[root@u1acatap01 html]# vi ./cacti/include/config.php

 

<?php

/*

 +-------------------------------------------------------------------------+

 | Copyright (C) 2004-2016 The Cacti Group                                 |

 |                                                                         |

 | This program is free software; you can redistribute it and/or           |

 | modify it under the terms of the GNU General Public License             |

 | as published by the Free Software Foundation; either version 2          |

 | of the License, or (at your option) any later version.                  |

 |                                                                         |

 | This program is distributed in the hope that it will be useful,         |

 | but WITHOUT ANY WARRANTY; without even the implied warranty of          |

 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           |

 | GNU General Public License for more details.                            |

 +-------------------------------------------------------------------------+

 | Cacti: The Complete RRDTool-based Graphing Solution                     |

 +-------------------------------------------------------------------------+

 | This code is designed, written, and maintained by the Cacti Group. See  |

 | about.php and/or the AUTHORS file for specific developer information.   |

 +-------------------------------------------------------------------------+

 | http://www.cacti.net/                                                   |

 +-------------------------------------------------------------------------+

*/

 

/* make sure these values refect your actual database/host/user/password */

$database_type = "mysql";

$database_default = "cacti";

$database_hostname = "localhost";

$database_username = "cacti";

$database_password = "cacti";

$database_port = "3306";

$database_ssl = false;

 

 

 

4.2.2创建cacti用户

[root@u1acatap01 html]# useradd cacti

[root@u1acatap01 html]# ls -lrt /home/cacti/

total 0

[root@u1acatap01 html]#

 

4.2.2修改权限

[root@u1acatap01 cacti]# chown -R cacti rra/ log/

[root@u1acatap01 cacti]# ls -lrtd rra/ log/

drwxrwxr-x 2 cacti 1000 4096 May  9 04:03 rra/

drwxrwxr-x 2 cacti 1000 4096 May  9 04:03 log/

 

4.2.3增加crontab

[root@u1acatap01 cacti]# crontab -e

no crontab for root - using an empty one

crontab: installing new crontab

[root@u1acatap01 cacti]# crontab -l

#cacti

*/5 * * * * /usr/bin/php  /var/www/html/cacti/poller.php > /dev/null 2>&1

[root@u1acatap01 cacti]#

 

4.2.4创建数据库

[root@u1acatap01 cacti]# mysql

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 2

Server version: 5.1.66 Source distribution

 

Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.

 

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

 

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 

mysql> create database cacti;

Query OK, 1 row affected (0.00 sec)

 

mysql> show databases;

+--------------------+

| Database           |

+--------------------+

| information_schema |

| cacti              |

| mysql              |

| test               |

+--------------------+

4 rows in set (0.00 sec)

 

 

[root@u1acatap01 cacti]# mysqladmin --user=root password "root"

[root@u1acatap01 cacti]# mysqladmin --user=root --password reload

Enter password:

 

[root@u1acatap01 cacti]# mysql -u root -p cacti < /var/www/html/cacti/cacti.sql

Enter password:

[root@u1acatap01 cacti]#

 

[root@u1acatap01 cacti]# mysql -u root -p

Enter password:

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 32

Server version: 5.1.66 Source distribution

 

Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.

 

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

 

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 

mysql> grant all on cacti.* to cacti@localhost identified by 'cacti';

Query OK, 0 rows affected (0.00 sec)

 

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

 

mysql> exit

Bye

4.3 cacti界面配置

4.3.1 访问http://x.x.x.x/cacti

161703_NNo5_2775447.png

点击“next

161830_X3J2_2775447.png

选择“New Install”点击“next

161853_CPWr_2775447.png

点击“Finish

161939_ICGl_2775447.png

admin用户登录,第一次会强制修改密码(任意密码值),此处密码设置为admin123,最后进入的cacti界面如下:

162026_c1uN_2775447.png

五、weathermap安装及配置

5.1 weathermap安装

5.1.1 解压weathermap安装包

[root@u1acatap01 cacti]# pwd

/var/www/html/cacti

[root@u1acatap01 cacti]# cd /cacti/

[root@u1acatap01 cacti]# ls -lrt

total 5552

drwx------ 2 root root   16384 Apr 27 14:02 lost+found

-rw-r--r-- 1 root root 2585226 May 30 12:07 cacti-0.8.8h.tar.gz

-rw-r--r-- 1 root root 3079197 May 30 13:32 php-weathermap-0.98.zip

[root@u1acatap01 cacti]# unzip php-weathermap-0.98.zip

Archive:  php-weathermap-0.98.zip

  inflating: weathermap/CHANGES     

  inflating: weathermap/COPYING  

 

 

5.1.2 移动weathermap

[root@u1acatap01 cacti]# ls -lrt

total 5556

drwx------  2 root root   16384 Apr 27 14:02 lost+found

-rw-r--r--  1 root root 2585226 May 30 12:07 cacti-0.8.8h.tar.gz

-rw-r--r--  1 root root 3079197 May 30 13:32 php-weathermap-0.98.zip

drwxr-xr-x 11 root root    4096 May 30 13:33 weathermap

[root@u1acatap01 cacti]# mv weathermap/ /var/www/html/cacti/plugins/

 

5.1.3 修改属主和属组

[root@u1acatap01 weathermap]# pwd

/var/www/html/cacti/plugins/weathermap

[root@u1acatap01 weathermap]# chown -R apache configs/

[root@u1acatap01 weathermap]# chown -R cacti output/

[root@u1acatap01 weathermap]#

5.1.4 enable weathermap

登录cacti界面,Console ->Plugin Management,再点击Actions即可

162151_NLnJ_2775447.png

如下图,标识Weathermap安装成功(有weathermap页签,状态是active)

162246_wXiD_2775447.png

5.2 weathermap配置

5.2.1 修改配置文件editor.php

修改或添加红色部分的值

[root@u1acatap01 weathermap]# vi editor.php

 

<?php

 

require_once 'lib/editor.inc.php';

require_once 'lib/Weathermap.class.php';

require_once 'lib/geometry.php';

require_once 'lib/WMPoint.class.php';

require_once 'lib/WMVector.class.php';

require_once 'lib/WMLine.class.php';

 

// so that you can't have the editor active, and not know about it.

$ENABLED=true;

 

 

// If we're embedded in the Cacti UI (included from weathermap-cacti-plugin-editor.php), then authentication has happened. Enable the editor.

if (isset($FROM_CACTI) && $FROM_CACTI == true) {

    $ENABLED = true;

        $editor_name = "weathermap-cacti-plugin-editor.php";

        $cacti_base = $config["base_path"];

        $cacti_url = $config['url_path'];

        $cacti_found = true;

} else {

    $FROM_CACTI = false;

        $editor_name = "editor.php";

        $cacti_base = '/var/www/html/cacti';

        $cacti_url = 'http://10.26.211.88/cacti/';

        $cacti_found = false;

}

 

 

[root@u1acatap01 include]# pwd

/var/www/html/cacti/include

[root@u1acatap01 include]# vi config.php

/* Default session name - Session name must contain alpha characters */

//$cacti_session_name = "Cacti";

$plugins[]='weathermap';

 

 

5.2.2 修改cacti目录下的属主和属组

[root@u1acatap01 html]# chown -R cacti:cacti cacti/

[root@u1acatap01 html]# pwd

/var/www/html

[root@u1acatap01 html]#

[root@u1acatap01 weathermap]# chown -R apache configs/

六、spine安装及配置

6.1   spine安装

6.1.1    解压spine安装包

[root@u1acatap01 ~]# cd /cacti/

[root@u1acatap01 cacti]# tar -zxvf cacti-spine-0.8.8h.tar.gz

cacti-spine-0.8.8h/

cacti-spine-0.8.8h/Makefile.in

cacti-spine-0.8.8h/INSTALL

cacti-spine-0.8.8h/configure

cacti-spine-0.8.8h/aclocal.m4

 

6.1.2    编译spine

[root@u1acatap01 spine]# make install

make[1]: Entering directory `/cacti/spine'

 /bin/mkdir -p '/usr/local/spine/bin'

  /bin/sh ./libtool   --mode=install /usr/bin/install -c spine '/usr/local/spine/bin'

libtool: install: /usr/bin/install -c spine /usr/local/spine/bin/spine

 /bin/mkdir -p '/usr/local/spine/etc'

 /usr/bin/install -c -m 644 spine.conf.dist '/usr/local/spine/etc'

make[1]: Leaving directory `/cacti/spine'

[root@u1acatap01 spine]#

6.2   spine配置

6.2.1 修改配置spine.conf

[root@u1acatap01 local]# pwd

/usr/local

[root@u1acatap01 local]# ls -lrt

total 44

drwxr-xr-x. 2 root root 4096 Jun 28  2011 src

drwxr-xr-x. 2 root root 4096 Jun 28  2011 sbin

drwxr-xr-x. 2 root root 4096 Jun 28  2011 libexec

drwxr-xr-x. 2 root root 4096 Jun 28  2011 lib64

drwxr-xr-x. 2 root root 4096 Jun 28  2011 lib

drwxr-xr-x. 2 root root 4096 Jun 28  2011 include

drwxr-xr-x. 2 root root 4096 Jun 28  2011 games

drwxr-xr-x. 2 root root 4096 Jun 28  2011 etc

drwxr-xr-x. 2 root root 4096 Jun 28  2011 bin

drwxr-xr-x. 5 root root 4096 May 16  2014 share

drwxr-xr-x  4 root root 4096 May 30 16:00 spine

 

[root@u1acatap01 etc]# cd /usr/local/spine/etc/

[root@u1acatap01 etc]# pwd

/usr/local/spine/etc

[root@u1acatap01 etc]# mv spine.conf.dist  /etc/spine.conf

[root@u1acatap01 etc]#

 

[root@u1acatap01 etc]# cd /etc

[root@u1acatap01 etc]# vi spine.conf

 

# +-------------------------------------------------------------------------+

# | Copyright (C) 2002-2013 The Cacti Group                                 |

# |                                                                         |

# | This program is free software; you can redistribute it and/or           |

# | modify it under the terms of the GNU Lesser General Public License      |

# | as published by the Free Software Foundation; either version 2.1        |

# | of the License, or (at your option) any later version.                  |

# |                                                                         |

# | This program is distributed in the hope that it will be useful,         |

# | but WITHOUT ANY WARRANTY; without even the implied warranty of          |

# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           |

# | GNU General Public License for more details.                            |

# +-------------------------------------------------------------------------+

# | spine: a backend data gatherer for Cacti                                |

# +-------------------------------------------------------------------------+

# | This poller would not have been possible without:                       |

# |   - Larry Adams (current development and enhancements)                  |

# |   - Rivo Nurges (rrd support, mysql poller cache, misc functions)       |

# |   - RTG (core poller code, pthreads, snmp, autoconf examples)           |

# |   - Brady Alleman/Doug Warner (threading ideas, implimentation details) |

# +-------------------------------------------------------------------------+

# | Settings                                                                |

# +-------------------------------------------------------------------------+

# | DB_Host         'localhost' or socket file for UNIX/Linux               |

# |                 IP Address for Windows                                  |

# | DB_Database     Database name, typically 'cacti'                        |

# | DB_Port         The database port to use                                |

# | DB_User         The user to access the database, typically 'cactiuser'  |

# | DB_Pass         The password for the Cacti user                         |

# | SNMP_Clientaddr Bind SNMP to a specific address for sites that use      |

# |                 higher security levels                                  |

# +-------------------------------------------------------------------------+

DB_Host         localhost

DB_Database     cacti

DB_User         cacti

DB_Pass         cacti

DB_Port         3306

[root@u1acatap01 local]# pwd

/usr/local

[root@u1acatap01 local]# chown -R cacti.cacti spine/

[root@u1acatap01 local]#

 

6.2.2 测试

[root@u1acatap01 etc]# /usr/local/spine/bin/spine

SPINE: Using spine config file [spine.conf]

SPINE: Version 0.8.8h starting

SPINE: Time: 0.0862 s, Threads: 5, Hosts: 2

[root@u1acatap01 etc]#

 

6.2.3 cacti界面配置spine

1Console ->Settings->Paths->Spine Poller File Path,设置值为/usr/local/spine/bin/spine

162434_daFg_2775447.png

2)轮询时间设置

Console ->Settings->Poller

设置Poller Typespine

Poller Interval,Cron Interval选择为Every Minute

设置Maximum Threads per Process8(一般为CPU个数的2)

Cpu查询命令如下:

[root@u1acatap01 cacti]# cat /proc/cpuinfo |grep "processor"|wc -l

4

[root@u1acatap01 cacti]#

162459_jFvm_2775447.png

修改完轮询时间后,需要修改crontab,对应时间为每分钟,并增加清理cacti.log的定时任务

[root@u1acatap01 cacti]# crontab -l -u cacti

#cacti

*/1 * * * * /usr/bin/php  /var/www/html/cacti/poller.php > /dev/null 2>&1

 

*/10 * * * * /bin/cp /dev/null  /var/www/html/cacti/log/cacti.log

[root@u1acatap01 cacti]#

七、增加备份cacticrontab任务

[root@u1acatap01 cacti]# crontab -l

#cacti backup

0 1 * * * sh /cacti/cacti_backup.sh > /dev/null 2>&1

 

[root@u1acatap01 cacti]# cat /cacti/cacti_backup.sh

#!/bin/sh

 

#define variable

DATE=`date "+%Y%m%d"`

cacti_backup_name="cacti_backup_${DATE}.sql"

dir_backup="/cacti/"

 

#backup

mysqldump --user=root -proot --add-drop-table --database cacti > ${dir_backup}${cacti_backup_name}

 

#delete file out of 7 days

find  ${dir_backup} -name "cacti_backup_*" -mtime +7 -exec rm -f {} \;

[root@u1acatap01 cacti]#

八、Cactiweathermap的使用

8.1 cacti的使用

8.1.1上传模板

163129_BjxW_2775447.png

登录cacti界面,Console-> Import/Export->Import Templates,点击浏览,选择对应的模板文件,最后Import即可

163225_sx1n_2775447.png

所有模板创建完后,在Templates的三种类型的模板中都会存在相应的模板,如Host Templates3个模板:

163307_dp3t_2775447.png

8.1.2 添加设备

    登录cacti界面,Console-> Devices,点击add

设置描述,主机名(此处填写IP),对应的主机模板,轮询方法,snmp版本,最后create

163410_xAhe_2775447.png

SNMP - Interface Statistics以外数据查询和Graph Template Name都删除(点击x),再点击save

163435_mijo_2775447.png

163445_UtBF_2775447.png

再点击“Create Graphs for this Host”,选择对应的端口即可

163526_1wwY_2775447.png

选择完后,点击create

163558_QWHq_2775447.png

添加成功后,如下图:

163644_VZFY_2775447.png

163717_vIHL_2775447.png

8.1.3 添加Graph Trees

    登录cacti界面,Console-> Graph Trees,点击add

填写name,再create

点击Add

先添加Header,设置Title,再create

163843_2QGG_2775447.png

再添加Host,设置HostGraph Grouping Style,再create

163928_xeei_2775447.png

最后添加Graph,选择对应端口的图,再create

164011_IlEl_2775447.png

最后Save

8.1.4 查看graph

    登录cacti界面,graphs页签中能看到刚添加的设备的图

164107_qDDn_2775447.png

8.2 weathermap的使用

Weathermap通过界面是无法完成所有操作的,所以Weathermap的使用就是在/var/www/html/cacti/plugins/weathermap/configs编辑配置文件,默认配置文件为simple.conf

 

[root@u1acatap01 configs]# pwd

/var/www/html/cacti/plugins/weathermap/configs

[root@u1acatap01 configs]# ls -lrt

total 88

-rw-rw-r-- 1 apache cacti    59 May 24 17:33 index.php

-rw-rw-r-- 1 apache cacti  1267 May 30 01:52 simple.conf

-rw-rw-r-- 1 apache cacti 15269 Jun  3 16:57 global_prod.confbak

-rw-r--r-- 1 root   root  10342 Jun  7 15:11 final_prod.confbak22

-rw-r--r-- 1 root   root  16660 Jun  7 15:12 global_prod.confbak22

-rw-rw-r-- 1 apache cacti 16817 Jun 13 12:00 global_prod.conf

-rw-rw-r-- 1 apache cacti 10472 Jun 13 14:05 final_prod.conf

[root@u1acatap01 configs]#

 

8.2.1 准备素材

Weathermap自带的图像肯定无法满足现实的需求,所以需要自行整理图像,并上传至/var/www/html/cacti/plugins/weathermap/images

 

权限可以是默认(绿色部分),也可以修改为如下红色部分:

-rw-rw-r-- 1 cacti cacti 193065 Jun  1 14:23 1024_819.jpg

-rw-rw-r-- 1 cacti cacti  16131 Jun  6 11:19 1202_801.jpg

-rw-rw-r-- 1 cacti cacti   7016 Jun  6 14:54 Cisco_router.jpg

-rw-rw-r-- 1 cacti cacti   6861 Jun  6 14:54 small_router.jpg

-rw-rw-r-- 1 cacti cacti   3108 Jun  6 14:54 Global_storage.png

-rw-rw-r-- 1 cacti cacti   2999 Jun  6 15:02 global_small.png

-rw-rw-r-- 1 cacti cacti  18802 Jun  6 15:02 Nexus_7.jpg

-rw-r--r-- 1 root  root   39027 Jun 13 09:46 1920_1279.jpg

 

8.2.2 添加配置文件

1)后台创建并修改权限

[root@u1acatap01 configs]# pwd

/var/www/html/cacti/plugins/weathermap/configs

[root@u1acatap01 configs]# ls -lrt

total 88

-rw-rw-r-- 1 apache cacti    59 May 24 17:33 index.php

-rw-rw-r-- 1 apache cacti  1267 May 30 01:52 simple.conf

-rw-rw-r-- 1 apache cacti 15269 Jun  3 16:57 global_prod.confbak

-rw-r--r-- 1 root   root  10342 Jun  7 15:11 final_prod.confbak22

-rw-r--r-- 1 root   root  16660 Jun  7 15:12 global_prod.confbak22

-rw-rw-r-- 1 apache cacti 16817 Jun 13 12:00 global_prod.conf

-rw-rw-r-- 1 apache cacti 10472 Jun 13 14:05 final_prod.conf

[root@u1acatap01 configs]# touch test.conf

[root@u1acatap01 configs]#

[root@u1acatap01 configs]# chown apache.cacti test.conf

[root@u1acatap01 configs]# chmod g+w test.conf

 

2)界面添加配置文件test.conf

    登录cacti界面,Console-> Weathermaps,点击Add

选择对应的文件test.conf,点击Add

164238_sVUm_2775447.png

添加完成后的界面如下:

164320_oPkM_2775447.png

8.2.3 编辑配置文件

    点击test.conf开始编辑

164412_QqEu_2775447.png

编辑界面如下:

164454_IN7W_2775447.png

备注:编辑图像时,系统自动保存

8.2.4 weathermap编辑页面的常用菜单

Return to Cacti

Return to Cacti返回配置文件选择界面

Add Node

添加一个节点(下图红色部分),点击之后鼠标会变成变成一个十字,在你想要放Node的地方点一下就可以创建一个Node

Add Link

添加一条链接,可以把2Node连接起来,点击Add Link后点击Node(被点击的node成红色),再点击另外一个Node就可以把2Node连接起来。

Position Legend

调整那个图列(下图红色部分)的位置,点击之后鼠标会编成十字,点击以下就可以移动到新的位置

或者

直接点击图列,点击之后鼠标会编成十字,点击以下就可以移动到新的位置

164626_T1sq_2775447.png

Position Timestamp

调整一个图片创建的时间(下图红色部分)的位置,点击之后鼠标会编成十字,点击以下就可以移动到新的位置

或者

直接点击时间,点击之后鼠标会编成十字,点击以下就可以移动到新的位置

164706_vQ1A_2775447.png

Map Properties

图片属性:图片标题(还需要在后台指定标题位置,标题才会显示,否则不显示),图列标题,时间格式,link默认宽度,link默认宽带值,图片大小(若选着了背景图,此处就是背景图的大小),背景图等等

164810_TSc9_2775447.png

8.2.5 node

默认添加的节点,是不能满足现实需求的,需要先编辑,然后再在后台编辑配置文件

 

可以改Node的大小,Node的名称和标签名称;

Info URl是用户把鼠标放在这个Node后会出现一个流量图片;

Hover Graph URL 这里是当用户点击这个Node是会跳转到那个图,在这里可以选择点击Pick From Cacti,从cacti中选取;

Icon Filename是图标的图像,这里可以有很多比如RouterHostfirewall。当然也可以自己添加,在weathermapimages里,设置好有点击Submit就可以提交更改了;

删除或移动node,对应DeleteMove

 

点击节点编辑:

164853_G15k_2775447.png

8.2.6 link

默认添加的link,也是不能满足现实需求的,需要先编辑,然后再在后台编辑配置文件

 

可以设置宽带上限,数据源,宽度等

164942_hxaw_2775447.png

8.3 配置文件解析

所有的参数详解,参考http://network-weathermap.com/manual/0.98/pages/config-reference.html

 

此文档中解析global_prod.conf 中的部分参数

 

[root@u1acatap01 configs]# pwd

/var/www/html/cacti/plugins/weathermap/configs

[root@u1acatap01 configs]# cat global_prod.conf

# Automatically generated by php-weathermap v0.98

 

FONTDEFINE 100 docs/example/Vera.ttf 10

 

BACKGROUND images/1920_1279.jpg

WIDTH 1202

HEIGHT 801

HTMLSTYLE overlib

KEYFONT 100

TITLE Global Traffic Map  #设置标题,默认不显示标题,若要显示标题还需设置TITLEPOS x-pos y-pos

TIMEPOS 1142 30 Created: %Y-%d-%m %H:%M:%S #设置时间的位置和显示格式,时间格式同date命令

 

KEYPOS DEFAULT 1181 81 Traffic Load

KEYTEXTCOLOR 0 0 0

KEYOUTLINECOLOR 0 0 0

KEYBGCOLOR 255 255 255

BGCOLOR 255 255 255

TITLECOLOR 255 255 255

TIMECOLOR 255 255 255

SCALE DEFAULT 0    0    192 192 192   #图列值得设置 0 0 表示0-0,192 192 192表示灰色

SCALE DEFAULT 0    1    255 255 255 

SCALE DEFAULT 1    10   140   0 255 

SCALE DEFAULT 10   25    32  32 255 

SCALE DEFAULT 25   40     0 192 255 

SCALE DEFAULT 40   55     0 240   0 

SCALE DEFAULT 55   70   240 240   0 

SCALE DEFAULT 70   85   255 192   0 

SCALE DEFAULT 85   100  255   0   0  #图列值得设置 85 100 表示85-100,255 0 0表示红色

 

SET nowarn_clipping 1

 

# End of global section

 

 

# TEMPLATE-only NODEs:

NODE DEFAULT

       LABELFONT 1

       MAXVALUE 100

 

 

# TEMPLATE-only LINKs:

LINK DEFAULT

       WIDTH 5

       BWFONT 100

       COMMENTFONT 100

       BWLABEL bits

       BANDWIDTH 1M

 

 

# regular NODEs:

NODE STPNBWR01  #内部的节点名,节点名命名是不能有空格

       LABEL STPNBWR01  #LABEL设置标签名,外部的

       LABELOFFSET S   #标签的位置设置,默认的位置是中间。标签位置图如下图:165046_qBJE_2775447.png

       ICON images/Cisco_router.jpg   #节点的图标设置,图保存在/var/www/html/cacti/plugins/weathermap/images中,此处设置路径从weathermap位置开始

       POSITION 233 402    #node的位置设置

 

NODE DCARC04CS01

       LABEL DCARC04CS01

       LABELOFFSET S

       ICON images/Nexus_7.jpg

       POSITION 477 672

 

NODE DCBRR04CS02

       LABEL DCBRR04CS02

       LABELOFFSET S

       ICON images/Nexus_7.jpg

       POSITION 781 672

 

NODE STSNBWR02

       LABEL STSNBWR02

       LABELOFFSET S

       ICON images/Cisco_router.jpg

       POSITION 569 402

 

NODE DCARC04ISA01

       LABEL DCARC04ISA01

       LABELOFFSET S

       ICON images/Nexus_7.jpg

       POSITION 719 202

 

NODE DCBRR04ISA02

       LABEL DCBRR04ISA02

       LABELOFFSET S

       ICON images/Nexus_7.jpg

       POSITION 909 202

 

NODE uxf02

       LABEL uxf02

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 109 32

 

NODE uxf01

       LABEL uxf01

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 169 32

 

NODE CDNWR001

       LABEL CDNWR001

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 239 32

 

NODE CDNWR002

       LABEL CDNWR002

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 299 32

 

NODE DCAD-SH-02

       LABEL DCAD-SH-02

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 359 32

 

NODE DCAD-SH-01

       LABEL DCAD-SH-01

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 419 32

 

NODE dpad-bj-02

       LABEL dpad-bj-02

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 479 32

 

NODE dpad-bj-01

       LABEL dpad-bj-01

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 539 32

 

NODE DJH01

       LABEL DJH01

       LABELOFFSET S

       ICON images/small_router.jpg

       POSITION 649 32

 

NODE DCARCO5DS01

       LABEL DCARCO5DS01

       LABELOFFSET S

       ICON images/global_small.png

       POSITION 227 853

 

NODE DCARCO6DS02

       LABEL DCARCO6DS02

       LABELOFFSET S

       ICON images/global_small.png

       POSITION 487 853

 

NODE DCBRR05DS03

       LABEL DCBRR05DS03

       LABELOFFSET S

       ICON images/global_small.png

       POSITION 747 853

 

NODE DCBRR06DS04

       LABEL DCBRR06DS04

       LABELOFFSET S

       ICON images/global_small.png

       POSITION 935 853

 

NODE node01197

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 75 1229

 

NODE node01205

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 125 1229

 

NODE node01209

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 175 1229

 

NODE node01213

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 225 1229

 

NODE node01218

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 275 1229

 

NODE node01222

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 325 1229

 

NODE node01226

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 375 1229

 

NODE node01230

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 425 1229

 

NODE node01235

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 475 1229

 

NODE node01239

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 525 1229

 

NODE node01244

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 575 1229

 

NODE node01248

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 625 1229

 

NODE node01269

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 720 1129

 

NODE node01276

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 770 1129

 

NODE node01281

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 820 1129

 

NODE node01285

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 870 1129

 

NODE node01289

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 920 1129

 

NODE node01293

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 970 1129

 

NODE node01298

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 1020 1129

 

NODE node01302

       LABEL Node

       LABELOFFSET S

       ICON images/Global_storage.png

       POSITION 1070 1129

 

 

# regular LINKs:

LINK STPNBWR01-node06989   #linkSTPNBWR01node06989uxf02

       WIDTH 2    #link的宽度1-5 由细变粗

       BWFONT 2   #link上值得字体大小,1-5由小到大

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=25

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=25&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent    #link上的值按百分比显示

       BWLABELPOS 60 40  #link上的值得相对整条link的位置,默认是75 25

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_28.rrd

       NODES STPNBWR01:S uxf02:S  #link连接2个节点的起始位置,位置图如下:165046_8kCw_2775447.png

       BANDWIDTH 20M

 

LINK STPNBWR01-node07036

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=24

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=24&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 60 40

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_27.rrd

       NODES STPNBWR01:S CDNWR001:S

       BANDWIDTH 60M

 

LINK STPNBWR01-node07045

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=27

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=27&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 60 40

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_30.rrd

       NODES STPNBWR01:N DCAD-SH-02:S

       BANDWIDTH 20M

 

LINK STPNBWR01-node07055

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=26

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=26&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 80 20

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_29.rrd

       NODES STPNBWR01:N dpad-bj-02:S

       BANDWIDTH 20M

 

LINK STPNBWR01-node07081

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=28

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=28&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 70 30

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_31.rrd

       NODES STPNBWR01:N DJH01:S

       BANDWIDTH 20M

 

LINK STSNBWR02-node07059

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=31

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=31&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 55 45

       TARGET /var/www/html/cacti/rra/stsnbwr02_traffic_in_34.rrd

       NODES STSNBWR02:N dpad-bj-01:S

       BANDWIDTH 20M

 

LINK STSNBWR02-node07050

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=32

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=32&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 55 45

       TARGET /var/www/html/cacti/rra/stsnbwr02_traffic_in_35.rrd

       NODES STSNBWR02:N DCAD-SH-01:S

       BANDWIDTH 20M

 

LINK STSNBWR02-node07041

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=29

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=29&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 60 40

       TARGET /var/www/html/cacti/rra/stsnbwr02_traffic_in_32.rrd

       NODES STSNBWR02:N CDNWR002:S

       BANDWIDTH 40M

 

LINK STSNBWR02-node07031

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=30

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=30&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 70 30

       TARGET /var/www/html/cacti/rra/stsnbwr02_traffic_in_33.rrd

       NODES STSNBWR02:N uxf01:S

       BANDWIDTH 50M

 

LINK STPNBWR01-DCARC04CS01

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=47

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=47&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_50.rrd

       NODES STPNBWR01:SE DCARC04CS01:NW

       BANDWIDTH 10000M

 

LINK DCARC04CS01-STPNBWR01

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=39

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=39&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/dcarc04cs01_traffic_in_42.rrd

       NODES DCARC04CS01:SW STPNBWR01:SW

       BANDWIDTH 10000M

 

LINK STPNBWR01-STSNBWR02

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=48

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=48&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_51.rrd

       NODES STPNBWR01:NE50 STSNBWR02:NW50

       BANDWIDTH 10000M

 

LINK STSNBWR02-STPNBWR01

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=51

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=51&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/stsnbwr02_traffic_in_54.rrd

       NODES STSNBWR02:SW50 STPNBWR01:SE50

       BANDWIDTH 10000M

 

LINK DCARC04CS01-DCBRR04CS02

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=37

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=37&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/dcarc04cs01_traffic_in_40.rrd

       NODES DCARC04CS01 DCBRR04CS02

       BANDWIDTH 20000M

 

LINK STSNBWR02-DCBRR04CS02

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=50

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=50&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 60 40

       TARGET /var/www/html/cacti/rra/stsnbwr02_traffic_in_53.rrd

       NODES STSNBWR02:SE50 DCBRR04CS02:NE80

       BANDWIDTH 10000M

 

LINK DCBRR04CS02-STSNBWR02

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=45

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=45&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/dcbrr04cs02_traffic_in_48.rrd

       NODES DCBRR04CS02:W STSNBWR02:SW50

       BANDWIDTH 10000M

 

LINK STPNBWR01-DCARC04ISA01

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=46

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=46&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/stpnbwr01_traffic_in_49.rrd

       NODES STPNBWR01:NE DCARC04ISA01:NW80

       BANDWIDTH 10000M

 

LINK DCARC04ISA01-STPNBWR01

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=52

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=52&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/dcarc04isa01_traffic_in_55.rrd

       NODES DCARC04ISA01:SW STPNBWR01:NE50

       BANDWIDTH 10000M

 

LINK STSNBWR02-DCBRR04ISA02

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=49

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=49&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/stsnbwr02_traffic_in_52.rrd

       NODES STSNBWR02:NE50 DCBRR04ISA02:SW

       BANDWIDTH 10000M

 

LINK DCBRR04ISA02-STSNBWR02

       WIDTH 2

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=54

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=54&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       BWLABELPOS 60 40

       TARGET /var/www/html/cacti/rra/dcbrr04isa02_traffic_in_57.rrd

       NODES DCBRR04ISA02:SE STSNBWR02:SE50

       BANDWIDTH 10000M

 

LINK node00944-node01380

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=53

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=53&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/dcarc04isa01_traffic_in_56.rrd

       NODES DCARC04ISA01:NE50 DCBRR04ISA02:NW50

       BANDWIDTH 10000M

 

LINK DCBRR04ISA02-DCARC04ISA01

       WIDTH 1

       BWFONT 2

       INFOURL /cacti/graph.php?rra_id=all&local_graph_id=55

       OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=55&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

       BWLABEL percent

       TARGET /var/www/html/cacti/rra/dcbrr04isa02_traffic_in_58.rrd

       NODES DCBRR04ISA02:SW50 DCARC04ISA01:SE50

       BANDWIDTH 10000M

 

LINK DCARCO5DS01-node01197

       WIDTH 1

       BWLABEL none  #默认link上的标签值是显示的,none将隐藏link上的宽带标签

       NODES DCARCO5DS01 node01197:N

 

LINK DCARCO5DS01-node01205

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01205:N

 

LINK DCARCO5DS01-node01209

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01209:N

 

LINK DCARCO5DS01-node01213

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01213:N

 

LINK DCARCO5DS01-node01218

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01218:N

 

LINK DCARCO5DS01-node01222

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01222:N

 

LINK DCARCO5DS01-node01226

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01226:N

 

LINK DCARCO5DS01-node01230

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01230:N

 

LINK DCARCO5DS01-node01235

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01235:N

 

LINK DCARCO5DS01-node01239

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01239:N

 

LINK DCARCO5DS01-node01244

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01244:N

 

LINK DCARCO5DS01-node01248

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 node01248:N

 

LINK DCARCO6DS02-node01197

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01197:N

 

LINK DCARCO6DS02-node01205

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01205:N

 

LINK DCARCO6DS02-node01209

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01209:N

 

LINK DCARCO6DS02-node01213

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01213:N

 

LINK DCARCO6DS02-node01218

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01218:N

 

LINK DCARCO6DS02-node01222

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01222:N

 

LINK DCARCO6DS02-node01226

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01226:N

 

LINK DCARCO6DS02-node01230

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01230:N

 

LINK DCARCO6DS02-node01235

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01235:N

 

LINK DCARCO6DS02-node01239

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01239:N

 

LINK DCARCO6DS02-node01244

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01244:N

 

LINK DCARCO6DS02-node01248

       WIDTH 1

       BWLABEL none

       NODES DCARCO6DS02 node01248:N

 

LINK DCARCO5DS01-DCARCO6DS02

       WIDTH 1

       BWLABEL none

       NODES DCARCO5DS01 DCARCO6DS02

 

LINK DCBRR05DS03-node01269

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01269:N

 

LINK DCBRR05DS03-node01276

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01276:N

 

LINK DCBRR05DS03-node01281

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01281:N

 

LINK DCBRR05DS03-node01285

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01285:N

 

LINK DCBRR05DS03-node01289

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01289:N

 

LINK DCBRR05DS03-node01293

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01293:N

 

LINK DCBRR05DS03-node01298

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01298:N

 

LINK DCBRR05DS03-node01302

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 node01302:N

 

LINK DCBRR06DS04-node01269

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01269:N

 

LINK DCBRR06DS04-node01276

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01276:N

 

LINK DCBRR06DS04-node01281

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01281:N

 

LINK DCBRR06DS04-node01285

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01285:N

 

LINK DCBRR06DS04-node01289

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01289:N

 

LINK DCBRR06DS04-node01293

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01293:N

 

LINK DCBRR06DS04-node01298

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01298:N

 

LINK DCBRR06DS04-node01302

       WIDTH 1

       BWLABEL none

       NODES DCBRR06DS04 node01302:N

 

LINK DCBRR05DS03-DCBRR06DS04

       WIDTH 1

       BWLABEL none

       NODES DCBRR05DS03 DCBRR06DS04

 

LINK DCARC04CS01-DCARCO5DS01

       WIDTH 1

       BWLABEL none

       NODES DCARC04CS01:SW80 DCARCO5DS01

 

LINK DCBRR04CS02-DCARCO6DS02

       WIDTH 1

       BWLABEL none

       NODES DCBRR04CS02 DCARCO6DS02

 

LINK DCARC04CS01-DCARCO6DS02

       WIDTH 1

       BWLABEL none

       NODES DCARC04CS01 DCARCO6DS02

 

LINK DCBRR04CS02-DCARCO5DS01

       WIDTH 1

       BWLABEL none

       NODES DCBRR04CS02 DCARCO5DS01

 

LINK DCARC04CS01-DCBRR05DS03

       WIDTH 1

       BWLABEL none

       NODES DCARC04CS01 DCBRR05DS03

 

LINK DCBRR04CS02-DCBRR06DS04

       WIDTH 1

       BWLABEL none

       NODES DCBRR04CS02 DCBRR06DS04

 

LINK DCARC04CS01-DCBRR06DS04

       WIDTH 1

       BWLABEL none

       NODES DCARC04CS01 DCBRR06DS04

 

LINK DCBRR04CS02-DCBRR05DS03

       WIDTH 1

       BWLABEL none

       NODES DCBRR04CS02 DCBRR05DS03

 

 

LINK uxf02-uxf01

       WIDTH 1

       BWLABEL none

       NODES uxf02 uxf01

 

LINK CDNWR001-CDNWR002

       WIDTH 1

       BWLABEL none

       NODES CDNWR001 CDNWR002

 

 

# That's All Folks!

[root@u1acatap01 configs]#

 

 

 

 

 

 

转载于:https://my.oschina.net/shw23/blog/691353

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值