_____________________________________________________________________
724-746-5500 | blackbox.com
Page 227
# config -‐s "config.devices.device3.connections.connection1.type=UPS Unit"
# config -‐s "config.devices.device3.name=My UPS"
# config -‐s "config.devices.device3.description=UPS in toom 5"
# config -‐s config.devices.total=3
To delete this managed UPS:
# config -‐d config.ups.monitors.monitor1
Decrement
monitors.total
when deleting a managed UPS.
Remote UPSes
To add a remote UPS with the following details (assuming this is our first remote UPS):
UPS name
oldUPS
Description
UPS in room 2
Address
192.168.50.50
Log status
Disabled
Log rate
240 seconds
Run shutdown script
Enabled
# config -‐s config.ups.remotes.remote1.name=oldUPS
# config -‐s "config.ups.remotes.remote1.description=UPS in room 2"
# config -‐s config.ups.remotes.remote1.address=192.168.50.50
# config -‐d config.ups.remotes.remote1.log.enabled
# config -‐s config.ups.remotes.remote1.log.interval=240
# config -‐s config.ups.remotes.remote1.script.enabled=on
# config -‐s config.ups.remotes.total=1
The following command will synchronize the live system with the new configuration:
# config -‐a
14.10 RPC connections
You can add an RPC connection from the command line. We do not recommend that you do this because of dependency
issues.
However FYI before adding an RPC the Management Console GUI code makes sure that at least one port has been
configured to run in 'device mode', and that the device is set to 'rpc'.
To add an RPC with the following values:
RPC type
APC 7900
Connected via
Port 2
UPS name
MyRPC
Description
RPC in room 5
Login name for device
rpclogin
Login password for device
secret
SNMP community
v1 or v2c
Logging
Enabled
Log interval
600 second
Number of power outlets
4 (depends on the type/model of the RPC)
# config -‐s config.ports.port2.power.type=APC 7900
# config -‐s config.ports.port2.power.name=MyRPC