[squid-users] Squid, snmp and MRTG

From: <Jim_Brouse/PYT@dont-contact.us>
Date: Thu, 11 Dec 2003 09:49:59 -0700

I am trying to configure Squid for snmp although when I execute mrtg
pointing to my mrtg-squid.cfg I get a error "no response recieved".

I am using the walkthrough contained on
http://www.psychofx.com/chris/unix/mrtg/

I have edited squid.conf and configured it for SNMP on port 3401 and have
uncommented the following sections and squid stops and starts without
errors.

Since I have the acl snmppublic do I need to add my ip to the acl so that I
can query squid?

 snmp_port 3401
         acl snmppublic snmp_community public
 snmp_access allow snmppublic localhost
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 255.255.255.255

output below.
mrtg /var/www/mrtg/mrtg-squid.cfg
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].3401)
                  community: "public"
                 request ID: -2107181969
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/share/perl5/SNMP_util.pm line 465
SNMPGET Problem for cacheServerRequests cacheServerRequests cacheUptime
cacheSoftware cacheVersionId on public@localhost:3401
 at /usr/bin/mrtg line 1683
Use of uninitialized value in concatenation (.) or string at /usr/bin/mrtg
line 1686.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mrtg
line 1686.
Modification of non-creatable array value attempted, subscript -2 at
/usr/bin/mrtg line 1686.

Jim
Received on Thu Dec 11 2003 - 09:50:16 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:10 MST