Servers - General
cancel
Showing results for 
Search instead for 
Did you mean: 

UPS Power Trust 2 sending an alert....

 
SOLVED
Go to solution
Jonathan Caplette_1
Super Advisor

UPS Power Trust 2 sending an alert....

Hi guys,

I've bought a Power Trust II to put on my rp5430 box running HP-UX 11.00, the thing is that I don't have any software from the HP for the UPS management... And I want that UPS to send me an alert when it uses is batteries.

What software should I use??? Is there one included with HP-UX??

Thanks
Jonathan
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: UPS Power Trust 2 sending an alert....

Jonathan,

I believe ups_mond would suit your purposes. It comes with the system, monitors a serial connection to the UPS, and can be configured via /etc/ups_conf. Take a look at the man pages for ups_mond and ups_conf.


Pete


Pete
Jonathan Caplette_1
Super Advisor

Re: UPS Power Trust 2 sending an alert....

I checked the man page for that daemon, I can set the wait time before the shutdown.. But I want that when the UPS take the charge, it sends me an e-mail...

Thanks
Bernhard Mueller
Honored Contributor

Re: UPS Power Trust 2 sending an alert....

Jonathan,

by default you should have OnlineDiagnostics installed and the monitor would generate an entry in syslog and and e-mail to root for events >= MAJOR WARNING.

You could run /etc/opt/resmon/lbin/monconfig
and add a request e.g.:
a
14
3
4
6
yourname@yourcompany.com
c
c
y

Then (back at the ascii menu)
check with s and c options

Regards,
Bernhard
Darren Prior
Honored Contributor
Solution

Re: UPS Power Trust 2 sending an alert....

Hi Jonathan,

UPS Manager II may be suitable for your application, here's a link to some docs on it: http://h30140.www3.hp.com/object/UPS_manager_II.html

It does allow for scripts to be run when an alert condition occurs; you could script an email/pager message. I believe UPS Manager II is a chargeable product.

regards,

Darren.
Calm down. It's only ones and zeros...
Jonathan Caplette_1
Super Advisor

Re: UPS Power Trust 2 sending an alert....

Thanks Darren.. I'm gonna call my HP representant.

And BTW thanks all...

ciao! jonathan