136 CHAPTER 8: MANAGING UNINTERRUPTIBLE POWER SUPPLIES
The optional argument --fullauto specifies that the command should
run in automatic mode. In this mode, command execution does not
provide any interactive prompts or queries.
Note that you can enter the vcx-ups-setup command with the optional
--help argument to display information on command usage.
Monitoring UPS Status
This section describes how to check the status of a UPS
You can use the vcx-ups-status command to check the status of any
UPS in your local VCX system, or the status of a UPS in a remote VCX
system. You can enter the command on the master server or any slave
server. The vcx-ups-status command uses the following syntax:
vcx-ups-status (ups0 | ups1)[master-ip] [--parameter]
You must identify the UPS you want to monitor. For a single UPS system,
enter ups0. For a dual UPS system, enter either ups0 or ups1, depending
on the UPS you want to monitor.
The parameter master-ip is optional. Use this parameter to specify the IP
address of a remote VCX UPS master server.
In addition to the required parameter ups0 or ups1, you must enter one
of the parameters shown in Tabl e 10.
Table10 vcx-ups-status Command Parameters
Parameter Description
--upsstatus Indicates the status of the UPS, for example online or
offline.
--upsload Indicates the load, expressed in watts, placed on the UPS by
the attached VCX servers.
--upsmfr Displays the name of the UPS manufacturer. In this case, the
value is always APC.
--batterycharge Indicates, as a percentage, the current battery charge.
--upsserial Displays the manufacturer’s serial number of the UPS.
--upsmodel Displays the manufacturer’s model name of the UPS.
--isconfig Indicates whether or not (Y or N) the UPS has been
configured.