|
From: Josh L. <jo...@im...> - 2011-06-02 19:23:11
|
Sorry about that, I didn't recognize that format.
I made the changes, deleting power.rrd and the file is no longer being
generated.
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
On Thu, Jun 2, 2011 at 4:12 AM, Buchan Milne <bg...@st...>wrote:
> I supplied a diff you should have been able to apply to the original
> messages
> file.
>
> Here is the complete modified messages file:
>
>
> {upsStatus.errors}
> {upsBattStat.errors}
> {upsLoadOut.errors}
> {upsBattRep.errors}
> {upsVoltageIn.errors}
>
> UPS status:
>
> Vendor: apc
> Model: {upsModel}
>
> UPS Status: {upsOutStat}
> Battery Status: {upsBattStat}
>
> 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}
> (yellow={upsVoltageIn.thresh:yellow}v
> red={upsVoltageIn.thresh:red}v)
> Voltage out: {upsVoltageOut}
>
> Last failure due to: {upsFailCause}
> Time on battery: {upsSecsOnBatt}
> - seconds
>
>
> Regards,
> Buchan
>
> On Wednesday, 1 June 2011 18:00:33 Josh Luthman wrote:
> > I put that information in the message file and now it is putting that on
> > the Xymon page (
> > http://172.16.0.114/xymon-cgi/svcstatus.sh?HOST=stouderapc&SERVICE=power)
> >
> > Looks like this: http://i.imgur.com/dGAzY.png
> >
> > It doesn't look like it's reading it correctly or I told it to do
> something
> > wrong.
> >
> > Josh Luthman
> > Office: 937-552-2340
> > Direct: 937-552-2343
> > 1100 Wayne St
> > Suite 1337
> > Troy, OH 45373
> >
> > On Wed, Jun 1, 2011 at 10:46 AM, Buchan Milne
> <bg...@st...>wrote:
> > > 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
>
|