This is a discussion on Fwd: snmpwalk & snmpget within the SNMP Users forums, part of the Networking and Network Related category; --===============0796351474== Content-Type: multipart/alternative; boundary="----=_Part_23811_20834311.1207910421808" ------=_Part_23811_20834311.1207910421808 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0796351474==
Content-Type: multipart/alternative; boundary="----=_Part_23811_20834311.1207910421808" ------=_Part_23811_20834311.1207910421808 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 <mike_ayers@tvworks.com> Date: 10 avr. 2008 17:47 Subject: RE: snmpwalk & snmpget To: snmp girl <snmp.girl@gmail.com>, net-snmp-users@lists.sourceforge.net > From: net-snmp-users-bounces@lists.sourceforge.net > [mailto:net-snmp-users-bounces@lists.sourceforge.net] 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 ------=_Part_23811_20834311.1207910421808 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div><br>hi,</div> <div> </div> <div>I test it the snmpgetnext and it gives me the first object .</div> <div> </div> <div>so what should I do to get the same results with using the get instead the walk</div> <div> </div> <div>thanks</div> <div><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Mike Ayers</b> <<a href="mailto:mike_ayers@tvworks.com">mike_ayers@tv works.com</a>><br>Date: 10 avr. 2008 17:47<br> Subject: RE: snmpwalk & snmpget<br>To: snmp girl <<a href="mailto:snmp.girl@gmail.com">snmp.girl@gmail. com</a>>, <a href="mailto:net-snmp-users@lists.sourceforge.net">net-snmp-users@lists.sourceforge.net</a><br> <br></span><br>> From: <a href="mailto:net-snmp-users-bounces@lists.sourceforge.net">net-snmp-users-bounces@lists.sourceforge.net</a><br>> [mailto:<a href="mailto:net-snmp-users-bounces@lists.sourceforge.net">net-snmp-users-bounces@lists.sourceforge.net</a>] On<br> > Behalf Of snmp girl<br><br>> that's what I do , I test with the snmpwalk -c public -v1<br>> localhost .1.3.6.1.4.1.311.1.4.1.1.5.1.2 and it's give me<br>> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.1.0 = STRING: "master"<br> > SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.2.0 = STRING: "tempdb"<br>> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.3.0 = STRING: "model"<br>> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.4.0 = STRING: "msdb"<br> > SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.5.0 = STRING: "pubs"<br>> SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.6.0 = STRING: "Northwind"<br>><br>> so as you say I test with snmpget -c public -v1 localhost<br> > .1.3.6.1.4.1.311.1.4.1.1.5.1.2.1.0<br>> but it don't work<br><br> 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!).<br> <br> 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.<br><br><br> Thanks,<br><br>Mike<br> </div> ------=_Part_23811_20834311.1207910421808-- --===============0796351474== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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;198757...un.com/javaone --===============0796351474== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/...net-snmp-users --===============0796351474==-- |