This is something I use to do CPU on a linux based device, should work for
RedHat:

###
### CPU
###

WorkDir: /dir/structure
Refresh: 300
Interval: 5
WriteExpires: Yes
IconDir: /images/dir/
NoSpaceChar: ~
#SnmpOptions: timeout => 1, retries => 1

WithPeak[^]:dwmy
Options[^]: gauge
Background[^]: #ffffff
YLegend[^]: % Utilization
ShortLegend[^]: % Util
LegendI[^]: 1 Min
LegendO[^]: 5 Min
MaxBytes[^]: 100
Title[^]:CPU Load
PageTop[^]:<H1>Title:
PageTop[$]: </H1>

# Default - CPU String
Target[^]: 100 -
1.3.6.1.4.1.2021.11.11.0&1.3.6.1.4.1.2021.11.11.0:SNMP_STRING@~

# Location: NAME
Directory[NAME.cpu]: NAME
Target[NAME.cpu]:IP_ADDR
RouterUptime[NAME.cpu]: SNMP_STRING at IP_ADDR
PageTop[NAME.cpu]: NAME


Here's a load version, too:

###
### Load
###

WorkDir: /dir/structure
Refresh: 300
Interval: 5
WriteExpires: Yes
IconDir: /images/dir/
NoSpaceChar: ~
#SnmpOptions: timeout => 1, retries => 1

WithPeak[^]:dwmy
Options[^]: gauge
Background[^]: #ffffff
Factor[^]: 0.01
YTicsFactor[^]: 0.1
YLegend[^]: Load
ShortLegend[^]: Load
LegendI[^]: 1 Min
LegendO[^]: 5 Min
MaxBytes[^]: 1000
Title[^]:Load
PageTop[^]:<H1>TITLE:
PageTop[$]: </H1>

# Default - CPU String
Target[^]: 100 *
.1.3.6.1.4.1.2021.10.1.3.1&.1.3.6.1.4.1.2021.10.1.3.2:SNMP_STRING@~

# Location: NAME
Directory[NAME.load]: NAME
Target[NAME.load]:IP_ADDR
RouterUptime[NAME.load]: SNMP_STRING at IP_ADDR
PageTop[NAME.load]: NAME





============================
Daniel Rysztak, CCNP
http://www.druids-grove.net/

-----Original Message-----
From: tclug-list-bounces at mn-linux.org
[mailto:tclug-list-bounces at mn-linux.org]On Behalf Of Adam Maloney
Sent: Sunday, April 04, 2004 11:28 AM
To: mmurphy at tc-tech.com; TCLUG Mailing List
Subject: Re: [TCLUG] MTRG cpu monitoring


Have you checked out the scripts in the contrib/ directory from the
distribution?  Last I checked there were at least 2 in there for CPU
monitoring.

Adam Maloney
Systems Administrator
Sihope Communications
On Fri, 2 Apr 2004, Matt Murphy wrote:

>
> Folks, I've tried several different methods of getting load monitoring
> logged to mrtg, and it's just not working for me, so I'm looking for
> known-good methods. I'm running redhat 9 on an nforce2/athlon system.
> Recommendations???
>
> Matt
>
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list
>

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list