[squid-users] SNMP param for new users

From: Edward Millington <edward@dont-contact.us>
Date: Tue, 19 Mar 2002 04:35:31 -0400

After a year, unfortunately, I finally got around to solve my snmp stats problems using MRTG.

Here is my sample file.

For some unknow reason, my cpuusage stop working.

workDir: your_location
LoadMIBs: your_location\squid.mib

######################################################################
# Description: Squid Server
# Contact: Yours
# System Name: server name
# Location: Where ever you are
#.....................................................................

Target[cacheProtoClientHttpRequests]: cacheHttpHits&cacheProtoClientHttpRequests:public@X.X.X.X:3401
MaxBytes[cacheProtoClientHttpRequests]: 100000
Title[cacheProtoClientHttpRequests]: cacheHttpHits
PageTop[cacheProtoClientHttpRequests]: <h1>Cache Statistics: HTTP Hits/Requests @ X.X.X.X</h1>
Suppress[cacheProtoClientHttpRequests]: y
YLegend[cacheProtoClientHttpRequests]: per minute
LegendI[cacheProtoClientHttpRequests]: Http hits
LegendO[cacheProtoClientHttpRequests]: HTTP requests
Legend1[cacheProtoClientHttpRequests]: Http hits
Legend2[cacheProtoClientHttpRequests]: HTTP requests
ShortLegend[cacheProtoClientHttpRequests]: req/min
Options[cacheProtoClientHttpRequests]: nopercent, perminute, dorelpercent

Target[reqpersec]: cacheHttpHits&cacheProtoClientHttpRequests:public@X.X.X.X:3401
MaxBytes[reqpersec]: 100
Title[reqpersec]: Reqs/sec
PageTop[reqpersec]: <h1>Cache Statistics: Reqs/Sec @ X.X.X.X</h1>
Suppress[reqpersec]: y
YLegend[reqpersec]: per sec
LegendI[reqpersec]: Http hits
LegendO[reqpersec]: HTTP requests
Legend1[reqpersec]: Http hits
Legend2[reqpersec]: HTTP requests
ShortLegend[reqpersec]: reqs/sec
Options[reqpersec]: nopercent

Target[cacheDnsRequests]: cacheDnsRequests&cacheDnsRequests:public@X.X.X.X:3401
MaxBytes[cacheDnsRequests]: 100000
Title[cacheDnsRequests]: cacheDnsRequests
PageTop[cacheDnsRequests]: <h1>cacheDnsRequests @ X.X.X.X</h1>
YLegend[cacheDnsRequests]:
LegendI[cacheDnsRequests]: cacheDnsRequests
LegendO[cacheDnsRequests]:
Legend1[cacheDnsRequests]: cacheDnsRequests
Legend2[cacheDnsRequests]:
ShortLegend[cacheDnsRequests]: req/min
Options[cacheDnsRequests]: perminute

Target[cacheCpuUsage]: cacheCpuUsage&cacheCpuUsage:public@X.X.X.X:3401
MaxBytes[cacheCpuUsage]: 100
Title[cacheCpuUsage]: cacheCpuUsage
PageTop[cacheCpuUsage]: <h1>cacheCpuUsage @ X.X.X.X</h1>
Suppress[cacheCpuUsage]: y
YLegend[cacheCpuUsage]:
LegendI[cacheCpuUsage]: cacheCpuUsage
LegendO[cacheCpuUsage]:
Legend1[cacheCpuUsage]: cacheCpuUsage
Legend2[cacheCpuUsage]:
Options[cacheCpuUsage]: nopercent

Target[cacheMemUsage]: cacheMemUsage&cacheMemUsage:public@X.X.X.X:3401
MaxBytes[cacheMemUsage]: 100000
Title[cacheMemUsage]: cacheMemUsage
PageTop[cacheMemUsage]: <h1>cacheMemUsage @ X.X.X.X</h1>
YLegend[cacheMemUsage]:
LegendI[cacheMemUsage]: cacheMemUsage
LegendO[cacheMemUsage]:
Legend1[cacheMemUsage]: cacheMemUsage
Legend2[cacheMemUsage]:
ShortLegend[cacheMemUsage]: b
kMG[cacheMemUsage]: k,M,G,T
kilo[cacheMemUsage]: 1024
Options[cacheMemUsage]: gauge, nopercent

Target[proxy-srvkbinout]: cacheServerInKb&cacheServerOutKb:public@X.X.X.X:3401
MaxBytes[proxy-srvkbinout]: 100000
Title[proxy-srvkbinout]: Cache Server Traffic In/Out
PageTop[proxy-srvkbinout]: <h1>Cache Statistics: Server traffic volume (In/Out) @ X.X.X.X</h1>
Suppress[proxy-srvkbinout]: y
LegendI[proxy-srvkbinout]: Traffic In
LegendO[proxy-srvkbinout]: Traffic Out
Legend1[proxy-srvkbinout]: Traffic In
Legend2[proxy-srvkbinout]: Traffic Out
YLegend[proxy-srvkbinout]: per minute
ShortLegend[proxy-srvkbinout]: b/min
kMG[proxy-srvkbinout]: k,M,G,T
kilo[proxy-srvkbinout]: 1024
Options[proxy-srvkbinout]: nopercent, perminute

Target[cacheSysPageFaults]: cacheSysPageFaults&cacheSysPageFaults:public@X.X.X.X:3401
MaxBytes[cachesyspagefaults]: 100000
Title[cacheSysPageFaults]: cacheSysPageFaults
Options[cacheSysPageFaults]: gauge
PageTop[cacheSysPageFaults]: <h1>cacheSysPageFaults @ X.X.X.X</h1>
YLegend[cacheSysPageFaults]:
LegendI[cacheSysPageFaults]: cacheSysPageFaults
LegendO[cacheSysPageFaults]:
Legend1[cacheSysPageFaults]: cacheSysPageFaults
Legend2[cacheSysPageFaults]:
ShortLegend[cacheSysPageFaults]: pages/min

Thank you very much.
 
Best regards,
 
Edward Millington. BSc, Network+
Systems Administrator, Sr
Cariaccess Communications Ltd.
Palm Plaza
Wildey
St. Michael
Barbados
1-246-430-7435
Fax : 1-246-431-0170
edward@cariaccess.com
www.cariaccess.com
Received on Tue Mar 19 2002 - 01:36:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:59 MST