diff --git a/zte_exporter.py b/zte_exporter.py index eb404ef..64a7429 100644 --- a/zte_exporter.py +++ b/zte_exporter.py @@ -141,7 +141,7 @@ class serveInfos(BaseHTTPRequestHandler): nrbit = item.split(",") if not len(nrbit[0]) == 0: self.wfile.write(bytes("zte_rsrq{band=\"%s\"} " % nrbit[3], "utf-8")) - self.wfile.write(bytes("%s\n" % gatheredJson["Z5g_rsrq"], "utf-8")) + self.wfile.write(bytes("%s\n" % nrbit[8], "utf-8")) self.wfile.write(bytes("zte_rsrp{band=\"%s\"} " % nrbit[3], "utf-8")) self.wfile.write(bytes("%s\n" % nrbit[7], "utf-8"))