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.
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 –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 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 M1> <mgmt.Proxy1> The output had parameters under Proxy1 Snmpwalk –c public –v 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 –c public –v 2c <ipaddr of M1> <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 M1> <enterprises.proxy3> The out-put had all proxy parameters under enterprises.proxy3 Note: Proxy1=1.3.6.1.2.1.154 Proxy2=.1.3.6.1.2.1.178 Proxy3=.1.3.6.1.4.1.2222.185 Please let me know the behavior of proxy entries. Thanks, Mushtaq Khan. ------------------------------------------------------------------------- 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
