hi,

I test it the snmpgetnext and it gives me the first object .

so what should I do to get the same results with using the get instead the
walk

thanks

---------- Forwarded message ----------
From: Mike Ayers <[EMAIL PROTECTED]>
Date: 10 avr. 2008 17:47
Subject: RE: snmpwalk & snmpget
To: snmp girl <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net


> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of snmp girl

> that's what I do , I test with the snmpwalk -c public -v1
> localhost .1.3.6.1.4.1.311.1.4.1.1.5.1.2 and it's give me
> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.1.0 = STRING: "master"
> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.2.0 = STRING: "tempdb"
> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.3.0 = STRING: "model"
> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.4.0 = STRING: "msdb"
> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.5.0 = STRING: "pubs"
> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.6.0 = STRING: "Northwind"
>
> so as you say I test with snmpget -c public -v1 localhost
> .1.3.6.1.4.1.311.1.4.1.1.5.1.2.1.0
> but it don't work

       The snmpget command encapsulates a single get command and its
response.  The snmpwalk application encapsulates any number of get-next
commands and their responses.  Perhaps you made a typo in your command - I
can't tell because you sent us forged output (If that really is a clip, you
have an SMI MIB with "enterprise" misspelled and who knows how many other
corruptions!).

       Please try an snmpgetnext command on the same object you walked
from.  If it does not yield the first object in the snmpwalk listing, please
send us the cut and paste of both comannds and their output.


       Thanks,

Mike
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to