On Wed, 2007-06-27 at 15:18 +0200, Schlageter Benjamin wrote:
> Hello everybody
> 
> I run here MRTG 2.15.2.
> 
> Now i want to monitor my Squid over the Squid own SNMP Port 3401 - on an old 
> MRTG installation, it worked perfect! But now, it looks like MRTG doesn't 
> load the MIB.
> 
> Here a sample piece of the cfg file:
> 
> WorkDir: /home/mrtg/squid
> LoadMIBs: /usr/share/snmp/mibs/SQUID-MIB.txt

Does the mib-file SQUID-MIB.txt have any IMPORTS stanzas?  LoadMIBS is
not smart enough to follow those on its own.  You need to specify them
before the mib.

For example, lets say that SQUID-MIB had imports from OCTOPUS-SMI-MIB.
You would need to do:

LoadMIBS: /usr/share/snmp/mibs/OCTOPUS-SMI-MIB.txt 
/usr/share/snmp/mibs/SQUID-MIB.txt

> 
> Unknown SNMP var cacheServerRequests
>  at /usr/local/mrtg-2/bin/mrtg line 2150
> Use of uninitialized value in concatenation (.) or string at 
> /usr/local/mrtg-2/bin/mrtg line 2166.
> Use of uninitialized value in concatenation (.) or string at 
> /usr/local/mrtg-2/bin/mrtg line 2166.


-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to