Hi all,
I have a little problem with traffico monitoring under Squid-2.3-STABLE4 and
mrtg-2.8.12: mrtg works well with snmp daemon but bad with my Squid: I only
can see a strange graph where there is no peak, only a big mountain that
never decreases: this is my mrtg config file:
WorkDir: /www/traffico/proxy
IconDir: /www/traffico/proxy
LoadMIBs: /usr/local/squid/etc/mib.txt
#Options[]: perhour
Target[cacheServerRequests]:
cacheServerRequests&cacheServerRequests:public@localhost:3401
MaxBytes[cacheServerRequests]: 40000
Title[cacheServerRequests]: cacheServerRequests
Options[cacheServerRequests]: gauge, growright
PageTop[cacheServerRequests]: <h1>cacheServerRequests @ localhost</h1>
YLegend[cacheServerRequests]:
LegendI[cacheServerRequests]: cacheServerRequests
LegendO[cacheServerRequests]:
Legend1[cacheServerRequests]: cacheServerRequests
Legend2[cacheServerRequests]:
Target[cacheServerErrors]:
cacheServerErrors&cacheServerErrors:public@localhost:3401
MaxBytes[cacheServerErrors]: 4000
Title[cacheServerErrors]: cacheServerErrors
Options[cacheServerErrors]: gauge, growright
PageTop[cacheServerErrors]: <h1>cacheServerErrors @ localhost</h1>
YLegend[cacheServerErrors]:
LegendI[cacheServerErrors]: cacheServerErrors
LegendO[cacheServerErrors]:
Legend1[cacheServerErrors]: cacheServerErrors
Legend2[cacheServerErrors]:
Target[cacheServerInKb]:
cacheServerInKb&cacheServerInKb:public@localhost:3401
MaxBytes[cacheServerInKb]: 40000000
Title[cacheServerInKb]: cacheServerInKb
Options[cacheServerInKb]: gauge, growright
PageTop[cacheServerInKb]: <h1>cacheServerInKb @ localhost</h1>
YLegend[cacheServerInKb]:
LegendI[cacheServerInKb]: cacheServerInKb
LegendO[cacheServerInKb]:
Legend1[cacheServerInKb]: cacheServerInKb
Legend2[cacheServerInKb]:
Target[cacheServerOutKb]:
cacheServerOutKb&cacheServerOutKb:public@localhost:3401
MaxBytes[cacheServerOutKb]: 4000000
Title[cacheServerOutKb]: cacheServerOutKb
Options[cacheServerOutKb]: gauge, growright
PageTop[cacheServerOutKb]: <h1>cacheServerOutKb @ localhost</h1>
YLegend[cacheServerOutKb]:
LegendI[cacheServerOutKb]: cacheServerOutKb
LegendO[cacheServerOutKb]:
Legend1[cacheServerOutKb]: cacheServerOutKb
Legend2[cacheServerOutKb]:
#Target[cacheClientHttpRequests]:
cacheClientHttpRequests&cacheClientHttpRequests:public@localhost:3401
#MaxBytes[cacheClientHttpRequests]: 4000
#Title[cacheClientHttpRequests]: cacheClientHttpRequests
#Options[cacheClientHttpRequests]: gauge, growright
#PageTop[cacheClientHttpRequests]: <h1>cacheClientHttpRequests @
localhost</h1>
#YLegend[cacheClientHttpRequests]:
#LegendI[cacheClientHttpRequests]: cacheClientHttpRequests
#LegendO[cacheClientHttpRequests]:
#Legend1[cacheClientHttpRequests]: cacheClientHttpRequests
#Legend2[cacheClientHttpRequests]:
Target[cacheHttpHits]: cacheHttpHits&cacheHttpHits:public@localhost:3401
MaxBytes[cacheHttpHits]: 4000
Title[cacheHttpHits]: cacheHttpHits
Options[cacheHttpHits]: gauge, growright
PageTop[cacheHttpHits]: <h1>cacheHttpHits @ localhost</h1>
YLegend[cacheHttpHits]:
LegendI[cacheHttpHits]: cacheHttpHits
LegendO[cacheHttpHits]:
Legend1[cacheHttpHits]: cacheHttpHits
Legend2[cacheHttpHits]:
Target[cacheHttpErrors]:
cacheHttpErrors&cacheHttpErrors:public@localhost:3401
MaxBytes[cacheHttpErrors]: 4000
Title[cacheHttpErrors]: cacheHttpErrors
Options[cacheHttpErrors]: gauge, growright
PageTop[cacheHttpErrors]: <h1>cacheHttpErrors @ localhost</h1>
YLegend[cacheHttpErrors]:
LegendI[cacheHttpErrors]: cacheHttpErrors
LegendO[cacheHttpErrors]:
Legend1[cacheHttpErrors]: cacheHttpErrors
Legend2[cacheHttpErrors]:
Target[cacheHttpInKb]: cacheHttpInKb&cacheHttpInKb:public@localhost:3401
MaxBytes[cacheHttpInKb]: 4000
Title[cacheHttpInKb]: cacheHttpInKb
Options[cacheHttpInKb]: gauge, growright
PageTop[cacheHttpInKb]: <h1>cacheHttpInKb @ localhost</h1>
YLegend[cacheHttpInKb]:
LegendI[cacheHttpInKb]: cacheHttpInKb
LegendO[cacheHttpInKb]:
Legend1[cacheHttpInKb]: cacheHttpInKb
Legend2[cacheHttpInKb]:
Target[cacheHttpOutKb]: cacheHttpOutKb&cacheHttpOutKb:public@localhost:3401
MaxBytes[cacheHttpOutKb]: 4000
Title[cacheHttpOutKb]: cacheHttpOutKb
Options[cacheHttpOutKb]: gauge, growright
PageTop[cacheHttpOutKb]: <h1>cacheHttpOutKb @ localhost</h1>
YLegend[cacheHttpOutKb]:
LegendI[cacheHttpOutKb]: cacheHttpOutKb
LegendO[cacheHttpOutKb]:
Legend1[cacheHttpOutKb]: cacheHttpOutKb
Legend2[cacheHttpOutKb]:
Target[cacheCurrentSwapSize]:
cacheCurrentSwapSize&cacheCurrentSwapSize:public@localhost:3401
MaxBytes[cacheCurrentSwapSize]: 4000
Title[cacheCurrentSwapSize]: cacheCurrentSwapSize
Options[cacheCurrentSwapSize]: gauge, growright
PageTop[cacheCurrentSwapSize]: <h1>cacheCurrentSwapSize @ localhost</h1>
YLegend[cacheCurrentSwapSize]:
LegendI[cacheCurrentSwapSize]: cacheCurrentSwapSize
LegendO[cacheCurrentSwapSize]:
Legend1[cacheCurrentSwapSize]: cacheCurrentSwapSize
Legend2[cacheCurrentSwapSize]:
Target[cacheNumObjCount]:
cacheNumObjCount&cacheNumObjCount:public@localhost:3401
MaxBytes[cacheNumObjCount]: 4000
Title[cacheNumObjCount]: cacheNumObjCount
Options[cacheNumObjCount]: gauge, growright
PageTop[cacheNumObjCount]: <h1>cacheNumObjCount @ localhost</h1>
YLegend[cacheNumObjCount]:
LegendI[cacheNumObjCount]: cacheNumObjCount
LegendO[cacheNumObjCount]:
Legend1[cacheNumObjCount]: cacheNumObjCount
Legend2[cacheNumObjCount]:
Target[cacheCpuUsage]: cacheCpuUsage&cacheCpuUsage:public@localhost:3401
MaxBytes[cacheCpuUsage]: 4000
Title[cacheCpuUsage]: cacheCpuUsage
Options[cacheCpuUsage]: gauge, growright
PageTop[cacheCpuUsage]: <h1>cacheCpuUsage @ localhost</h1>
YLegend[cacheCpuUsage]:
LegendI[cacheCpuUsage]: cacheCpuUsage
LegendO[cacheCpuUsage]:
Legend1[cacheCpuUsage]: cacheCpuUsage
Legend2[cacheCpuUsage]:
Target[cacheMemUsage]: cacheMemUsage&cacheMemUsage:public@localhost:3401
MaxBytes[cacheMemUsage]: 4000
Title[cacheMemUsage]: cacheMemUsage
Options[cacheMemUsage]: gauge, growright
PageTop[cacheMemUsage]: <h1>cacheMemUsage @ localhost</h1>
YLegend[cacheMemUsage]:
LegendI[cacheMemUsage]: cacheMemUsage
LegendO[cacheMemUsage]:
Legend1[cacheMemUsage]: cacheMemUsage
Legend2[cacheMemUsage]:
Target[cacheSysPageFaults]:
cacheSysPageFaults&cacheSysPageFaults:public@localhost:3401
MaxBytes[cacheSysPageFaults]: 4000
Title[cacheSysPageFaults]: cacheSysPageFaults
Options[cacheSysPageFaults]: gauge, growright
PageTop[cacheSysPageFaults]: <h1>cacheSysPageFaults @ localhost</h1>
YLegend[cacheSysPageFaults]:
LegendI[cacheSysPageFaults]: cacheSysPageFaults
LegendO[cacheSysPageFaults]:
Legend1[cacheSysPageFaults]: cacheSysPageFaults
Legend2[cacheSysPageFaults]:
I am sure that port 3401 in Squid daemon is working because test "snmpwalk
...... " descibed in the Squid FAQ works well.
Thank to anyone could help me.
Berto
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Mon Sep 11 2000 - 12:00:21 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:15 MST