Hello Henrik,
I am running mrtg in different machine and snmp and squid in separate
machine.
So how do i set LoadMIBs tag in mrtg configuration
Thanks
Jack
> No idea then, except that you are at least partially asking for the
> wrong counters. What you want is the counters in the
> cacheProtoAggregateStats group. cacheClientHttpRequests is from the
> cacheClientTable group and cannot easily be plotted (too many of
> them, one per client IP).
>
> cacheServerRequests is in the correct group. The only times I have
> seen MRTG giving this error on correct variables is when it haven't
> been told to read the Squid MIB definition. Make sure you have the
> directive first in your config before any measurement targets, and
> that MRTG have access to read the mib file.
>
> Regards
> Henrik
>
> On Monday 17 June 2002 05.57, Jack wrote:
> > Hello Henrik,
> >
> > Yes.
> > in MRTG file there is a line
> > LoadMIBs: /usr/local/squid/etc/mib.txt
> >
> > -Jack
> >
> > > Have you tols MRTG where to find the Squid MIB?
> > >
> > > On Saturday 15 June 2002 11:29, Jack wrote:
> > > > Hello All,
> > > > I am using squid-2.4.STABLE6 in redhat-7.2
> > > > I am using MRTG(2.9.17)-SNMP to monitor squid
> > > >
> > > > After configuring squid and MRTG-SNMP and when i run mrtg i got
> > > > following message
> > > >
> > > > Unknown SNMP var cacheServerRequests
> > > > at /usr/local/mrtg-2/bin/mrtg line 1491
> > > > Unknown SNMP var cacheServerRequests
> > > > at /usr/local/mrtg-2/bin/mrtg line 1491
> > > > WARNING: Expected a number but got ''
> > > > WARNING: Expected a number but got ''
> > > > Unknown SNMP var cacheServerErrors
> > > > at /usr/local/mrtg-2/bin/mrtg line 1491
> > > > Unknown SNMP var cacheServerErrors
> > > > at /usr/local/mrtg-2/bin/mrtg line 1491
> > > > WARNING: Expected a number but got ''
> > > > WARNING: Expected a number but got ''
> > > > Unknown SNMP var cacheServerInKb
> > > > at /usr/local/mrtg-2/bin/mrtg line 1491
> > > > Unknown SNMP var cacheServerOutKb
> > > > at /usr/local/mrtg-2/bin/mrtg line 1491
> > > > WARNING: Expected a number but got ''
> > > > WARNING: Expected a number but got ''
> > > > Unknown SNMP var cacheClientHttpRequests
> > > > at /usr/local/mrtg-2/bin/mrtg line 1491
> > > > .....
> > > >
> > > > Target[cacheServerRequests]:
> > > > cacheServerRequests&cacheServerRequests:public@172.
> > > > 16.1.111:3401
> > > > MaxBytes[cacheServerRequests]: 10000000
> > > > Title[cacheServerRequests]: Server Requests @ cache
> > > > Options[cacheServerRequests]: growright, nopercent
> > > > PageTop[cacheServerRequests]: <h2>Server Requests @ cache</h2>
> > > > YLegend[cacheServerRequests]: requests/sec
> > > > ShortLegend[cacheServerRequests]: req/s
> > > > LegendI[cacheServerRequests]: Requests
> > > > LegendO[cacheServerRequests]:
> > > > Legend1[cacheServerRequests]: Requests
> > > > Legend2[cacheServerRequests]:
> > > >
> > > >
> > > >
> > > > And i did not get any flow in graphs like clienthttprequest,
> > > > clienthttphits etc
> > > >
> > > > What will be the problem here
> > > >
> > > > Thanks
> > > > Jack
> > > >
> > > >
> > > >
> > > > _________________________________________________________
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Tue Jun 18 2002 - 09:08:12 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:43 MST