(trimming absurdly long Cc list)

On Fri, 3 Feb 2006, Brian A. Seklecki wrote:

> I will say this, though.  It takes about 35 seconds to do an "ipmitool sdr
> list full".  Thus, for every two values you would like to graph in MRTG,
> you can add 35 seconds to the job's run time.  The time it takes to do an
> "ipmi sensor get 'blah'" is marginally different than a list.

[EMAIL PROTECTED] djm]$ time sysctl hw.sensors | grep temp
hw.sensors.0=admtm0, Internal, temp, 39.00 degC / 102.20 degF
hw.sensors.1=admtm0, External, temp, 32.00 degC / 89.60 degF
    0m0.03s real     0m0.00s user     0m0.02s system

works fine in mrtg too:

Target[case_temp]: `sysctl hw.sensors.1 | awk '{print 0; print $4 * 1000}'`
Title[case_temp]: fuyu.mindrot.org Case Temperature
MaxBytes[case_temp]: 75000
Legend2[case_temp]: Temperature
LegendO[case_temp]: Temperature
Factor[case_temp]: 0.001
YTicsFactor[case_temp]: 0.001
YLegend[case_temp]: Degrees Celcius
ShortLegend[case_temp]: C
Options[case_temp]: gauge,nopercent,unknaszero,noinfo,noi
Unscaled[case_temp]: dwym

Reply via email to