Hi,
I have created my own Prometheus exporter with the help of your plugjson.py ( big thanks by the way) and I pull metrics every 5 seconds from the plug .
.....
.....
responsejson = subprocess.check_output(["python3", "plugjson.py", "7033XXXXXXXXXXXXXXXX", "10.0.XX.XXX"]).decode("utf-8")
.....
.....
Everything works fine, Prometheus is reading the metrics but the plug keeps resetting.