System Monitoring - How does yours look?

This is going to be a really advanced stuff to do for me :smiley:
No idea where to start from , because docker on synology have no command lines.
Let’s see

Install the prixy docker container on the NAS, then try to connect to it from the Pi with

docker -H tcp://ip-of-the-nas:2376 ps

Or just add the flag to the docker daemon start up :wink:

ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375 --containerd=/run/containerd/containerd.sock

1 Like
$ docker container run \
    -d --privileged \
    --name dockerproxy \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 127.0.0.1:2375:2375 \
    tecnativa/docker-socket-proxy

ok… where should i run this?

On the NAS.

Someone just liked my old post. Obviously I wasn’t done. I have replaced my system monitoring page with a system monitoring dashboard as it was impossible to fit it all in the one view.

Selected highlights:

Not shown, fairly boring entities card lists of inputs, outputs, media players and battery levels. Also my test page which is currently empty.

18 Likes

Very clean, you just gave me a push to fix my automations view :stuck_out_tongue: thanks!

That was me I think :grin: … Looks smooth and it’s an inspiration for me.

is it possible to share part of your code? looks beautiful

Some great looking graphs here.

What are you using to get the CPU+RAM per addon?
Also, which card is used for Ssytem CPU etc.?

See: HA 0.116 / Supervisor 247 - Core and Supervisor & Addon Stats - #16 by silvrr

Mini-graph card.

1 Like

Thx, got the rest api working

Could you share your setup of the mini-graph card? Cant get the set up with all min, max, avg

Set extrema and average to true in the show settings:

show:
  extrema: true
  average: true

This looks awesome! Can you share your lovelace config?

Thanks. Sure you can find it all here.

How did you monitor your docker containers?

Check out docker monitor.

I’m on it. But it cant get it running.
Using hassio on rpi3.

Found this: Docker Monitor sensor for Home Assistant
But where do i enter these commands? The ssh addon dont let me edit the system.

At the moment in only got these

Logger: custom_components.monitor_docker.helpers
Source: custom_components/monitor_docker/helpers.py:140
Integration: Monitor Docker (documentation, issues)
First occurred: 11:53:12 (1 occurrences)
Last logged: 11:53:12

Can not connect to Docker API (Missing valid docker_host.Either DOCKER_HOST or local sockets are not available.)

Traceback (most recent call last): File “/config/custom_components/monitor_docker/helpers.py”, line 140, in init self._api = aiodocker.Docker(url=url) File “/usr/local/lib/python3.8/site-packages/aiodocker/docker.py”, line 95, in init raise ValueError( ValueError: Missing valid docker_host.Either DOCKER_HOST or local sockets are not available.

Doesn’t work on Home Assistant OS (the term hassio has been deprecated for quite some time now). You can get the stats of the add-ons, see the link here posted by Tom.