RE: UPS monitoring



-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Joey Prestia
Sent: Wednesday, December 05, 2007 12:41 AM
To: redhat-list@xxxxxxxxxx
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@xxxxxxxxxx?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

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Power Shutdown
    ... # 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. ... I'm not sure offhand whether apcupsd is using a "telinit ...
    (linux.redhat)
  • Re: apcupsd screwed up energy saver prefs? SOLVED!
    ... UPS tab that was there before apcupsd installation is gone. ... I guess I can install ... Enter the uninstall command: ...
    (comp.sys.mac.system)
  • Re: apcupsd screwed up energy saver prefs?
    ... UPS tab that was there before apcupsd installation is gone. ... I guess I can install ... Apple's built-in UPS functionality and requires command-line ...
    (comp.sys.mac.system)
  • Re: List of UPCs that can auto-shutdown FreeBSD
    ... scripts it runs on different power events, and when the power is off long ... I learned that I need to do a bit of tuning of my system, but things mostly went as expected using apcupsd. ... I have two machines on the UPS and the apcupsd server shutdown before the client figured that it should shutdown. ... I also have a smaller UPS for the various switches and things that don't need clean shutdowns, and surprisingly that one ran out of battery before the main UPS even though during my tests just a few weeks ago it outlasted the main one. ...
    (freebsd-questions)
  • Re: apcupsd screwed up energy saver prefs?
    ... UPS tab that was there before apcupsd installation is gone. ... I guess I can install ... Enter the uninstall command: ...
    (comp.sys.mac.system)