Snmpwalk with Proxysetting is not working as expected.

This is a discussion on Snmpwalk with Proxysetting is not working as expected. within the SNMP Users forums, part of the Networking and Network Related category; --===============1025292369== Content-Type: multipart/alternative; boundary="----=_Part_5167_4901970.1194949244147" ------=_Part_5167_4901970.1194949244147 Content-Type: text/plain; charset=WINDOWS-1252 Content-...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-13-2007
Mushtaq Khan
 
Posts: n/a
Default Snmpwalk with Proxysetting is not working as expected.

--===============1025292369==
Content-Type: multipart/alternative;
boundary="----=_Part_5167_4901970.1194949244147"

------=_Part_5167_4901970.1194949244147
Content-Type: text/plain; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
I am using proxy settings to communicate with the box which is not exposed
to the manager. Successfully communication is happening, but snmpwalk resul=
t
is not what I expected. I will illustrate the set-up, please help me in
understanding the snmpwalk with proxy setting.

Manger communicates with Linux Machine M1, which has the snmp agent with
proxy settings and Linux Machine M2, which has subagent running.

The Linux Machine M1 has the following proxy settings.
Proxy =96c public =96v 2c <ipaddr of M2> .1.3.6.1.2.1.178 .1.3.6.1.2.=
1.178
Proxy =96c public =96v 2c <ipaddr of M2> .1.3.6.1.2.1.154 .1.3.6.1.2.=
1.154
Proxy =96c public =96v 2c <ipaddr of M2> .1.3.6.1.4.1.2222.185
..1.3.6.1.2.1.185

*Snmpwalk =96c public =96v 2c <ipaddr of M1> <mgmt>*
***The output of this command had only the parameters of M1 machine, .i.e. =
I
didn't get any of the proxy parameters. (I was expecting even the proxy
parameters)*

**
*Snmpwalk =96c public =96v 2c <ipaddr of M1> <mgmt.Proxy1>*
***The output had parameters under Proxy1*

*Snmpwalk =96c public =96v 2c <ipaddr of M1> <enterprises>*
***The output had all parameters of M1 under enterprises except parameters
under enterprises.proxy3. (I was expecting even the proxy parameters in
output)*

**
*Snmpwalk =96c public =96v 2c <ipaddr of M1> <enterprises.2222>*
***The out-put no such object available. (I was expecting all the proxy
entries enterprises.2222.185)*

**
*Snmpwalk =96c public =96v 2c <ipaddr of M1> <enterprises.proxy3>*
***The out-put had all proxy parameters under enterprises.proxy3*

Note:
Proxy1=3D1.3.6.1.2.1.154
Proxy2=3D.1.3.6.1.2.1.178
Proxy3=3D.1.3.6.1.4.1.2222.185
Please let me know the behavior of proxy entries.

Thanks,
Mushtaq Khan.

------=_Part_5167_4901970.1194949244147
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial">Hi,</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am using proxy=
settings to communicate with the box which is not exposed to the manager. =
Successfully communication is happening, but snmpwalk result is not what I =
expected. I will illustrate the set-up, please help me in understanding the=
snmpwalk with proxy setting.
</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font>&nbsp;</div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Manger communica=
tes with Linux Machine M1, which has the snmp agent with proxy settings and=
Linux Machine M2, which has subagent running.
</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font>&nbsp;</div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">The Linux Machin=
e M1 has the following proxy settings.
</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Proxy =96c publi=
c =96v 2c &lt;ipaddr of M2&gt; .1.3.6.1.2.1.178 &nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; .1.3.6.1.2.1.178
</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Proxy =96c publi=
c =96v 2c &lt;ipaddr of M2&gt; .1.3.6.1.2.1.154 &nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; .1.3.6.1.2.1.154
</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Proxy =96c publi=
c =96v 2c &lt;ipaddr of M2&gt; .1.3.6.1.4.1.2222.185 &nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .1.3.6.1.2.1.185
</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font>&nbsp;</div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><b><i><font face=3D"Arial" =
size=3D"2"><span style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: i=
talic; FONT-FAMILY: Arial">
Snmpwalk =96c public =96v 2c &lt;ipaddr of M1&gt; &lt;mgmt&gt;</span></font=
></i></b></div>

<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial"></span></font></i></b><b><i><font face=3D"Arial" size=3D"2"><span styl=
e=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: A=
rial">
The output of this command had only the parameters of M1 machine, .i.e. I d=
idn't get any of the proxy parameters. (I was expecting even the proxy para=
meters)</span></font></i></b></div>
<p class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=3D=
"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial=
"></span></font></i></b></p>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial">Snmpwalk =96c public =96v 2c &lt;ipaddr of M1&gt; &lt;mgmt.Proxy1&gt;<=
/span></font>
</i></b></div>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial"></span></font></i></b><b><i><font face=3D"Arial" size=3D"2"><span styl=
e=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: A=
rial">
The output had parameters under Proxy1</span></font></i></b></div>
<p class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FONT-=
SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial">Snmpwalk =96c public =96v 2c &lt;ipaddr of M1&gt; &lt;enterprises&gt;<=
/span></font>
</i></b></div>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial"></span></font></i></b><b><i><font face=3D"Arial" size=3D"2"><span styl=
e=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: A=
rial">
The output had all parameters of M1 under enterprises except parameters und=
er enterprises.proxy3. (I was expecting even the proxy parameters in output=
)</span></font></i></b></div>
<p class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=3D=
"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial=
"></span></font></i></b></p>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial">Snmpwalk =96c public =96v 2c &lt;ipaddr of M1&gt; &lt;enterprises.2222=
&gt;</span>
</font></i></b></div>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial"></span></font></i></b><b><i><font face=3D"Arial" size=3D"2"><span styl=
e=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: A=
rial">
The out-put no such object available. (I was expecting all the proxy entrie=
s enterprises.2222.185)</span></font></i></b></div>
<p class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=3D=
"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial=
"></span></font></i></b></p>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial">Snmpwalk =96c public =96v 2c &lt;ipaddr of M1&gt; &lt;enterprises.prox=
y3&gt;</span>
</font></i></b></div>
<div class=3D"MsoNormal"><b><i><font face=3D"Arial" size=3D"2"><span style=
=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Ar=
ial"></span></font></i></b><b><i><font face=3D"Arial" size=3D"2"><span styl=
e=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: A=
rial">
The out-put had all proxy parameters under enterprises.proxy3</span></font>=
</i></b></div>
<p class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FONT-=
SIZE: 10pt; FONT-FAMILY: Arial"></span></font></p>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial">Note: </span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Proxy1=3D1.3.6.1=
..2.1.154</span>
</font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Proxy2=3D.1.3.6.=
1.2.1.178</span>
</font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Proxy3=3D.1.3.6.=
1.4.1.2222.185
</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial">Please let me know the behavior of proxy =
entries.</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font>&nbsp;</div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</span></font></div>
<div class=3D"MsoNormal"><font face=3D"Arial" size=3D"2"><span style=3D"FON=
T-SIZE: 10pt; FONT-FAMILY: Arial"></span></font><font face=3D"Arial" size=
=3D"2"><span style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Mushtaq Khan.</s=
pan></font>
</div>

------=_Part_5167_4901970.1194949244147--


--===============1025292369==
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--===============1025292369==
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

--===============1025292369==--

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 03:47 AM.


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