Re: MIB with 2 tables, one index OK the other one is 'out of range'
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 8 March 2011 12:49, Marc Franquesa <[email protected]> wrote: >>> # snmptranslate -On BIND-MIB::zoneIndex.0 >>> .1.3.6.1.4.1.8072.9999.9999.1768.1.5.1.1.1.0 >>> >>> But for viewTable: >>> >>> # snmptranslate -On BIND-MIB::viewIndex.0 >>> BIND-MIB::viewIndex.0: Unknown Object Identifier >>> (Index out of range: 0 (viewIndex)) > I attach the whole MIB file. I've just tried those two statemements with that MIB file installed, and they both work as expected. So there's nothing wrong with the MIB file itself. My guess is that there may be another MIB file installed somewhere, which also defines a TC 'CounterIndex', but with a different range. (excluding 0) Though that wouldn't explain why zoneIndex.0 works Try running snmptranslate -m "" -On BIND-MIB::viewIndex.0 which will avoid loading any other MIBs. Dave ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ 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