From: Thomas K. <tk...@ne...> - 2012-01-16 06:33:32
|
Hi Buchan, On Mon, Dec 19, 2011 at 03:39:49PM +0100, Buchan Milne wrote: > On Monday, 19 December 2011 12:40:51 Thomas Kähn wrote: > > I only have the data column in this table as seen in the output below. > > > > The slot/port combination can only be deduced from the last three > > numbers in the OID. > > Before I look at the MIB, from your explanation, the last three numbers should > be accessible in devmon by using the INDEX operator (as the index of the SNMP > table). If not, you aren't looking at an SNMP table. thank you very much for the hint with the INDEX transform. I am still running v0.3.0 which doesn't have the INDEX transform. So I didn't find it in the documentation. > > > > E.g. I want to monitor the PPP sessions on individual interfaces > > > > on a Juniper E320 BRAS system. > > > > However there is no ifName or ifIndex column in this table. Instead the > > > > the last three numbers in the returned OID is the interface name: > > > > > > > > $ snmpwalk e320bras 1.3.6.1.4.1.4874.2.2.20.1.8.8 > > > > SNMPv2-SMI::enterprises.4874.2.2.20.1.8.8.1.2.3.1.0.1 = Gauge32: 4928 > > > > SNMPv2-SMI::enterprises.4874.2.2.20.1.8.8.1.2.3.1.0.2 = Gauge32: 3232 > > After looking for this MIB at mibdepot.com, it seems this > (1.3.6.1.4.1.4874.2.2.20.1.8.8) is juniAaaSubscriberLocationSummaryTable, and > each entry in the table has a juniAaaSubscriberLocationSummaryLocationIndex > (1.3.6.1.4.1.4874.2.2.20.1.8.8.1.1) and juniAaaSubscriberLocationSummaryCount > (1.3.6.1.4.1.4874.2.2.20.1.8.8.1.2). > > If you can't get juniAaaSubscriberLocationSummaryLocationIndex, then you > should use the INDEX operator on juniAaaSubscriberLocationSummaryCount. Yes, the index column is mentioned in the MIB file. Sadly it doesn't exist on the device: $ snmpwalk e320bras 1.3.6.1.4.1.4874.2.2.20.1.8.8.1.1 SNMPv2-SMI::enterprises.4874.2.2.20.1.8.8.1.1 = No Such Object available on this agent at this OID Good to know devmon has a solution to this problem :-) Best regards Thomas Kähn -- Thomas Kähn Technik, Network Engineering & Design; Content Delivery Platform & IP --------------------------------------------------------------------- NETCOLOGNE Gesellschaft für Telekommunikation mbH Am Coloneum 9 | 50829 Köln www.netcologne.de Geschäftsführer: Dr. Hans Konle (Sprecher) Dipl.-Ing. Karl-Heinz Zankel HRB 25580, AG Köln Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer Weise verwendet werden. |