Powerware UPS via SNMP

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

Moderators: Moderators, Developers

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

Powerware UPS via SNMP

#1 Post by kirigoe » Tue Nov 09, 2004 5:15 am

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 3325 times
cacti_powerware_voltages.xml
Powerware Voltages script
(20.12 KiB) Downloaded 4718 times

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

#2 Post by kirigoe » Tue Nov 09, 2004 5:17 am

sample graphs:
Attachments
powerware_load.png
Powerware Load graph
powerware_load.png (4.16 KiB) Viewed 36854 times
powerware_voltages.png
Powerware Voltages graph
powerware_voltages.png (6.4 KiB) Viewed 36854 times

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

Great Script quick question

#3 Post by dfp » Mon Apr 24, 2006 7:42 am

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

#4 Post by kirigoe » Wed Apr 26, 2006 6:36 am

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

#5 Post by dfp » Wed Apr 26, 2006 6:53 am

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

#6 Post by luckyeraser » Sat Jul 29, 2006 3:06 am

well done, thank you

atrias
Posts: 25
Joined: Sat Dec 29, 2007 8:01 am

#7 Post by atrias » Tue Jul 28, 2009 8:41 am

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

#8 Post by atrias » Tue Apr 20, 2010 4:39 am

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