Hi,Team, I want to control device power on/off/reboot by lavapdu ,but when I run “/usr/bin/pduclient --daemon 134.86.60.229 --hostname 134.86.254.45 --command reboot --port 10” Error sending command, wrong daemon hostname? Can you help me solve this problem?
Pdudaemon run on the lava-server. Below giving the configuration file for pduclient.
{ "daemon": { "hostname": "0.0.0.0", "port": 16421, "dbhost": "127.0.0.1", "dbuser": "pdudaemon", "dbpass": "pdudaemon", "dbname": "lavapdu", "retries": 5, "logging_level": "INFO" }, "pdus": { "192.168.10.2": { "driver": "apc9210" }, "192.168.10.3": { "driver": "apc7952", "telnetport": 5023 }, "192.168.10.4": { "driver": "apc7952" }, "192.168.10.5": { "driver": "apc8959", "this": "that", "something": "else" }, "192.168.25.52": { "driver": "apc7952" } } }
Regards
Sarath P T