Mikrotik SNMP Queue Tree Monitor
Moderators: Developers, Moderators
Mikrotik SNMP Queue Tree Monitor
I have problem with make gaph of data from Mikrotik router.
There is configuration and dupm of logs.
I see problem with get data from router.
View SNMP Cache
Host: Mikrotik, SNMP Query: Queue Tree
Index: 16777452, Field Name: qtName, Field Value: 49-I yashica
OID: .1.3.6.1.4.1.14988.1.1.2.2.1.2.16777452
Host: Mikrotik, SNMP Query: Queue Tree
Index: 16777538, Field Name: qtName, Field Value: 49-O yashica
OID: .1.3.6.1.4.1.14988.1.1.2.2.1.2.16777538
View Poller Cache
Data Source: Mikrotik - Bytes - 49-I yashica
RRD: /var/www/html/cacti/rra/mikrotik_qt_bytes_121.rrd
Action: 0, OID: .1.3.6.1.4.1.14988.1.1.2.2.1.5.16777452 (Host: xxx.xx.48.1, Community: public)
Data Source: Mikrotik - Bytes - 49-O yashica
RRD: /var/www/html/cacti/rra/mikrotik_qt_bytes_122.rrd
Action: 0, OID: .1.3.6.1.4.1.14988.1.1.2.2.1.5.16777538 (Host: xxx.xx.48.1, Community: public)
View Cacti Log File
11/14/2005 01:57:18 PM - CMDPHP: Poller[0] Time: 0.3984 s, Theads: N/A, Hosts: 2
11/14/2005 01:56:13 PM - SYSTEM STATS: Time:1.0365 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:55:52 PM - SYSTEM STATS: Time:1.0740 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:55:02 PM - SYSTEM STATS: Time:1.0257 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:54:23 PM - SYSTEM STATS: Time:1.0349 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:54:15 PM - SYSTEM STATS: Time:1.0403 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:52:47 PM - SYSTEM STATS: Time:1.0256 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:50:03 PM - SYSTEM STATS: Time:2.3081 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:45:01 PM - SYSTEM STATS: Time:1.1884 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:40:02 PM - SYSTEM STATS: Time:1.2345 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
There is configuration and dupm of logs.
I see problem with get data from router.
View SNMP Cache
Host: Mikrotik, SNMP Query: Queue Tree
Index: 16777452, Field Name: qtName, Field Value: 49-I yashica
OID: .1.3.6.1.4.1.14988.1.1.2.2.1.2.16777452
Host: Mikrotik, SNMP Query: Queue Tree
Index: 16777538, Field Name: qtName, Field Value: 49-O yashica
OID: .1.3.6.1.4.1.14988.1.1.2.2.1.2.16777538
View Poller Cache
Data Source: Mikrotik - Bytes - 49-I yashica
RRD: /var/www/html/cacti/rra/mikrotik_qt_bytes_121.rrd
Action: 0, OID: .1.3.6.1.4.1.14988.1.1.2.2.1.5.16777452 (Host: xxx.xx.48.1, Community: public)
Data Source: Mikrotik - Bytes - 49-O yashica
RRD: /var/www/html/cacti/rra/mikrotik_qt_bytes_122.rrd
Action: 0, OID: .1.3.6.1.4.1.14988.1.1.2.2.1.5.16777538 (Host: xxx.xx.48.1, Community: public)
View Cacti Log File
11/14/2005 01:57:18 PM - CMDPHP: Poller[0] Time: 0.3984 s, Theads: N/A, Hosts: 2
11/14/2005 01:56:13 PM - SYSTEM STATS: Time:1.0365 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:55:52 PM - SYSTEM STATS: Time:1.0740 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:55:02 PM - SYSTEM STATS: Time:1.0257 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:54:23 PM - SYSTEM STATS: Time:1.0349 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:54:15 PM - SYSTEM STATS: Time:1.0403 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:52:47 PM - SYSTEM STATS: Time:1.0256 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:50:03 PM - SYSTEM STATS: Time:2.3081 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:45:01 PM - SYSTEM STATS: Time:1.1884 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
11/14/2005 01:40:02 PM - SYSTEM STATS: Time:1.2345 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
- Attachments
-
- ipacmikro.xml
- XML configuration of Mikrotik SNMP Queue Tree
- (958 Bytes) Downloaded 6202 times
-
- cacti_data_query_queue_tree.xml
- (9.65 KiB) Downloaded 5540 times
-
- cacti_graph_template_queue_tree_bytes.xml
- (8.73 KiB) Downloaded 5354 times
-
- cacti_data_template_mikrotik_queue.xml
- (6.52 KiB) Downloaded 5364 times
-
- cacti_host_template_mikrotik_queue.xml
- (111.96 KiB) Downloaded 8264 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Moved to Scripts and Templates
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Re: Mikrotik SNMP Queue Tree Monitor
In "Graph Template Items" set "Color" and all wornking O.K.
-
- Posts: 1
- Joined: Sun Apr 02, 2006 2:32 am
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Mikrotik SNMP Queue Tree Monitor
Please change Settings -> logging Level to DEBUG for one polling cycle and post the output of THIS run only. You should see some failing SNMP request. Please try to snmpwalk against that host/OID from command line to verifyarci wrote:I see problem with get data from router.
Reinhard
ipacmikro ???
The file ipacmikro doesnt exist.Can somebody send me that???
Thanks
Thanks
-
- Posts: 11
- Joined: Tue Nov 06, 2007 12:04 pm
- Location: Rahara, Co. Roscommon, Ireland
- Contact:
The problem with the ipacmikro.xml script is, that there is a > too much in the end.
A version of these scripts with coloring fixed and the ipacmikro.xml script fixed can be found at http://doc.thewan.net/wiki/index.php/Development
/Martin
A version of these scripts with coloring fixed and the ipacmikro.xml script fixed can be found at http://doc.thewan.net/wiki/index.php/Development
/Martin
Communication is the beginning of understanding
-- AT&T
-- AT&T
Re: Mikrotik SNMP Queue Tree Monitor
I imported all templates, beside mikro. I dont know how to import ipacmikro.xml. Then when I give console-device-add, I cant find imported template(queue tree) there. What I am doing wrong? Thanks.
Re: Mikrotik SNMP Queue Tree Monitor
<interface>
<name>Get SNMP Queue Tree</name>
<description>Queries a host for a list of Queue Trees</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.14988.1.1.2.2.1</oid_index>
<fields>
<qtName>
<name>Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.2</oid>
</qtName>
<qtFlow>
<name>Flow</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.3</oid>
</qtFlow>
<qtBytes>
<name>Bytes</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.5</oid>
</qtBytes>
<qtPackets>
<name>Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.6</oid>
</qtPackets>
</fields>
</interface>
Thuo.
<name>Get SNMP Queue Tree</name>
<description>Queries a host for a list of Queue Trees</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.14988.1.1.2.2.1</oid_index>
<fields>
<qtName>
<name>Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.2</oid>
</qtName>
<qtFlow>
<name>Flow</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.3</oid>
</qtFlow>
<qtBytes>
<name>Bytes</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.5</oid>
</qtBytes>
<qtPackets>
<name>Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.14988.1.1.2.2.1.6</oid>
</qtPackets>
</fields>
</interface>
Thuo.
Who is online
Users browsing this forum: No registered users and 1 guest