Bluehost.com Web Hosting $6.95

Fwd: snmpwalk & snmpget

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008
snmp girl
 
Posts: n/a
Default Fwd: snmpwalk & snmpget

--===============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>&nbsp;</div>
<div>I test it the snmpgetnext and it gives me the first object .</div>
<div>&nbsp;</div>
<div>so what should I do to get the same results with using the get instead the walk</div>
<div>&nbsp;</div>
<div>thanks</div>
<div><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Mike Ayers</b> &lt;<a href="mailto:mike_ayers@tvworks.com">mike_ayers@tv works.com</a>&gt;<br>Date: 10 avr. 2008 17:47<br>
Subject: RE: snmpwalk &amp; snmpget<br>To: snmp girl &lt;<a href="mailto:snmp.girl@gmail.com">snmp.girl@gmail. com</a>&gt;, <a href="mailto:net-snmp-users@lists.sourceforge.net">net-snmp-users@lists.sourceforge.net</a><br>
<br></span><br>&gt; From: <a href="mailto:net-snmp-users-bounces@lists.sourceforge.net">net-snmp-users-bounces@lists.sourceforge.net</a><br>&gt; [mailto:<a href="mailto:net-snmp-users-bounces@lists.sourceforge.net">net-snmp-users-bounces@lists.sourceforge.net</a>] On<br>
&gt; Behalf Of snmp girl<br><br>&gt; that's what I do , I test with the snmpwalk -c public -v1<br>&gt; localhost .1.3.6.1.4.1.311.1.4.1.1.5.1.2 and it's give me<br>&gt; SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.1.0 = STRING: &quot;master&quot;<br>
&gt; SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.2.0 = STRING: &quot;tempdb&quot;<br>&gt; SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.3.0 = STRING: &quot;model&quot;<br>&gt; SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.4.0 = STRING: &quot;msdb&quot;<br>
&gt; SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.5.0 = STRING: &quot;pubs&quot;<br>&gt; SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.6.0 = STRING: &quot;Northwind&quot;<br>&gt;<br>&gt; so as you say I test with snmpget -c public -v1 localhost<br>
&gt; .1.3.6.1.4.1.311.1.4.1.1.5.1.2.1.0<br>&gt; but it don't work<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The snmpget command encapsulates a single get command and its response.&nbsp;&nbsp;The snmpwalk application encapsulates any number of get-next commands and their responses.&nbsp;&nbsp;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 &quot;enterprise&quot; misspelled and who knows how many other corruptions!).<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Please try an snmpgetnext command on the same object you walked from.&nbsp;&nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks,<br><br>Mike<br>&nbsp;</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==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0