juniper and dynamic snmp indexes
Jan Markus <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, we have a Juniper EX-4200 optical switch and it has some interesting "feature" ;) When we unplug SFP module, switch removes its OIDs from SNMP. When we plug SFP module back, switch creates all its OIDs again, but with different "index" (I mean the latest number in OID.). For example: when I do "snmpwalk", there is: IF-MIB::ifDescr.775 = STRING: ge-0/0/1 IF-MIB::ifOperStatus.775 = ..... IF-MIB::ifInOctets.775 = ..... etc... then we "replug" the SFP module, and there is: IF-MIB::ifDescr.1824 = STRING: ge-0/0/1 IF-MIB::ifOperStatus.1824 = ..... IF-MIB::ifInOctets.1824 = ..... etc... So we always have to modify OIDs in scripts we are using for monitoring/graphing ports. We were talking to some other companies using Junipers as well. They all tell us that they know about this behaviour, some of them even issued a trouble ticket (even we did), but nothing has changed so far. So we have done some extensive googling and found a few posts, where some people say, that querying SNMP using static OIDs is no more "sexy" and there are new ways to request "dynamic" OIDs, and so on... But we cannot find any example. Is there really such a way? For example something like: snmpget .... ifInOctets.(of interface with ifDescr='ge-0/0/1') Thank you very much for your time. -Jan ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users