Chapter 14:
Command Line Configuration
254
Console Server & RIM Gateway User Manual
14.1.8 UPS Connections
Managed UPSes
Before adding a managed UPS, make sure that at least 1 port has been configured to run in 'device mode', and that the
device is set to 'ups'.
To add a managed UPS with the following values:
Connected via
Port 1
UPS name
My UPS
Description
UPS in room 5
Username to connect to UPS
User2
Password to connect to UPS
secret
shutdown order
2 (0 shuts down first)
Driver
genericups
Driver option - option
option
Driver option - argument
argument
Logging
Enabled
Log interval
2 minutes
Run script when power is critical
Enabled
# config -s config.ups.monitors.monitor1.port=/dev/port01
If the port number is higher than 9, eg port 13, enter:
# config -s config.ups.monitors.monitor1.port=/dev/port13
# config -s "config.ups.monitors.monitor1.name=My UPS"
# config -s "config.ups.monitors.monitor1.description=UPS in room 5"
# config -s config.ups.monitors.monitor1.username=User2
# config -s config.ups.monitors.monitor1.password=secret
# config -s config.ups.monitors.monitor1.sdorder=2
# config -s config.ups.monitors.monitor1.driver=genericups
# 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 5 commands below will add the UPS to 'Managed devices. Assuming there are already 2 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
Содержание ACM5000
Страница 3: ......
Страница 10: ...Table of Contents 10 Console Server RIM Gateway User Manual...
Страница 11: ......
Страница 94: ...Chapter 5 Firewall Failover and Out of Band 94 Console Server RIM Gateway User Manual...
Страница 119: ......
Страница 149: ......
Страница 191: ......
Страница 205: ......
Страница 225: ......
Страница 303: ......
Страница 313: ......
Страница 323: ......