MRTG and Squid

From: Nuno Guarda <nuno.guarda@dont-contact.us>
Date: Fri, 31 Mar 2000 11:25:15 +0100

Hi all.

I'm writting you this message to try to get some help on running MRTG and
Squid.
I have the latest version of MRTG (version 2.8.11) and I'm using Squid
version 2.2.STABLE5.

I've compiled and installed Squid with ./configure --enable-snmp and i'm
already using MRTG to collect some information in some Cisco routers I have.

I've configured squid.conf to act allow SNMP (the message "Accepting SNMP
messages on port 3401" appears in my cache.log file) but, using your
configuration file available at
http://www.ircache.net/Cache/cache-snmp/mrtg-demo/mrtg-squid-snmp.cfg, I
get multiple errors like:
[...]
SNMPGET: Failed to reach target:
"cacheServerRequests&cacheServerRequests:public@localhost:3401". I tried
multiple times!
Unknown SNMP var cacheSysPageFaults
Unknown SNMP var cacheSysPageFaults
[...]

My squid.conf has the following lines:
        acl snmppublic snmp_community public
        snmp_port 3401
        snmp_access allow snmppublic localhost
        snmp_access allow snmppublic cache-mgr (where cache-mgr is an ACL
identifying the IP address of the Squid host)
        snmp_access deny all

Can someone help me with this problem? I've already read the archived
messages...

Thanks in advance,

Nuno
Received on Fri Mar 31 2000 - 03:25:29 MST

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