diff --git a/mikrotik.py b/mikrotik.py index 20ce2df..4ff0388 100755 --- a/mikrotik.py +++ b/mikrotik.py @@ -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()