I’m trying to monitor the bandwidth of my WAN connection on my MikroTik router. I’ve tried it with the snmp sensor but that wouldn’t work so I figured the easiest way was to run a command line command to retrieve the value.
I’ve installed snmpget on my home assistant running a hassio intallation on a RPi3. When running the command via the SSH & Web Terminal add-on i get the results I want. Once i put it in my configuration.yaml it doesn’t work.
I don’t use hassio (or what is now just called Home Assistant, as opposed to Home Assistant Core), but I’ve seen people have this issue over and over again. I’m led to understand that it might be a permission or access issue. One thing that might be coming into play is that HA is run in a separate docker container (not sure if I’m using the terms correctly) than the ssh add-on, so running a command successfully in one context doesn’t always apply to the other. Honestly, I’m not sure what the solution is, but if you search this forum I’m sure you’ll eventually run into several (hundred) topics that contain a useful answer.