Servers - General
1751931 Members
4776 Online
108783 Solutions
New Discussion юеВ

Re: Alarm Notification when UPS failover is activated

 
Dan Walker
Occasional Advisor

Alarm Notification when UPS failover is activated

Is there a alarm function available under the UPS Manager as to notify if this is activated.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Alarm Notification when UPS failover is activated

If the file /etc/ups_conf is configured correctly, the machine will wait a certain timer period and then initiate a shutdown.

You then need a cable between the UPS and a COM port on the 9000 box

This line needs to be in your /etc/inittab
ups::respawn:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf

Most UPS units that HP sells have an audible alarm as well.

Are you looking for more? An email?



SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dan Walker
Occasional Advisor

Re: Alarm Notification when UPS failover is activated

We were looking for a option to page if failover occured to the UPS as these systems are unattended a majority of the time and audiable alarm wouldn't help.
Steven E. Protter
Exalted Contributor

Re: Alarm Notification when UPS failover is activated

It should be possible to write a script that detects the failover and then sends an email out. Most pagers have the ability to accept message by email.

My Nextel Phone for example has an email address that transmits messages as pages.

The machines will need access to an email relay server and the mail will need to come from a fully qualified, resolvable hostname.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ken Burke
Advisor

Re: Alarm Notification when UPS failover is activated

If you are planning to have the system send out emails for power problems you'll need to make sure that all network hubs and switches and other mail servers are also covered by UPS's. If they are not then your mail will go nowhere in the case of a general power outage.
Kim Jue_1
New Member

Re: Alarm Notification when UPS failover is activated

You could write a small script to send a simple numeric page using a modem one the machine in question, hopefully on the same UPS.
Many textpagers have a numeric interface as well, so you could just have the modem dial that number, throw in some commas, then some code that means UPS to you. ATDT5551212,,,5656
or something like that.