squid + mrtg problems (yes, ive checked the archives, read countless webpages, still having probs)

From: Leigh Anderson [Lists] <lists@dont-contact.us>
Date: Sat, 24 Nov 2001 00:08:14 +1030

Heya All,

I've been trying to get Squid+MRTG running now for a few hours and getting a
bit frustrated.

2001/11/23 23:57:32| Failed SNMP agent query from :

getting lots of that in the squid logs, and lots of

23:57:22 root@maka /usr/local/etc/mrtg:# mrtg mrtg-squid.cfg
2001-11-23 23:57:37 -- SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [].3401)
                  community: "public"
                 request ID: 1073551712
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
2001-11-23 23:57:37 -- SNMPGET Problem for cacheServerRequests
cacheServerRequests on public@localhost:3401
 at /usr/local/bin/mrtg line 1489

from MRTG

ive tried quite a lot of combinations in squid, with no success

Yes i have LoadMIBs: /usr/local/etc/squid/mib.txt in there.

I also have tried some of the following in squid with no success

snmp_port 3401
snmp_mib_path /usr/local/etc/squid/mib.txt
snmp_agent_conf view all .1.3.6 included
snmp_agent_conf view squid .1.3.6 included
snmp_agent_conf user squid - all all public
snmp_agent_conf user all all all all  squid
snmp_agent_conf community public squid squid
snmp_agent_conf community readwrite all all
snmp_access allow localhost
snmp_access allow snmppublic localhost
acl snmppublic snmp_community public
and other misc combinations of them... once again with no success.
Squid Cache: Version 2.4.STABLE1
I can email you my whole squid and mrtg configs on request, but would rather
not attach them going out on an emailing list (for your bandwidth's sake) as
theyre quite large.
Any help would be greatly appreciated, its starting to really annoy me.
Leigh Anderson
[reply to lda@intercave.net.au and not lists if possible please.]
Received on Fri Nov 23 2001 - 06:36:21 MST

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