[mrtg] Re: Blank Graphs for CPU System/User Utilization

Syed Ali syed at nec-labs.com
Mon Mar 3 19:06:57 MET 2003


My apologizes, I did not include the header of my cfg file which is:

HtmlDir: /usr/local/mrtg-2/public_html/sun
Imagedir: /usr/local/mrtg-2/public_html/sun
Logdir: /usr/local/mrtg-2/log/sun
Refresh: 300
Options[_]: bits,growright,unknaszero,gauge

Perhaps I need to includes Options for each Title as well?
I'll give that a shot

Thank you...



-----Original Message-----
From: Alex Nguyen [mailto:anguyen at videotron.net] 
Sent: Monday, March 03, 2003 12:21 PM
To: Syed Ali
Cc: mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Blank Graphs for CPU System/User Utilization


Hi,

Add "gauge" as an option. By default, MRTG will caculate the collected
value as a speed.

Regards.

A.

On Mon, 3 Mar 2003, Syed Ali wrote:

SA> Date: Mon, 03 Mar 2003 12:12:24 -0500
SA> From: Syed Ali <syed at nec-labs.com>
SA> To: mrtg at list.ee.ethz.ch
SA> Subject: [mrtg] Blank Graphs for CPU System/User Utilization
SA> 
SA> 
SA> Hello,
SA> 
SA> I am trying to monitor user versus system cpu and I have the below
cfg
SA> file:
SA> 
SA> Title[myhost.cpu]: myhost CPU usage
SA> YLegend[myhost.cpu]: CPU usage
SA> WithPeak[myhost.cpu]: wmy
SA> MaxBytes[myhost.cpu]: 100
SA> Target[myhost.cpu]:
SA> .1.3.6.1.4.1.2021.11.50.0&.1.3.6.1.4.1.2021.11.52.0:public at myhost
SA> ShortLegend[myhost.cpu]: CPU
SA> LegendI[myhost.cpu]: User CPU
SA> LegendO[myhost.cpu]: System CPU
SA> Legend1[myhost.cpu]: User Processor Usage
SA> Legend2[myhost.cpu]: System Processor Usage
SA> Legend3[myhost.cpu]: Maximal 5 Minute User Processor Usage
SA> Legend4[myhost.cpu]: Maximal 5 Minute System Processor Usage
SA> PageTop[myhost.cpu]: <H1>CPU usage for myhost </H1>
SA> 
SA> The SNMP OID's translate to:
SA> := { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1)
SA> ucdavis(2021) systemStats(11) ssCpuRawUser(50) 0
SA> And
SA> := { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1)
SA> ucdavis(2021) systemStats(11) ssCpuRawSystem(52) 0 
SA> 
SA> However my MRTG graphs are all blank for the above cfg???
SA> I got the above template from www.ora.com and modified it
slightly...
SA> 
SA> 
SA> 
SA> 
SA> Thank you...
SA> 
SA> --
SA> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
SA> Archive     http://www.ee.ethz.ch/~slist/mrtg
SA> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
SA> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
SA> 

--
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