From 16120ff2861df22fbe38fe61ff7d5fa679d01a23 Mon Sep 17 00:00:00 2001 From: VG Date: Sat, 28 Sep 2024 12:22:11 +0300 Subject: [PATCH] fix NR RSRQ --- zte_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))