Issue logout in the end of scrape
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
fc7c5e280c
commit
464d5a5ed8
@ -150,6 +150,8 @@ async def scrape_mikrotik(target, port):
|
||||
yield "system_health_%s" % key.replace("-", "_"), "gauge", 1, labels
|
||||
else:
|
||||
yield "system_health_%s" % key.replace("-", "_"), "gauge", value, labels
|
||||
|
||||
mk.query("/logout")
|
||||
mk.close()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user