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

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.10RPC 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

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)

128

724-746-5500 blackbox.com

Page 128
Image 128
Black Box 1101, 1102 RPC Connections, # config -s config.ups.monitors.total=1, # config -d config.ups.monitors.monitor1