From: Buchan M. <bg...@st...> - 2011-06-01 14:47:02
|
On Wednesday, 1 June 2011 16:30:44 Josh Luthman wrote: > >No version of this template has had RRD support for the power test (yet). > > If > > >you have a temperature sensor, the 'temp' test should though. > > I don't have a temp column, should I? I get an answer for the first OID > but the humidity is -1. > > >This should not be necessary in 4.2.3 or later. > > I'll remove it once everything is working, thanks for the tip. I am > running 4.3.2 > > > bb localhost 'hobbitdlog ups.power' > > http://pastebin.com/DaySRCTe No RRD "header" for the devmon collector. > >rrdtool info /home/xymon/data/rrd/stouderapc/power.rrd > > http://pastebin.com/2hjKyrXZ Looks like this was collected by NCV, but the values following the "C" are not pure numeric. I would suggest you play with the formatting in the messages file to ensure that lines with a colon are strictly: Name : value Something like this: Index: templates/apc-9619/power/message =================================================================== --- templates/apc-9619/power/message (revision 225) +++ templates/apc-9619/power/message (working copy) @@ -12,12 +12,15 @@ UPS Status: {upsOutStat} Battery Status: {upsBattStat} -Runtime Remaining: {upsMinsRunTime} minutes (red={upsMinsRunTime.thresh:red}m) +Runtime Remaining: {upsMinsRunTime} + - minutes (red={upsMinsRunTime.thresh:red}m) Battery Capacity: {upsBattCap}% UPS Load: {upsLoadOut}% (yellow={upsLoadOut.thresh:yellow}% red={upsLoadOut.thresh:red}%) -Voltage in: {upsVoltageIn}v (yellow={upsVoltageIn.thresh:yellow}v red={upsVoltageIn.thresh:red}v) -Voltage out: {upsVoltageOut}v +Voltage in: {upsVoltageIn} + (yellow={upsVoltageIn.thresh:yellow}v red={upsVoltageIn.thresh:red}v) +Voltage out: {upsVoltageOut} Last failure due to: {upsFailCause} -Time on battery: {upsSecsOnBatt} secs +Time on battery: {upsSecsOnBatt} + - seconds Regards, Buchan |