Powerware UPS via SNMP

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
kirigoe
Posts: 17
Joined: Fri Aug 27, 2004 5:44 am
Location: sweden
Contact:

Powerware UPS via SNMP

Post by kirigoe »

hi,

I thought I should share my scripts for monitoring our Powerware 9120 UPS. It's connected through a serial cable to a Windows 2003 server that has the Powerware MIB loaded. If you have an additional SNMP card on the UPS itself it *should* work just as well.

The "load" script monitors the load on the UPS in percent. The "voltages" script monitors input, output and battery voltages. I'll be posting graphs below as a sample output.

The scripts has only been tested on 0.8.6.b.

best regards,
Daniel Netz
Attachments
cacti_powerware_load.xml
Powerware Load script
(9.66 KiB) Downloaded 3736 times
cacti_powerware_voltages.xml
Powerware Voltages script
(20.12 KiB) Downloaded 5137 times
kirigoe
Posts: 17
Joined: Fri Aug 27, 2004 5:44 am
Location: sweden
Contact:

Post by kirigoe »

sample graphs:
Attachments
Powerware Load graph
Powerware Load graph
powerware_load.png (4.16 KiB) Viewed 41015 times
Powerware Voltages graph
Powerware Voltages graph
powerware_voltages.png (6.4 KiB) Viewed 41015 times
dfp
Posts: 10
Joined: Mon Apr 24, 2006 7:39 am

Great Script quick question

Post by dfp »

Great script seems to work via powerware lansafe really well.

Quick question though is there a way I can restrict the minimum voltage shown on the graph so that I can restrict the graph to between 210 volts and 280 to make the voltage changes more visible in this range?

Thanks for this script and Cacti, damn good stuff :)
kirigoe
Posts: 17
Joined: Fri Aug 27, 2004 5:44 am
Location: sweden
Contact:

Re: Great Script quick question

Post by kirigoe »

dfp wrote:Great script seems to work via powerware lansafe really well.

Quick question though is there a way I can restrict the minimum voltage shown on the graph so that I can restrict the graph to between 210 volts and 280 to make the voltage changes more visible in this range?

Thanks for this script and Cacti, damn good stuff :)
hi,

i'm glad you like it :)

you can change the upper and lower voltage limits under "Graph Templates", "Powerware - UPS Voltages" and the values "Upper Limit" and "Lower Limit".

hope it helps!

/daniel
dfp
Posts: 10
Joined: Mon Apr 24, 2006 7:39 am

Post by dfp »

Cheers, thats sorted it out. I needed to remove the battery voltage as in the UPS im using that reports as 12v causing the graph to try and keep going lower but am only interested in the in/out voltages so works fine.
luckyeraser
Posts: 22
Joined: Sun Aug 29, 2004 5:13 am

Post by luckyeraser »

well done, thank you
atrias
Posts: 25
Joined: Sat Dec 29, 2007 8:01 am

Post by atrias »

in my case (powerware 9355) you have to make the following changes for the battery voltage to work because the bat voltage is about 415 volt most of the time

in data template ups battery voltage
maximum value 5000

in graph template ups voltages
upper limit 430

better even create a new graph for battery voltage so that you do not lose detail of ups and downs of in/out voltages
atrias
Posts: 25
Joined: Sat Dec 29, 2007 8:01 am

Re: Great Script quick question

Post by atrias »

Inspired by kirigoe's templates I created new templates for powerware 9355 UPS.
you can find them here:

http://forums.cacti.net/viewtopic.php?p=187183
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests