I have net-snmp v5.2.2 running on a FreeBSD box (6.1-STABLE). I'm setting up a snmp proxy so that I can get proper header info out of the squid snmp port to properly pull the stats into cacti.
proxy -m /usr/local/etc/squid/mib.txt -v 1 -c public 127.0.0.1:3401 .1.3.6.1.4.1.3495.1 This is the proxy line I have and it works fine, accept when you snmpwalk it snmpwalk -c public -v1 cerberus.crimson.ws:161 .1.3.6.1.4.1.3495.1 It displays the walk of the tree, and the does this.... iso.3.6.1.4.1.3495.1.5.2.1.9.127.0.0.1 = Counter32: 0 Timeout: No Response from cerberus.crimson.ws:161 At which point snmpd on cerberus is now dead. Running snmpd in debug mode it looks fine till it gets to the 127.0.0.1 interface (noted above) And I see this.... trace: snmp_parse_var_op(): snmp.c, 166: dumph_recv: Name dumpx_recv: 06 10 2B 06 01 04 01 9B 27 01 05 02 01 09 7F 00 00 01 dumpv_recv: ObjID: SNMPv2-SMI::enterprises.3495.1.5.2.1.9.127.0.0.1 trace: snmp_pdu_parse(): snmp_api.c, 4375: dumph_recv: Value trace: proxy_got_response(): ucd-snmp/proxy.c, 514: proxy: got error response (2) trace: proxy_got_response(): ucd-snmp/proxy.c, 517: proxy: ignoring error response If I run snmpwalk against the squid snmp daemon itself, It works fine. and display the proper info. iso.3.6.1.4.1.3495.1.5.2.1.9.127.0.0.1 = Counter32: 0 End of MIB It looks like after walking the entire squid OID, it kills snmpd. Anyone have some advice? Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
