Open FChristian opened 2 years ago
Hi, Update from my side, found out about the problem. The Adapter tries to reach a server via ICMP Echo (Ping), and if it receives no reply, it obviously doesn't try any further (IP address replaced):
linux-control.0 | 2022-01-26 00:26:02.086 | debug | [getConnection] Host 'Webserver' (a.b.c.d:22) ping result: {"inputHost":"a.b.c.d","host":"a.b.c.d","alive":false,"output":"PING a.b.c.d (a.b.c.d) 56(84) bytes of data.\n\n--- a.b.c.d ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n","time":"unknown","times":[],"min":"unknown","max":"unknown","avg":"unknown","stddev":"unknown","packetLoss":"100.000","numeric_host":"a.b.c.d"}
The web server is not answering Pings due to firewall settings (like several private webservers), of course for security reasons.
So this turns from an issue to a feature request: would it be possible to insert a "ignore ping results" checkbox per host line in the adapter config to get data from systems that discard ping requests?
Hi, I have a strange behaviour of the Linux Control Adapter: five servers are defined, 4 local and one internet VPS. Local servers are working fine, data gets collected. Cloud VPS is claimed to be not reachable. But: when I connect to the iobroker Server via SSH and then from there open an SSH connection to the cloud VPS, everything works. So the VPS is available and login is possible, but Adapter claims that server is not reachable. Of course, direct SSH from any device to the server is also working, even with different client tools.
Any idea on this?
Thank you Christian