6. Command Reference of RPCM CLI
Hash Rate API Port set to '4028'
Hash Rate API Unavailability Timeout Seconds set to '3'
Hash Rate Alarm Bottom Limit set to '13500'
Hash Rate Restart Bottom Limit set to '13300'
Hash Rate Alarm Seconds set to '60'
Hash Rate Restart Seconds set to '300'
Type 'help' to get suggestions
Example 2.
Turn off the hash testing for this device and change the IP address to 10.210.1.91:
set automation device-name DEVICE-2 test hashrate --enabled no --api-ip-address
10.210.1.91
The return is:
Automation Device ID: 2, Name: 'DEVICE-2' has been updated
Hash Rate Enabled changed from 'ON' to 'OFF'
Hash Rate API IP Address changed from '10.210.1.93' to '10.210.1.91'
Type 'help' to get suggestions
6.10.2.3. Command set
automation device
test
ping
This design is designed to configure the monitoring method using ICMP packets similar to the
ping command.
Available options:
enabled
— answer "yes" or "no" to enable (enable) this control method;
ip-address
— IP Address for testing (sending ICMP packets);
connect-timeout-seconds
— an acceptable timeout when the monitored device does not
have time to respond;
upper-limit-milliseconds
— the limit in milliseconds for the packet to pass;
alarm-packet-loss-percentage
— the percentage of loss in packets under which the no-
tification is performed;
restart-packet-loss-percentage
— the percentage of loss in packets under which the re-
boot is performed;
alarm-seconds
— the delay time in seconds before the notification (sending a warning);
restart-seconds
— delay time in seconds before rebooting the device;
default
— set all parameters to the default value.
Help ask:
set automation device-name DEVICE-2 test ping ?
315