[mrtg] Graphing CPU

Shane Presley shane.presley at gmail.com
Thu Jul 29 21:23:40 MEST 2004

Hi There,

I'm trying to graph the CPU of my CheckPoint firewall.  I know the
OID, and when I SNMPGET that OID, I get the CPU value.  I want a
simple graph of the current CPU utilization.  So I tried this:

. at
MaxBytes[fw1cpu]: 100
Title[fw1cpu]: CPU LOAD
PageTop[fw1cpu]: <H1>Active CPU Load %</H1>
ShortLegend[fw1cpu]: %
YLegend[fw1cpu]: CPU Utilization
Legend1[fw1cpu]: Active CPU in % (Load)
LegendI[fw1cpu]:  Active
Options[fw1cpu]: growright,nopercent
And when I look at the log, it gets the right CPU value..

1091127077 15 15
1091127077 0 0 0 0
1091124924 0 0 0 0
1091124900 0 0 0 0
1091124600 0 0 0 0

But the problem is, everytime MRTG runs (every 5 minutes), it
overwrites that first line.  So the .log file always only has one
value in it.  I assume it's not liking the values it gets back.  So my
cfg file must be wrong?  My graph just always shows blank, because my
.log file never has more than one data entry in it.

Any help? THANKS!

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list