_____________________________________________________________________
724-746-5500 | b lackb o x.co m
Page 178
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
# config -s "config.ports.port2.power.description=RPC in room 5"
# config -s config.ports.port2.power.username=rpclogin
# config -s config.ports.port2.power.password=secret
# config -s config.ports.port2.power.snmp.community=v1
# config -s config.ports.port2.power.log.enabled=on
# config -s config.ports.port2.power.log.interval=600
# config -s config.ports.port2.power.outlets=4
The following five commands are used by the Management Console to add the RPC to “Managed
Devices”:
# config -s config.devices.device3.connections.connection1.name=myRPC
# config -s "config.devices.device3.connections.connection1.type=RPC Unit"
# config -s config.devices.device3.name=myRPC
# config -s "config.devices.device3.description=RPC in room 5"
# config -s config.devices.total=3
The following command will synchronize the live system with the new configuration:
# config -a
14.11 Environmental
To configure an environmental monitor with the following details:
Monitor name
Envi4
Monitor Description
Monitor in room 5
Temperature offset
2
Humidity offset
5
Enable alarm 1 ?
yes
Alarm 1 label
door alarm
Enable alarm 2 ?
yes
Alarm 2 label
window alarm
Logging enabled ?
yes
Log interval
120 seconds
# config -s config.ports.port3.enviro.name=Envi4
# config -s "config.ports.port3.enviro.description=Monitor in room 5"