From 5530549743fd10514c3c72cca604654851d2d065 Mon Sep 17 00:00:00 2001 From: sberk42 Date: Thu, 1 Apr 2021 23:54:31 +0200 Subject: [PATCH] added WLAN status to metrics --- metrics.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/metrics.json b/metrics.json index cad1cdb..9d8707e 100644 --- a/metrics.json +++ b/metrics.json @@ -395,6 +395,42 @@ }, "promType": "GaugeValue" }, + { + "service": "urn:dslforum-org:service:WLANConfiguration:1", + "action": "GetInfo", + "result": "Status", + "okValue": "Up", + "promDesc": { + "fqName": "gateway_wlan_status", + "help": "WLAN status (Enabled = 1)", + "varLabels": [ + "gateway" + ], + "fixedLabels": { + "wlan": "2.4 Ghz" + } + }, + "promType": "GaugeValue", + "cacheEntryTTL": 60 + }, + { + "service": "urn:dslforum-org:service:WLANConfiguration:2", + "action": "GetInfo", + "result": "Status", + "okValue": "Up", + "promDesc": { + "fqName": "gateway_wlan_status", + "help": "WLAN status (Enabled = 1)", + "varLabels": [ + "gateway" + ], + "fixedLabels": { + "wlan": "5 Ghz" + } + }, + "promType": "GaugeValue", + "cacheEntryTTL": 60 + }, { "service": "urn:dslforum-org:service:DeviceInfo:1", "action": "GetInfo",