From e18b33299833b9282ea81e353abea8a0da1e0085 Mon Sep 17 00:00:00 2001 From: Rob Lee Date: Sun, 19 Apr 2020 21:52:41 +0100 Subject: [PATCH] Fixed missing band from exporter output --- huwawei_lte_exporter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/huwawei_lte_exporter b/huwawei_lte_exporter index 034c8b8..4d7d2da 100755 --- a/huwawei_lte_exporter +++ b/huwawei_lte_exporter @@ -30,7 +30,7 @@ def prom_exporter(): device = 'deviceName="'+ client.device.information().get('DeviceName')+'",iccid="'+client.device.information().get('Iccid')+'"' deviceband = device if band is not None: - devband = device+',band="'+band+'"' + deviceband = device+',band="'+band+'"' # Retrieve attributes signal = { 'band': { 'help': 'The signal band the LTE connection is using', 'type': 'gauge', 'device': device, 'value': band},