Fixed missing band from exporter output
This commit is contained in:
parent
97554ff8bb
commit
e18b332998
@ -30,7 +30,7 @@ def prom_exporter():
|
|||||||
device = 'deviceName="'+ client.device.information().get('DeviceName')+'",iccid="'+client.device.information().get('Iccid')+'"'
|
device = 'deviceName="'+ client.device.information().get('DeviceName')+'",iccid="'+client.device.information().get('Iccid')+'"'
|
||||||
deviceband = device
|
deviceband = device
|
||||||
if band is not None:
|
if band is not None:
|
||||||
devband = device+',band="'+band+'"'
|
deviceband = device+',band="'+band+'"'
|
||||||
|
|
||||||
# Retrieve attributes
|
# Retrieve attributes
|
||||||
signal = { 'band': { 'help': 'The signal band the LTE connection is using', 'type': 'gauge', 'device': device, 'value': band},
|
signal = { 'band': { 'help': 'The signal band the LTE connection is using', 'type': 'gauge', 'device': device, 'value': band},
|
||||||
|
Reference in New Issue
Block a user