1101 and 1102 Secure Device Servers
# config -s config.ups.monitors.monitor1.options.option1.opt=option
# config -s config.ups.monitors.monitor1.options.option1.arg=argument
# config -s config.ups.monitors.monitor1.options.total=1
# config -s config.ups.monitors.monitor1.log.enabled=on
# config -s config.ups.monitors.monitor1.log.interval=2
# config -s config.ups.monitors.monitor1.script.enabled=on
Make sure to increment the total monitors:
# config -s config.ups.monitors.total=1
The five commands below will add the UPS to Managed devices. Assuming there are already two managed devices configured:
# config -s "config.devices.device3.connections.connection1.name=My UPS"
# 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
Description
Address
Log status
Log rate
Run shutdown script
# 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.
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
Connected via
UPS name
Description
Login name for device
Login password for device
SNMP community
Logging
Log interval
Number of power outlets
128
oldUPS
UPS in room 2
192.168.50.50
Disabled
240 seconds
Enabled
APC 7900
Port 2
MyRPC
RPC in room 5
rpclogin
secret
v1 or v2c
Enabled
600 second
4 (depends on the type/model of the RPC)
724-746-5500 | blackbox.com