_____________________________________________________________________
724-746-5500 | blackbox.com
Page 224
Assume this value is equal to 3. If you add another host, make sure you increment the total number of hosts from 3 to 4:
# config -‐s config.sdt.hosts.total=4
If the output is
config.sdt.hosts.total
then assume 0 hosts are configured.
Add power device host
To add a UPS/RPC network host with the following details:
IP address/ DNS name
192.168.2.5
Host name
remoteUPS
Description
UPSroom3
Type
UPS
Allowed services
ssh port 22 and https port 443
Log level for services
0
Issue the commands below:
# config -‐s config.sdt.hosts.host4.address=192.168.2.5
# config -‐s config.sdt.hosts.host4.name=remoteUPS
# config -‐s config.sdt.hosts.host4.description=UPSroom3
# config -‐s config.sdt.hosts.host4.device.type=ups
# config -‐s config.sdt.hosts.host4.tcpports.tcpport1=22
# config -‐s config.sdt.hosts.host4.tcpports.tcpport1.loglevel=0
# config -‐s config.sdt.hosts.host4.udpports.udpport2=443
# config -‐s config.sdt.hosts.host4.udpports.udpport2.loglevel=0
The
loglevel
can have a value of 0 or 1.
The default services that you should configure are:
22/tcp (ssh), 23/tcp (telnet), 80/tcp (http), 443/tcp (https), 1494/tcp
(ica), 3389/tcp (rdp), 5900/tcp (vnc)
Add other network host
To add any other type of network host with the following details:
IP address/ DNS name
192.168.3.10
Host name
OfficePC
Description
MyPC
Allowed sevices
ssh port 22,https port 443
log level for services
1
Issue the commands below. If the Host is not a PDU or UPS power device or a server with IPMI power control, then leave
the device type blank:
# config -‐s config.sdt.hosts.host4.address=192.168.3.10
# config -‐s config.sdt.hosts.host4.description=MyPC
# config -‐s config.sdt.hosts.host4.name=OfficePC
# config -‐s config.sdt.hosts.host4.device.type='' (leave this value blank)
# config -‐s config.sdt.hosts.host4.tcpports.tcpport1=22
# config -‐s config.sdt.hosts.host4.tcpports.tcpport1.loglevel=1
# config -‐s config.sdt.hosts.host4.udpports.tcppport2=443
# config -‐s config.sdt.hosts.host4.udpports.tcpport2.loglevel=1
If you want to add the new host as a managed device, make sure you use the current total number of managed devices
+ 1, for the new device number.
To get the current number of managed devices:
# config -‐g config.devices.total