Ups configuration – American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 35

Advertising
background image

Chapter Two: Command Set

29

UPS Configuration


These commands configure the UPS for power management.

Command

Argument

Description

get UPS

-i/--info
-x/--xml

Displays the existing UPS
configuration.

get UPS

-i/--info
-m/--monitor
-x/--xml

Display the monitoring
configuration for the configured
UPS devices.

set UPS

-d/--disable
-x/--xml

Disables automatic shutdown.

set UPS

-e/--enable or
-d/--disable
-b/--battery <min battery value>
-t/--timeout <mins>
-m/--mode {1}
-x/--xml
For example: set –e –b 10 –t 3 –m 1 ups

Sets the UPS configuration to
given values. The enable mode is
to denote the shutdown option.
Timeout should be given in
minutes. Battery is the minimum
battery value below which the
shutdown is triggered Mode checks
whether it set to master or slave.
Note:
Minimum Battery value should be
between 0 and 100 %
Timeout value should be between
0 and 1000 minutes

set UPS

-e/--enable or
d/--disable
-b/--battery <min battery value>
-t/--timeout <mins>
-m/--mode {2}
-i/--masterip <{HostName/Master Ip>

-x/--xml

For example: set -e -b 35 -t 300 -m 2 -i 10.0.0.218
ups

Sets the UPS configuration to
given values. The battery value
indicates the minimum battery
value at which the alert has to be
generated. Timeout should be
given in minutes. Mode is set to
slave and the masterip is IP
Address of the master.
Note:
Minimum Battery value should be
between 0 and 100
Timeout value should be between
0 and 1000

config UPS

-i/--info
-x/--xml

Displays currently configured
driver for UPS monitoring.

config UPS

-l/--list
-x/--xml

Displays list of available drivers.

config UPS

-d/--driver <num>
-p/--port <value>
-x/--xml
For example: config –d 2 –p 1 ups

Sets driver to use with UPS
monitoring.
Driver number is from list obtained
from –list command.
Port value:
1 – COM1
2 – COM2
u - USB

Advertising