You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that ?disabled=false condition does not hold true if disabled field is not set at all. Is this expected?
Silently omitting data from exported metrics does not seem like a great default. Would it make sense to remove the ?disabled=false condition while querying data via the API and either exclude disabled hosts in the exporter, or maybe just expose disabled as a separate metric label?
I will be happy to prepare a PR for this.
The text was updated successfully, but these errors were encountered:
I am using
mikrotik-exporter
to collect metrics from a RB4011iGS+5HacQ2HnD router running RouterOS 7.4.When I add a new netwatch host, its status does not get exported:
Explicitly setting
disabled=no
fixes this:It seems that ?disabled=false condition does not hold true if
disabled
field is not set at all. Is this expected?Silently omitting data from exported metrics does not seem like a great default. Would it make sense to remove the
?disabled=false
condition while querying data via the API and either exclude disabled hosts in the exporter, or maybe just exposedisabled
as a separate metric label?I will be happy to prepare a PR for this.
The text was updated successfully, but these errors were encountered: