Re: Not all mib files of a dir get parsed by snmptranslate

"Hans Dampf" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
dlmod Gwsnmp disabled:

SERVER:~ # snmpgetnext -c public <host> -v 2c 1.3.6.1.4.1.23
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
SERVER:~ # snmpgetnext -c public <host> -v 2c -On 1.3.6.1.4.1.23
.1.3.6.1.4.1.2021.4.1.0 = INTEGER: 0
SERVER:~ #

dlmod Gw... enabled:

SERVER:~ # snmpgetnext -c public <host> -v 2c 1.3.6.1.4.1.23
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
SERVER:~ #

SERVER:~ # snmpgetnext -c public <host> -v 2c 1.3.6.1.4.1.23.9999
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
SERVER:~ # snmpgetnext -c public <host> -v 2c -On 1.3.6.1.4.1.23.9999
.1.3.6.1.4.1.2021.4.1.0 = INTEGER: 0
SERVER:~ # snmpgetnext -c public <host> -v 2c 1.3.6.1.4.1.24
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
SERVER:~ #

Why doesn't ....1.23 have a next entry, but ...1.23.9999 do???
The only thing I can see is, I don't understand how it works ;-).

Will update the client if possible...

Iareber


>From: "Dave Shield" <[email protected]>
>To: "Hans Dampf" <[email protected]>
>CC: [email protected]
>Subject: Re: Not all mib files of a dir get parsed by snmptranslate
>Date: Wed, 6 Jun 2007 16:48:51 +0100
>
>On 06/06/07, Hans Dampf <[email protected]> wrote:
> > snmpgetnext: same error
> >
> > then I've tried snmpwalk, reduced OID step by step.
> > but surprisingly  - there is a difference if I have the dlmod entry in
> > snmpd.conf enabled or not:
> >
> > with disabled:
> > #dlmod Gwsnmp /opt/novell/groupwise/agents/lib/libgwsnmp.so
> >
> > snmpwalk gets result of the agent with OID shorter and equal than:
> > 1.3.6.1.4.1
> >
> > 1.3.6.1.4.1.23 and longer have:
> > No Such Object available on this agent at this OID
>
>That's what I'd expect.
>Just to be certain - what does
>      snmpgetnext  ...... .1.3.6.1.4.1.23
>give?
>
>
> > with enabled:
> > dlmod Gwsnmp /opt/novell/groupwise/agents/lib/libgwsnmp.so
> >
> > 1.3.6.1.4 results:
> > SNMPv2-SMI::private = No Such Object available on this agent at this OID
>
>What does
>      snmpgetnext  ...... .1.3.6.1.4.1.23
>give?
>
>What about
>      snmpgetnext  ...... .1.3.6.1.4.1.23.9999
>and
>      snmpgetnext  ...... .1.3.6.1.4.1.24
>?
>
>
>
>I believe you mentioned you were working with version 5.1.3.1.
>This is rather old (and no longer being maintained).
>
>Can you try with a newer version of the agent?
>
>
>Dave
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>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
>

_________________________________________________________________
Live Earth - ein gigantisches Konzert kämpft gegen die Klimakrise. 
http://liveearthsos.msn.com/Hub.aspx?mkt=de-ch


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.