Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2003 07:52:35 +0100
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        "shawn" <shawn@guillemette.org>, <freebsd-questions@freebsd.org>
Subject:   Re: MRTG and SNMP
Message-ID:  <200312220752.35039.ajacoutot@lphp.org>
In-Reply-To: <000801c3c829$cb3ef120$6701a8c0@tacstation>
References:  <000801c3c829$cb3ef120$6701a8c0@tacstation>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@localhost
MaxBytes[cpu]: 100
Title[cpu]: Cpu
Unscaled[cpu]: dwmy
YLegend[cpu]: % cpu (sys+user)
Options[cpu]: nopercent,growright,gauge,noinfo,nobanner

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312220752.35039.ajacoutot>