It’ll create a bunch of sensors for you out of the box, though some (like CPU Temperature) might be stuck on unknown/unavailable. Memory should work out of the box though.
I used it both.
System Monitor doesn’t capture the real statistics, I compared values and are completely different.
About Monitor Docker I added in configuration.yaml the following (the name of the docker is home-assistant):
monitor_docker:
- name: Docker
containers:
- home-assistant
rename:
home-assistant: home-assistant
monitored_conditions:
- version
- containers_running
- containers_total
- state
- status
- memory
Rebooted fast of home assistant doesn’t create any sensors.
NAS’s have their particularities, I have both a Syno and a Qnap and both come with ‘fun’
Tbh, I never installed HA on Qnap but supposedly, if you run it on host, it should have connected imo.
From my current HA, on a nuc (yet another system …yes) I run this:
But… as with Syno, I first needed to make the socket available via socat. And this does exist on Syno, not on Qnap.
In my notes to install on Qnap I have this:
make containers available for monito_docker via socat
1. Install socat on Qnap: curl -L -o /share/CACHEDEV1_DATA/socat "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/socat"
2. Test if it works: /share/CACHEDEV1_DATA/socat -V
3. start it : /share/CACHEDEV1_DATA/socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock &
4. verify version locally: curl http://127.0.0.1:2375/version
5. verify from remote machine: curl http://IP-OF-QNAP:2375/version
6. if fine: make it stable'on Qnap:
echo '/share/CACHEDEV1_DATA/socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock &' \
>> /etc/config/autorun.sh
chmod +x /etc/config/autorun.sh
cat /etc/config/autorun.sh
7. use tcp://IP-OF-QNAP:2375 in monitor_docker