[mrtg] Measuring CPU temp

Mark asarian at xs4all.nl
Wed May 19 05:41:14 MEST 2004


Hello,

I set up the following section in mrtg.cfg (2.0.13), to measure the CPU temperature:

Target[cpu_temp]: `/usr/bin/cputemp.pl`
Options[cpu_temp]: gauge, nopercent, growright
YLegend[cpu_temp]: Degrees C
ShortLegend[cpu_temp]: °C
MaxBytes[cpu_temp]: 60
Title[cpu_temp]: CPU Temperature
PageTop[cpu_temp]: <H1>CPU temperature</H1>
LegendI[cpu_temp]: &#160;CPU Temperature
LegendO[cpu_temp]: &#160;MB Temperature

It works fine, except that it gives me a graph with a scale from 0 to 36 (which has been its max temperature). I'd like, and had expected, a graph that goes from 0 to 60, as per the MaxBytes directive. How can I achieve that?

Thanks,

- Mark

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