|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
本帖最后由 情灭缘尽 于 2010-7-7 09:46 编辑
方法简单
1 routeros设置好snmp
2 linux机器安装好cacti
3 linux机器给cacti安装好所需的脚本
4 cacti导入数据模板
5 cacti内部添加设备并进行必要设置
6 有人说RouterOS自带了流量图表和一些图表,我就懒得多解释了,用过了就知道那个和这个区别那是大大的
7 成功后的几个简单图形如下,还有很多图形可以添加,也可以自己snmpget数据并按照需要进行绘图
8 附件如下
mikrotik-20090210.zip
(36.43 KB, 下载次数: 90)
9 老外的文章
mojiro
Cacti User
Joined: 24 Jul 2005
Posts: 85
Location: Greece, Korydallos - Athens (AWMN)
Posted: Fri Jan 18, 2008 2:34 pm Post subject: Mikrotik Routeros Statistics (Update 02/10/2009)
One year after my last post in this forum I come back with lots of graphs that have to do with Mikrotik RouteROS. Many of them are based on older templates of mine. A lot of new work has been based on Marlow's work with Wireless Registration Tables and Queues.
Cacti Version: cacti-0.8.7c
RouterOs Version: 2.9.x & 3.0.x
Graph Support For:
System
HDD
CPU
Memory
Uptime
General
Active PPP Connections
Number of Routes
Number of Active Wireless Connections (Linux Only)
Number of Current ARP Entries (Linux Only)
Wireless Registration Tables (per Wireless Client)
Signal Strength
Data Rates
Packets
Traffic (bits and Bytes)
Wireless Client
Signal Strength
Data Rates
Frequency 802.11b/g
Frequency 802.11a
Queues
Simple Packets
Simple Traffic (bits and Bytes)
Tree Packets
Tree Traffic (bits and Bytes)
Installation:
A. Unzip somewhere the attachment (mikrotik-20090210.zip)
B. Copy:
1. zipdir/scripts/mikrotik_wireless_interfaces.php -> cacti-web-dir/scripts/mikrotik_wireless_interfaces.php
2. zipdir/scripts/mikrotik_ppp_connections.php -> cacti-web-dir/scripts/mikrotik_ppp_connections.php
3. zipdir/resources/script_server/mikrotik_wireless_interfaces.xml -> cacti-web-dir/resources/script_server/mikrotik_wireless_interfaces.xml
4. zipdir/resources/snmp_queries/mikrotik_queue_simple.xml -> cacti-web-dir/resources/snmp_queries/mikrotik_queue_simple.xml
5. zipdir/resources/snmp_queries/mikrotik_queue_tree.xml -> cacti-web-dir/resources/snmp_queries/mikrotik_queue_tree.xml
6. zipdir/resources/snmp_queries/mikrotik_wireless_client.xml -> cacti-web-dir/resources/snmp_queries/mikrotik_wireless_client.xml
C. Import zipdir/templates/cacti_host_template_mikrotik.xml -> http://cacti.url.path/templates_import.php
D. Now just Add a New Device and select "Mikrotik" on Host Template
Notes:
The Mikrotik Host Template contains all of its dependencies, like Interface Statistics
All new templates have nothing to do with older. Are totally incompatible.
Changelog:
* fixes on old templates of mine
* template variable names corrected to follow cacti naming style
* added support for Marlow's work on wireless registration tables
* added more graphs for wireless registration tables
* added support for Arci's work on Queue Trees
* added more graphs for Queue Trees
* added graphs for Simple Queue
* added graphs for Routes & Active PPP Connections
Templates are based on:
Development, Cacti Templates
http://doc.thewan.net/wiki/index.php/Development
Mikrotik SNMP Queue Tree Monitor
http://forums.cacti.net/viewtopic.php?t=10373
Mikrotik RouterOS Statistics (Update 01/21/2006)
http://forums.cacti.net/viewtopic.php?t=8855
Mikrotik RouterOS Registration Tables (Update 11/21/2006)
http://forums.cacti.net/viewtopic.php?t=17936
mikrotik-20090210.zip
Description:
Version 02/10/2009
Download
Filename: mikrotik-20090210.zip
Filesize: 36.43 KB
Downloaded: 4241 Time(s)
cacti_mikrotik_template.zip
Description:
Version 01/18/2008
Download
Filename: cacti_mikrotik_template.zip
Filesize: 30.55 KB
Downloaded: 5417 Time(s)
Last edited by mojiro on Mon Feb 09, 2009 8:09 pm; edited 4 times in total |
|