Hello Cacti people.
First off I love Cacti, think it's a great product and am trying to get the best out of it but am lacking in some knowledge of MIBS<>OIDs etc and really need some help to put bits of knowledge together.
We run Peplink Balance routers which have their own MIBs available from here: http://www.peplink.com/support/download ... -download/
In their infinate wisdom, their latest firmware they have actually stopped providing the standard SNMP oid for port IP addresses and insist that it must be done through their custom MIB.
Which leads to my problem, I don't know anything about MIBS nor how to get the relevant working info from it and then translate that info in to Cacti specific info to make a template/query or whatever to get that info.
I have Paessler's MIB importer and SNMP tester tools to hand as well as SNMPwalk on the cacti machine, SNMP is working fine , I can use the tester and snmp walk to read the device's uptime or traffic counters etc and I have imported the peplink MIB in to the Importer and it tells me that the wan network ip id: is 1.3.6.1.4.1.23695.2.1.3.1.1.1 but I have absolutely no idea what to do with that OID.
In the snmp tester I put that in to read the custom oid and it comes back and says 'no such name' whereas I put in the specific peplink 1.3.6.1.4.1.23695.200.1.1.1.1.3.0 to get the device's firmware version successfully.
I'm guessing that the 1.3.6.1.4.1.23695.2.1.3.1.1.1 needs some more info like the wan port number etc before it will give any data but I have no idea how to proceed. I've tried to read all the cacti documentation and how tos but I can't make the link on how to use this.
I know this isn't specific to Cacti but I will need to build a template (I think?) to have Cacti display this info so seemed like a good place to start.
Can anyone help me in the right direction please as I just don't know how to proceeed.
Thanks in advance
James
MIBs, OIDs, templates and Peplink Balance Routers
Moderators: Developers, Moderators
Re: MIBs, OIDs, templates and Peplink Balance Routers
I have spent more time on this today and managed to learn how to make a data query xml file that successfully polled the peplink router for various things including it's WAN names. I Then discovered that the oid specified in their MIB for IP addresses actually does not return any data so no closer to the problem resolution but now know that what I've been doing is correct.
Still not sure how I go about using my data query (if/when it reports the right data) to produce something useful in Cacti, but that's another day.
My query:-
<interface>
<name>Get Peplink WAN IP Addreses</name>
<description>Queries peplink interface IP addresses</description>
<oid_index>.1.3.6.1.4.1.23695.2.1.3.1.1.1</oid_index>
<oid_num_indexes>.1.3.6.1.4.1.23695.2.1.3.1.1.1.0</oid_num_indexes>
<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.23695.2.1.2.1.2</oid>
</ifIndex>
</fields>
</interface>
Still not sure how I go about using my data query (if/when it reports the right data) to produce something useful in Cacti, but that's another day.
My query:-
<interface>
<name>Get Peplink WAN IP Addreses</name>
<description>Queries peplink interface IP addresses</description>
<oid_index>.1.3.6.1.4.1.23695.2.1.3.1.1.1</oid_index>
<oid_num_indexes>.1.3.6.1.4.1.23695.2.1.3.1.1.1.0</oid_num_indexes>
<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.23695.2.1.2.1.2</oid>
</ifIndex>
</fields>
</interface>
Who is online
Users browsing this forum: No registered users and 2 guests