Re: [squid-users] Squid 3.1 + mrtg

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 02 Nov 2009 23:47:41 +1300

Babu Chaliyath wrote:
> Hi List,
> Struggling to get mrtg working with squid. No values shown in the mrtg graph.
>
> My System as follows
> OS Freebsd 7.2
> Squid 3.1.0.14
> Snmpwalk 5.4.2.1
> mrtg 2.16.2
>
>
> Squid snmp acls are working fine as I am getting results with following command
> #snmpwalk -m /usr/local/etc/squid/mib.txt -v2c -Cc -c public
> localhost:3401 .1.3.6.1.4.1.3495.1.1
>
> But when I run mrtg
> I am getting following errors
>
> Unknown SNMP var cacheServerRequests
> at /usr/local/bin/mrtg line 2202
> Unknown SNMP var cacheServerRequests
> at /usr/local/bin/mrtg line 2202
> Unknown SNMP var cacheUptime
> at /usr/local/bin/mrtg line 2202
> Unknown SNMP var cacheSoftware
> at /usr/local/bin/mrtg line 2202
> Unknown SNMP var cacheVersionId
>
> Btw I am using the mrtg configurator downloaded from Adrian Chadd's
> squid blog. Available in <
> http://www.xenion.com.au/static/squid-mrtg-1.0.tar.gz >
>
> It would be great if any can help me out with some clues where I am going wrong.
> Regards
> Babs

Make sure that the mib.txt you/mrtg are using came from the 3.1 source
code. There have been major changes to the MIB numbering in 3.1.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.14
Received on Mon Nov 02 2009 - 10:47:59 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 03 2009 - 12:00:02 MST