API does not have logout/logoff command
All checks were successful
gitea-kspace/mikrotik-exporter/pipeline/head This commit looks good
All checks were successful
gitea-kspace/mikrotik-exporter/pipeline/head This commit looks good
This commit is contained in:
parent
464d5a5ed8
commit
cf4d81d148
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user