All,
The scripts that Bill Arlofski created were easily modified to do the trick. The challenge was tweaking the RRD part to get it to work. RRD seems to be really really finicky.
Right now they are launched via tasks.cfg, but I'm working on combining all the files into one. The next major change will be to modify the interval. RRD is the big challenge for that. UPS really should be polled more than every 5 minutes.
Thanks to all for the suggestions.
John Alexander
-----Original Message-----
From: Carl Inglis [mailto:user-96685bdc864b@xymon.invalid]
Sent: Wednesday, August 14, 2013 12:48 AM
To: John D. Alexander
Cc: xymon at xymon.com
Subject: RE: [Xymon] monitoring UPS
Hi John,
I found a BB4 script called "apcsnmp.pl" - http://communities.quest.com/docs/DOC-5576
It didn't take much tweaking to get it to report various conditions...
Hosts file:
xx.xx.xx.xx ups-host-name # volt apcload charge temp replace stest onbattery
This might do what you want?
Regards,
Carl
Carl Inglis
Systems Administrator
Rakon UK Limited
Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom
Tel: +XX (X)XXXX XXXXXX | Fax: +XX (X) XXXX XXXXXX | Mob: +44 (0) 7786 552915 user-96685bdc864b@xymon.invalid | www.rakon.com
THE QUEENS AWARDS FOR ENTERPRISE 2012
Rakon UK Ltd