Ups_mond


 
Thread Tools Search this Thread
Operating Systems HP-UX Ups_mond
# 1  
Old 06-07-2005
Ups_mond

Hello everyone,
I have the ups_mond daemon running on my hpux 11.00 and want to instruct it to execute a shell (not /sbin/shutdown) when an AC failure occurs.
Does anybody know how to do it ??...I have read the docs and everything points only to ups_conf file (which is useless for this action), and that ups_mond can be executed with options "t" and "s", both useless as well.

Thanks in advance,
Cristian.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
ups_conf(4)						     Kernel Interfaces Manual						       ups_conf(4)

NAME
ups_conf - HP PowerTrust Uninterruptible Power System (UPS) monitor configuration file DESCRIPTION
The default configuration file for the HP PowerTrust UPS monitor daemon Another file can be used as long as it complies with the specified format, and the monitor daemon is configured to use the alternate file (see the description of the option in ups_mond(1M)). Lines in the configuration file can contain a maximum of 256 characters, and the full pathname of a UPS-tty device file can contain a maxi- mum of 100 characters. Only one entry per line is allowed in the configuration file. Each line begins with a keyword. All fields in configuration file entries are delimited by colons (:). Entries in the configuration file end with the first space encountered (as specified by the library function, see isspace(3C)). Characters beyond the first space on each line are treated as comments. The shutdown delay and timeout values should be the first lines in the file. Entries in this file begin with keywords that must appear exactly as shown below. The terminating colon separates the keyword from the value of its parameter. recognizes the following keywords: The number of minutes following notification by the first that its corresponding UPS is operating on internal (battery) power, before initiates The default is one minute. This value should be set to account for transient power interruptions, if they are common to the site. The number of minutes to monitor the operation before initiating with the halt option see reboot(2)). The default is five minutes. This value should be longer than the longest time the system requires to execute shutdown(1M). Note that after the value of has elapsed, a UPS lacking AC line voltage will power off. When AC line voltage is restored, the UPS will restore power to its output. This timeout value should not be so much longer than that an observer may become impatient. It is important to note that this value is the period for which the UPS will delay its power-cycling, even if AC power is restored sooner. This line is followed by either or which indicates if the UPS needs to be turned OFF or ON upon AC line voltage failures respectively. Default is The full pathname of the device special file through which the UPS is configured. Include one entry for each UPS. entries are handled in the order they appear in Therefore, it is important to list your uninterruptible power systems in order of priority (for example, UPS protecting the SPU listed first). entries can contain following optional parameters, which can appear in any order following the device special file name: This will not cause or to be initiated. The type of uninterruptible power supply. Currently, this is the only type defined and supports the entire HP UPS family, including PowerTrust. It defaults to SOLA . EXAMPLES
The following is a sample file: FILES
SEE ALSO
ups_mond(1M). ups_conf(4)