10
0

API does not have logout/logoff command
All checks were successful
gitea-kspace/mikrotik-exporter/pipeline/head This commit looks good

This commit is contained in:
Lauri Võsandi 2021-12-04 09:34:24 +02:00
parent 464d5a5ed8
commit cf4d81d148

View File

@ -150,8 +150,6 @@ async def scrape_mikrotik(target, port):
yield "system_health_%s" % key.replace("-", "_"), "gauge", 1, labels yield "system_health_%s" % key.replace("-", "_"), "gauge", 1, labels
else: else:
yield "system_health_%s" % key.replace("-", "_"), "gauge", value, labels yield "system_health_%s" % key.replace("-", "_"), "gauge", value, labels
mk.query("/logout")
mk.close() mk.close()