RE: [squid-users] SNMP & Squid 2.6STABLE12 problems

From: <Ken.Thomson@dont-contact.us>
Date: Fri, 13 Jul 2007 14:33:45 +1000

To answer my own question...(why do you always find a solution only
minutes after posting a Q :-)

The reason for the errors was that the new snmpwalk program defaults to
using the SNMP v3 protocol which it appears Squid does not understand.

If I use a command of 'snmpwalk -v 1 -c public udp:localhost:3401
.1.3.6.1.4.1.3495.1.1' I get the results expected.

Cheers,
Ken.

-----Original Message-----
From: Ken Thomson
Sent: Friday, 13 July 2007 2:15 PM
To: squid-users@squid-cache.org
Subject: [squid-users] SNMP & Squid 2.6STABLE12 problems

Hi list,
 
I am trying to configure Squid 2.6STABLE12 to accept SNMP queries, but
so far have been unsuccessful.
 
Squid was configured with --enable-snmp. The appropriate lines from
squid.conf are:

snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic all
snmp_access deny all

snmp_incoming_address 0.0.0.0
snmp_outgoing_address 0.0.0.0

When I try to use snmpwalk (from NET-SNMP v5.3.1) with 'snmpwalk -c
public localhost:3401 .1.3.6.1.4.1.3495.1.1' I receive a 'snmpwalk:
Timeout' message. When I examine cache.log I see many entries of
'Failed SNMP agent query from : 127.0.0.1.'. I have confirmed using
netstat that squid is listening on 3401 with UDP.

What I am doing wrong?

Kind Regards,
Ken.
Received on Thu Jul 12 2007 - 22:33:57 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT