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.

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

_____________________________________________________________________

724-746-5500 blackbox.com

Page 225

Page 225
Image 225
Black Box LES1348A, LES1332A, LES1408A, LES144BA RPC Connections, # config -s config.ups.monitors.total=1, Remote UPSes