Black Box Secure Device Servers Marine Safety Devices User Manual


 
Chapter 14: Configuration from the Command Line
724-746-5500 | blackbox.com
129
# 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 Managed Devices
To add a managed device: (also see UPS, RPC connections and Environmental)
# config -s "config.devices.device8.name=my device"
# config -s "config.devices.device8.description=The eighth device"
# config -s "config.devices.device8.connections.connection1.name=my device"
# config -s config.devices.device8.connections.connection1.type=[serial | Host | UPS | RPC]
# config -s config.devices.total=8 (decrement this value when deleting a managed device)
To delete the above managed device:
# config -d config.devices.device8
The following command will synchronize the live system with the new configuration:
# config –a
14.12 Port Log
To configure serial/network port logging:
# config -s config.eventlog.server.address='remote server ip address'
# config -s config.eventlog.server.logfacility='facility'
'facility' can be:
Daemon
Local 0-7
Authentication
Kernel
User
Syslog
Mail
News
UUCP
# config -s config.eventlog.server.logpriority='priority'
'priority' can be:
Info
Alert
Critical
Debug
Emergency
Error