pdreker / fritz_exporter

Prometheus exporter for Fritz!Box home routers
Other
155 stars 32 forks source link

Exporter does not handle devices which disappear #136

Open pdreker opened 1 year ago

pdreker commented 1 year ago

If a configured device is unreachable for some reason the error handling is really bad. Basically it just throws an exception and dies.

This needs to be handled gracefully, ideally by just leaving an error message in the logs, report a status metric for all configured devices (so prometheus/alertmanager can notice the problem) and then not delivering the associated metrics, instead of "dropping dead".