Well, I configured Squid to use the snmp support.

Added this to squid.conf:
snmp_port 3401
acl pb snmp_community public
snmp_access allow pb

Netstat shows me that the port 3401 is bound to squid and listening:

gw:~# netstat -apnu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
PID/Program name
udp        0      0 0.0.0.0:3401            0.0.0.0:*
29645/(squid)
udp        0      0 0.0.0.0:35049           0.0.0.0:*
29645/(squid)

But, when I try to connect, using snmpwalk, it give me a timeout:

gw:~# snmpwalk localhost:3401 -v 2c -c pb
Timeout: No Response from localhost:3401

I'm not experienced with snmp, what am I missing? Using Sarge.

Miguel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to