UPS Utility Manual
Here are some examples of valid UPSCNFIG.PUB.SYS configuration files for use by the UPS Monitor:
(a) to send ** RECOVERY FROM POWERFAIL ** messages to the system console and to all logged-on user terminals,
which is the traditional method:
upscnfig.pub.sys
powerfail_message_routing = all_terminals
(b) to send the recovery messages ONLY to the system console:
upscnfig.pub.sys
powerfail_message_routing = console_only
(c) to send the recovery messages only to the system console, and to cause the user-defined command file
MYPFAIL.PUB.MYACCT to be executed starting 10 minutes (600 seconds) after a UPS signals "power failure", and to
cause the UPS Monitor to perform its intentional system abort in case a UPS device signals a "low battery" condition:
upscnfig.pub.sys
powerfail_message_routing = console_only
powerfail_command_file = mypfail.pub.myacct
powerfail_grace_period = 600
powerfail_low_battery = system_abort
3.4.4 If No UPSCNFIG.PUB.SYS File Exists
UPSCNFIG.PUB.SYS
is the default UPS Monitor configuration file, to be used unless/until you use UPSUTIL's
NEWCONFIG command to choose a different configuration file.
The UPS Monitor's final default, in case there is no UPSCNFIG.PUB.SYS default configuration file on the system, is to
assume case (a) above: The powerfail messages routing option will be assumed to be "to all terminals", the same as it
has
been in the past. Also, there will be no "powerfail command file" configured
(and no "powerfail grace period time"
configured), so there will be no special action taken following a UPS device power fail signal.
Finally, the default UPS
Monitor action for "UPS low battery charge condition" will be: system abort.
3.4.5 Observing Results of NEWCONFIG Command
After you have used the NEWCONFIG command to activate a new UPS Monitor configuration
file through UPSUTIL,
then use the STATUS command of UPSUTIL to see the results of the new configuration file activation.
(Refer to the
STATUS command elsewhere in this document.)
UPSUTIL's NEWCONFIG command causes your chosen configuration file to be "sent to"
the UPS Monitor software; but
UPSUTIL itself does not do error checking on the configuration file.
(The UPS Monitor module does perform error checking
on the file. Any problems with the configuration file will be reported to the system operator
via console messages issued
by the UPS Monitor. These error messages will also be recorded in the system diagnostic log file.)
The UPSUTIL STATUS command obtains a status report from the UPS Monitor module, which will show
you whether the
UPS Monitor detected any errors in your new configuration file, and what the current
settings of the configurable options
are after your NEWCONFIG command has executed.
Example #1
- Using UPSCNFIG.PUB.SYS
Page
22
of
48
UPS Utility
7/18/2008
http://jazz.external.hp.com/papers/upsutil.htm