UPS Utility Manual
Example #3
- Error in Configuration File
The final example shows what happens when an error is detected in a UPS Monitor configuration file.
In this case, the
configuration file UPSCNFGC.PUB.SYS was attempting to set the powerfail message
routing to "all terminals", but there
was a typographic error in the "all terminals" parameter. The UPS Monitor reports the error to the system
console, and
the UPSUTIL STATUS command shows that the UPS Monitor has found an error
in the current configuration file,
UPSCNFGC.
-----------------------------------------------------------------------------
UPSUTIL: Command > newconfig
------------------------------------------------------------------------------
Begin SET NEW CONFIG FILE UPS Monitor operation
Enter the file name of the new configuration file (file.group.account)
New config file name? upscnfgc.pub.sys
12:09/52/Illegal configuration command parameter in UPS Monitor
configuration file "UPSCNFGC.PUB.SYS" at record 2, column 29. (UPSERR 0640)
SET NEW CONFIG FILE UPS Monitor operation successfully initiated.
End SET NEW CONFIG FILE UPS Monitor operation
------------------------------------------------------------------------------
UPSUTIL: Command > status
------------------------------------------------------------------------------
Begin display of UPS Monitor status.
UPS MONITOR PROCESS STATUS:
UPS Monitor Operating State : Running (PIN = 78)
UPS Monitor Version Number : 9 3 UPS Devices Configured
System Power State : Power is normal. 3 UPS Devices Monitored
Powerfail Recovery Messages : Console only. 3 UPS Devices Allocated
Configuration File Name : UPSCNFGC.PUB.SYS (** Config File Has Error **)
Powerfail Command File Name : $null ( Pfail Cmd File Ok )
Powerfail Command File Parms: none
Powerfail Grace Period (secs: 0
Powerfail Grace Timer : Not Running.
Powerfail Command File : Not Running.
Action on UPS Low Battery
: Keep Running
UPS DEVICES STATUS:
UPS# Ldev# Alloc Init State Power Hardware Status
~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 22 Yes Yes Monitoring Normal AC Power Normal
2 101 Yes Yes Monitoring Normal AC Power Normal
3 103 Yes Yes Monitoring Normal AC Power Normal
End display of UPS Monitor status.
------------------------------------------------------------------------------
UPSUTIL: Command >
Page
25
of
48
UPS Utility
7/18/2008
http://jazz.external.hp.com/papers/upsutil.htm