Page 1 of 1

Queue Tree and SNMP

Posted: Thu May 08, 2008 12:47 pm
by quickgen
Dear all, using MT 3.7.
I'm having problems monitoring Queue Tree via SNMP.
I'm testing Solarwinds Orion to monitor our routers and switches. Before Orion I tried also PRTG and NetFlow Analyzer, but they share one problem - I can't add custom MIBs to monitor.
Orion has the option, but I can't make it monitor Mikrotik's Queue Tree. It has the ability to import XML files with OID configuration.

An original example:
<?xml version="1.0" encoding="UTF-8"?>
<CustomPollers><CustomPoller UniqueName="SNMPInPkts" Description="The total number of Messages delivered to the SNMP entity from the transport service." OID="1.3.6.1.2.1.11.1" MIB="RFC1213-MIB:snmpInPkts" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="SNMP" PollerType="C" Parser="Counter" IncludeHistory="True" Unit="" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/><CustomPoller UniqueName="SNMPOutPkts" Description="The total number of SNMP Messages which were passed from the SNMP protocol entity to the transport service." OID="1.3.6.1.2.1.11.2" MIB="RFC1213-MIB:snmpOutPkts" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="SNMP" PollerType="C" Parser="Counter" IncludeHistory="True" Unit="" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/><CustomPoller UniqueName="TotalRetrievedMIBs" Description="The total number of MIB objects which have been retrieved successfully by the SNMP protocol entity as the result of receiving valid SNMP Get-Request and Get-Next PDUs." OID="1.3.6.1.2.1.11.13" MIB="RFC1213-MIB:snmpInTotalReqVars" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="SNMP" PollerType="C" Parser="Counter" IncludeHistory="True" Unit="" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/></CustomPollers>
I have downloaded the file mikrotik.mib from 2.9 documentation and I have tried many combinations by modifying the original example, but without any luck.

This is my latest file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CustomPollers>
<CustomPoller UniqueName="mtxrQueueTreeEntry" Description="Queue Tree" OID="1.3.6.1.4.1.14988.1.1.2.2.1" MIB="SNMPv2-MIB" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Qtree" PollerType="C" Parser="Counter" IncludeHistory="False" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/>
<CustomPoller UniqueName="mtxrQueueTreeIndex" Description="List of Queue Trees" OID="1.3.6.1.4.1.14988.1.1.2.2.1.1" MIB="SNMPv2-MIB" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Qtree" PollerType="S" Parser="Sequence" IncludeHistory="True" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/>
<CustomPoller UniqueName="mtxrQueueTreeName" Description="Queue Tree Name" OID="1.3.6.1.4.1.14988.1.1.2.2.1.2" MIB="SNMPv2-MIB" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Qtree" PollerType="S" Parser="DisplayString" IncludeHistory="True" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/>
<CustomPoller UniqueName="mtxrQueueTreeFlow" Description="Queue Tree FlowMark" OID="1.3.6.1.4.1.14988.1.1.2.2.1.3" MIB="SNMPv2-MIB" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Qtree" PollerType="S" Parser="DisplayString" IncludeHistory="True" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/>
<CustomPoller UniqueName="mtxrQueueTreeParentIndex" Description="Queue Tree Parents" OID="1.3.6.1.4.1.14988.1.1.2.2.1.4" MIB="SNMPv2-MIB" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Qtree" PollerType="S" Parser="Sequence" IncludeHistory="False" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/>
<CustomPoller UniqueName="mtxrQueueTreeBytes" Description="Queue Tree Bytes" OID="1.3.6.1.4.1.14988.1.1.2.2.1.5" MIB="SNMPv2-MIB" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Qtree" PollerType="C" Parser="Counter" IncludeHistory="True" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/>
<CustomPoller UniqueName="mtxrQueueTreePackets" Description="Queue Tree Packets" OID="1.3.6.1.4.1.14988.1.1.2.2.1.6" MIB="SNMPv2-MIB" SNMPGetType="GetNext" NetObjectPrefix="N" GroupName="Qtree" PollerType="C" Parser="Counter" IncludeHistory="True" TimeUnitId="0" TimeUnitQuantity="1" DefaultDisplayTimeUnitId="0"/>
</CustomPollers>
I really don't know what are the correct values ( more that 12 hours of guessing =) ) and can't seem to find any good info regarding this subject on the net.

Please point me out in the right direction.
Thanks.