网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

Cacti插件详解之——Weathermap(1)

本文转自http://www.cactifans.org/index.php/2...A3-weathermap/
Weathermap是cacti中大家最用的一个插件之一,用它可以画出漂亮的网络拓扑
图!同时Weathermap也是一个独立工具,可以独立部署,不需要cacti的支持,也可以部
署.下面首先来看一看用Weathermap画出来的拓扑图.
Cacti插件详解之——Weathermap(1)
Cacti插件详解之——Weathermap(1)
Cacti插件详解之——Weathermap(1)
Cacti插件详解之——Weathermap(1)
这些漂亮的网络拓扑都是用weathermap画出来的!
这么长时间了没有发出来,今天就写以下weathermap的用法,以下都是我自己的理解,如有错误之处请谅解!Cacti插件详解之——Weathermap(1)
weathermap是用来做网络拓扑图的,其中可以调用mrtg和cacti的流量图,可以生成静态的html页面。具体的例子大家可以中国科大的这个http://linux.ustc.edu.cn/
weathermap的官方网站为 http://www.network-weathermap.com/ weathermap有二种用法。第一种就是作为cacti的插件使用,第二种就是独立出来,可以独立安装一个weathermapm,当然要php,php-gd支持,weathermap最新版本为weathermap-0.97a.

一.weathermap作为cacti插件的用法

1.安装weathermap插件

代码:
  wget http://www.network-weathermap.com/fi...rmap-0.97a.zip unzip php-weathermap-0.97a.zip mv weathermap/ /var/www/html/plugins/ (cactu的安装目录为/var/www/html/) chown -R apache:apache /var/www/html/plugins/weathermap/configs/ chown -R apache:apache /var/www/html/plugins/weathermap/output/ 
下面我们打开cacti,点console——Plugin Management,就可以看到weathermap了,点前面那个点就可以安装weathermap
Cacti插件详解之——Weathermap(1)
点击安装weathermap后
Cacti插件详解之——Weathermap(1)
至此,weathermap已经安装成功。

2.配置使用weathermap

安装好weathermap后,看到点Console在左边的列表里会看到weathermap的菜单,我们点击,会看到设置,因为我们还没有定义一个weathermap配置文件,所以我们点右上角的Add按钮,添加一个weathermap配置文件
Cacti插件详解之——Weathermap(1)
点击Add之后,我们看到有二个文件,其实这个时候调用的就是weathermap的configs目录下的文件,simple.conf就是自带的一个配置文件,我们可以点击它前面的Add按钮,把他添加到默认配置文件里
Cacti插件详解之——Weathermap(1)
至此我们添加了一个weathermap的配置文件,下面就是对weathermap进行配置了,点击weathermap,然后点击Editor对默认图形配置文件进行配置。
Cacti插件详解之——Weathermap(1)
点击editor后我们会看到如下提示
代码:
  The editor has not been enabled yet. You need to set ENABLED=true at the top of editor.php  Before you do that, you should consider using FilesMatch (in Apache) or similar to limit who can access the editor. There is more information in the install guide section of the manual. 
我们按照他提示的编辑editor.php

代码:
  vi /var/www/html/plugins/weathermap/editor.php  

文章标题:Cacti插件详解之——Weathermap(1)
网页URL:http://bjjierui.cn/article/jecedc.html

其他资讯