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