Re: [squid-users] Squid, snmp and MRTG

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 11 Dec 2003 21:59:55 -0700 (MST)

On Thu, 11 Dec 2003 Jim_Brouse/PYT@PASCUAYAQUITRIBE.ORG wrote:

>
> This is the command I used mrtg /var/www/mrtg/mrtg-squid.cfg 49,9
>
> Is that how you meant for 49,9 to be used?

Not really. I meant for this line to be in squid.conf:

    debug_options ALL,1 49,9

> Below is the output in cache.log
>
> 2003/12/11 08:47:09| Failed SNMP agent query from : 127.0.0.1.

This is helpful anyway. It implies that Squid is denying the SNMP
query because it is not matching your access rules. Based on what
you've shown so far, it seems like it should work. You are sending
queries to 127.0.0.1 and using 'public' as the SNMP community.

To see if the problem is with Squid or with MRTG, you might want
to try a different SNMP client, such as snmpget from Net-SNMP
(net-snmp.sourceforge.net). For example:

    % snmpget -v 1 -c public localhost:3401 .1.3.6.1.4.1.3495.1.1.1

Duane W.
Received on Thu Dec 11 2003 - 21:59:56 MST

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