[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: UPS monitoring



>-----Original Message-----
>From: redhat-list-bounces redhat com 
>[mailto:redhat-list-bounces redhat com] On Behalf Of Joey Prestia
>Sent: Wednesday, December 05, 2007 12:41 AM
>To: redhat-list redhat com
>Subject: UPS monitoring
>
>Hello,
>
>Does anyone know if on a RHEL 5 system I need to install the 
>apcupsd to 
>monitor my UPS when I installed I noticed an icon on the desktop and 
>that apparently knows the system is on battery backup. But yesterday 
>when power went out I cant find anything in my logs I have a APC 
>Back-UPS 1500VA and used to install apcupsd when i was running 
>Mandriva 
>to take care of shutting down the system properly. I am 
>curious if RHEL 
>5 has a program to handle this.
>
>Thanks Joey
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>

Have a look at /etc/inittab.  In my all of my RH servers it has:

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.  
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting
Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown
Cancelled"

I'm fairly certain that RH5 still has this.  It may point you to where
you need to look.

Regards, Marshall



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]