[squid-users] Failed SNMP agent query

From: peter pilsl <pilsl@dont-contact.us>
Date: Thu, 18 Sep 2003 11:59:49 +0200

I'm quite a newbie to snmp but the docs are quite good and so I dont understand
why I cant make squid process my snmp-requests.
I always get an error in the syslogs:

Sep 18 11:07:23 gkserv11 squid[25619]: Failed SNMP agent query from :
xxx.xxx.xxx.xxx.

The commands I tried to query:

$snmpwalk gkserv11.local:3401 public .1.3.6.1.4.1.3495.1.1
$snmpget gkserv11.local:3401 public cacheHttpHits

the config (wide open for testing)

acl all src 0.0.0.0/0.0.0.0

acl snmppublic snmp_community public
snmp_port 3401
snmp_access allow snmppublic all

the squid (its from a package, but is has snmp enabled)

# squid -v
Squid Cache: Version 2.5.STABLE1
configure options: '--prefix=/usr' '--sysconfdir=/etc/squid'
'--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--localstatedir=/var'
'--libexecdir=/usr/sbin' '--datadir=/usr/share/squid' '--with-dl'
'--enable-snmp' '--enable-carp' '--enable-useragent-log' '--enable-auth=basic
digest ntlm'
'--enable-basic-auth-helpers=LDAP MSNT NCSA PAM SMB YP getpwnam
multi-domain-NTLM winbind' '--enable-ntlm-auth-helpers=SMB no_check winbind'
'--enable-digest-auth-helpers=password' '--enable-ntlm-fail-open'
'--enable-referer-log' '--enable-arp-acl' '--enable-htcp' '--enable-underscores'
'--enable-stacktraces' '--enable-delay-pools' '--enable-ssl'
'--enable-cache-digests' '--with-samba-sources=/usr/include/samba'
'--enable-x-accelerator-vary'

thnx,
peter

-- 
IT-Consulting
mag. peter  pilsl
tel:+43-699-1-3574035
fax:+43-699-4-3574035
pilsl@goldfisch.at
http://www.goldfisch.at
Received on Thu Sep 18 2003 - 04:01:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:56 MST