Hey all!
So, in my previous installation many moons ago now with hassbian, I had binary sensors set up that would call netcat and check to see if a port was connectable on one of my servers.
- platform: command_line
name: freenas_alive
command: "/bin/nc -z 192.168.0.12 80 ; echo $?"
payload_on: 0
payload_off: 1
scan_interval: 30
I found this was a much better way to check to see if they were online as they had a habit of being pingable / on the network but unresponsive on the ports they were actually serving on (think docker containers in the FreeNAS Corral days and their random crashes…)
Wondering if anyone has any current equivalent that would work on HASSIO that is not just ping tests?