Hi, 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.
I have to Linux boxes, M1 and M2.
On the Machine M1, Snmpd.conf file has the following proxy settings
Proxy -c public -v 2c <ipaddr of M2> .1.3.6.1.2.1.178
.1.3.6.1.2.1.178
Proxy -c public -v 2c <ipaddr of M2> .1.3.6.1.2.1.154
.1.3.6.1.2.1.154
Proxy -c public -v 2c <ipaddr of M2> .1.3.6.1.4.1.2222.185
.1.3.6.1.2.1.185
The MIB tree on M1 Machine is
Note: All the Dark lines represent the parameters of M1 and Dashed lines
represents the Proxy parameters(M2).
-->Snmpwalk -c public -v 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 -c public -v 2c <ipaddr of M2> <mgmt.Prx1>
The output had parameters under Prx1
-->Snmpwalk -c public -v 2c <ipaddr of M2> <enterprises>
The output had all parameters of M1 under enterprises except under
enterprises.2222 (Proxy entries). (I was expecting even the proxy
parameters in output)
--> Snmpwalk -c public -v 2c <ipaddr of M2> <enterprises.2222>
The out-put no such object available. (I was expecting all the proxy
entries enterprises.2222.185)
--> Snmpwalk -c public -v 2c <ipaddr of M2> <enterprises.2222.185>
The out-put had all proxy parameters under enterprises.2222.185.
Are these results expected one. Please let me know the behavior of proxy
entries.
Thanks,
-Mushtaq Khan
<<image001.gif>>
<<image002.gif>>
------------------------------------------------------------------------- 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/
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
