MRTG and SNMP
Antoine Jacoutot
ajacoutot at lphp.org
Sun Dec 21 22:54:22 PST 2003
On Monday 22 December 2003 02:20, shawn wrote:
> I'm looking to get MRTG working to monitor the traffic and CPU of a
> server of mine..
Something like this should work:
Target[fxp0]: 1:public at localhost:
SetEnv[fxp0]: MRTG_INT_IP="xxx.xxx.xxx.xxx" MRTG_INT_DESCR="fxp0"
MaxBytes[fxp0]: 12500000
Title[fxp0]: Lan
Options[fxp0]: nopercent,growright,noinfo
Kilo[fxp0]: 1024
Ylegend[fxp0]: octets/s
WithPeak[fxp0]: dwmy
Target[cpu]: .1.3.6.1.4.1.2021.11.9.0&.1.3.6.1.4.1.2021.11.10.0:public at localhost
MaxBytes[cpu]: 100
Title[cpu]: Cpu
Unscaled[cpu]: dwmy
YLegend[cpu]: % cpu (sys+user)
Options[cpu]: nopercent,growright,gauge,noinfo,nobanner
Antoine
More information about the freebsd-questions
mailing list