Search squid archive

RE: SNMP & Squid 2.6STABLE12 problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
Subject:  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.



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux