Re: "No Such Instance"
"Shuaib Siddiqui" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
The thing that surprised me is that 1.3.6.1.4.1.188.11.10.2.0 is not a
managed object (MIB object) at all. Whereas 1.3.6.1.4.1.188.11.10.2.1.5.0 is
a managed scalar object for which i get " No such instance ". And when i
performed the snmpwalk i get
#: snmpwalk -c demopublic -v 2c 10.0.8.205 1.3.6.1.4.1.1.188.11.10
#: SNMPv2-SMI::enterprises.188.11.10.2.0 = " "
SNMPv2-SMI::enterprises.188.11.10.3.0 = " "
Timeout: No Response from 10.0.8.205
where both enterprises.188.11.10.2.0 and enterprises.188.11.10.3.0 are not
managed objects (MIB objects)!
Even if i query a managed scalar object, e.g. 1.3.6.1.4.1.188.11.10.2.1.4.0or
1.3.6.1.4.1.188.11.10.2.4.1.0 i get "No Such Instance" ...
#:snmpget -c demopublic -v 2c 10.0.8.205 1.3.6.1.4.1.188.11.10.2.1.4.0
#: SNMPv2-SMI::enterprises.188.11.10.2.1.4.0 = No Such Instance currently
exists at this OID
Shuaib
On 2/26/07, Dave Shield <[email protected]> wrote:
>
> [ First - *please* don't mail me privately, without copying
> any responses to the mailing list. I don't have the time
> or inclination to offer private, unpaid, SNMP consultancy.
> Keep discussions to the list, where others can both learn
> and offer advice. Thanks. ]
>
> On 25/02/07, Shuaib Siddiqui <[email protected]> wrote:
> > yes, it works only for OIDs 1.3.6.1.4.1.188.11.10.2.0 and
> > 1.3.6.1.4.1.188.11.10.3.0 but if I try for 1.3.6.1.4.1.188.11.10.2.1.5.0i
> > get,
> >
> > #:snmpget -c demopublic -v 2c 10.0.8.205 1.3.6.1.4.1.188.11.10.2.1.5.0
> > SNMPv2-SMI::enterprises.188.11.10.2.1.5.0 = No Such Instance currently
> > exists at this OID
>
> That's not surprising. From the look of what you've said so far,
> 1.3.6.1.4.1.188.11.10.2 is presumably a scalar MIB object, so the
> *only* valid instance will be 1.3.6.1.4.1.188.11.10.2.0
>
> If this latter OID returns a value, then I wouldn't expect anything
> else under the same MIB OID to be a valid instance.
>
> I can't help wondering how well you understand the SNMP MIB model.
> You should make sure that you're confortable with *using* SNMP,
> and how the OID structure works, before trying to advance on to
> implementing new MIBs yourself.
>
> Dave
>
--
MSc in Communication Systems
I&C Faculty
EPFL
Switzerland
Home page: http://shuaibe.googlepages.com/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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