Added new configuration files and removed old directory
This commit is contained in:
parent
32e8b7160d
commit
665aa296f1
180
fritzbox-exporter-docker/metrics-lua.json
Normal file
180
fritzbox-exporter-docker/metrics-lua.json
Normal file
@ -0,0 +1,180 @@
|
||||
{
|
||||
"labelRenames": [
|
||||
{
|
||||
"matchRegex": "(?i)prozessor",
|
||||
"renameLabel": "CPU"
|
||||
},
|
||||
{
|
||||
"matchRegex": "(?i)system",
|
||||
"renameLabel": "System"
|
||||
},
|
||||
{
|
||||
"matchRegex": "(?i)DSL",
|
||||
"renameLabel": "DSL"
|
||||
},
|
||||
{
|
||||
"matchRegex": "(?i)FON",
|
||||
"renameLabel": "Phone"
|
||||
},
|
||||
{
|
||||
"matchRegex": "(?i)WLAN",
|
||||
"renameLabel": "WLAN"
|
||||
},
|
||||
{
|
||||
"matchRegex": "(?i)USB",
|
||||
"renameLabel": "USB"
|
||||
},
|
||||
{
|
||||
"matchRegex": "(?i)Speicher.*FRITZ",
|
||||
"renameLabel": "Internal eStorage"
|
||||
}
|
||||
],
|
||||
"metrics": [
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=energy",
|
||||
"resultPath": "data.drain.*",
|
||||
"resultKey": "actPerc",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_energy_consumption",
|
||||
"help": "percentage of energy consumed from data.lua?page=energy",
|
||||
"varLabels": [
|
||||
"gateway", "name"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=energy",
|
||||
"resultPath": "data.drain.*.lan.*",
|
||||
"resultKey": "class",
|
||||
"okValue": "green",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_energy_lan_status",
|
||||
"help": "status of LAN connection from data.lua?page=energy (1 = up)",
|
||||
"varLabels": [
|
||||
"gateway", "name"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=ecoStat",
|
||||
"resultPath": "data.cputemp.series.0",
|
||||
"resultKey": "-1",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_ecostat_cputemp",
|
||||
"help": "cpu temperature from data.lua?page=ecoStat",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=ecoStat",
|
||||
"resultPath": "data.cpuutil.series.0",
|
||||
"resultKey": "-1",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_ecostat_cpuutil",
|
||||
"help": "percentage of cpu utilization from data.lua?page=ecoStat",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=ecoStat",
|
||||
"resultPath": "data.ramusage.series.0",
|
||||
"resultKey": "-1",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_ecostat_ramusage",
|
||||
"help": "percentage of RAM utilization from data.lua?page=energy",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"ram_type" : "Fixed"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=ecoStat",
|
||||
"resultPath": "data.ramusage.series.1",
|
||||
"resultKey": "-1",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_ecostat_ramusage",
|
||||
"help": "percentage of RAM utilization from data.lua?page=energy",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"ram_type" : "Dynamic"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=ecoStat",
|
||||
"resultPath": "data.ramusage.series.2",
|
||||
"resultKey": "-1",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_ecostat_ramusage",
|
||||
"help": "percentage of RAM utilization from data.lua?page=energy",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"ram_type" : "Free"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=usbOv",
|
||||
"resultPath": "data.usbOverview.devices.*",
|
||||
"resultKey": "partitions.0.totalStorageInBytes",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_usb_storage_total",
|
||||
"help": "total storage in bytes from data.lua?page=usbOv",
|
||||
"varLabels": [
|
||||
"gateway", "deviceType", "deviceName"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
},
|
||||
{
|
||||
"path": "data.lua",
|
||||
"params": "page=usbOv",
|
||||
"resultPath": "data.usbOverview.devices.*",
|
||||
"resultKey": "partitions.0.usedStorageInBytes",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_data_usb_storage_used",
|
||||
"help": "used storage in bytes from data.lua?page=usbOv",
|
||||
"varLabels": [
|
||||
"gateway", "deviceType", "deviceName"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 300
|
||||
}
|
||||
]
|
||||
}
|
||||
|
549
fritzbox-exporter-docker/metrics.json
Normal file
549
fritzbox-exporter-docker/metrics.json
Normal file
@ -0,0 +1,549 @@
|
||||
[
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetTotalPacketsReceived",
|
||||
"result": "TotalPacketsReceived",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Received",
|
||||
"unit": "Packets",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetTotalPacketsSent",
|
||||
"result": "TotalPacketsSent",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Sent",
|
||||
"unit": "Packets",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetAddonInfos",
|
||||
"result": "TotalBytesReceived",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Received",
|
||||
"unit": "Bytes",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetAddonInfos",
|
||||
"result": "TotalBytesSent",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Sent",
|
||||
"unit": "Bytes",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetAddonInfos",
|
||||
"result": "ByteSendRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic_rate",
|
||||
"help": "traffic rate on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Sent",
|
||||
"unit": "Bytes",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetAddonInfos",
|
||||
"result": "ByteReceiveRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic_rate",
|
||||
"help": "traffic rate on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Received",
|
||||
"unit": "Bytes",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetCommonLinkProperties",
|
||||
"result": "Layer1UpstreamMaxBitRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_max_bitrate",
|
||||
"help": "max bitrate on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Up",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetCommonLinkProperties",
|
||||
"result": "Layer1DownstreamMaxBitRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_max_bitrate",
|
||||
"help": "max bitrate on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Down",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetCommonLinkProperties",
|
||||
"result": "PhysicalLinkStatus",
|
||||
"okValue": "Up",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_connection_status",
|
||||
"help": "Connection status (Connected = 1)",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"connection": "Physical Link",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetTotalPacketsReceived",
|
||||
"result": "TotalPacketsReceived",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Received",
|
||||
"unit": "Packets",
|
||||
"interface": "DSL"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetTotalPacketsSent",
|
||||
"result": "TotalPacketsSent",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Sent",
|
||||
"unit": "Packets",
|
||||
"interface": "DSL"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetCommonLinkProperties",
|
||||
"result": "Layer1UpstreamMaxBitRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_max_bitrate",
|
||||
"help": "max bitrate on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Up",
|
||||
"interface": "DSL"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetCommonLinkProperties",
|
||||
"result": "Layer1DownstreamMaxBitRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_max_bitrate",
|
||||
"help": "max bitrate on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Down",
|
||||
"interface": "DSL"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANCommonInterfaceConfig:1",
|
||||
"action": "GetCommonLinkProperties",
|
||||
"result": "PhysicalLinkStatus",
|
||||
"okValue": "Up",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_connection_status",
|
||||
"help": "Connection status (Connected = 1)",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"connection": "Physical Link",
|
||||
"interface": "DSL"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANIPConnection:1",
|
||||
"action": "GetStatusInfo",
|
||||
"result": "ConnectionStatus",
|
||||
"okValue": "Connected",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_connection_status",
|
||||
"help": "Connection status (Connected = 1)",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"connection": "IP",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:schemas-upnp-org:service:WANIPConnection:1",
|
||||
"action": "GetStatusInfo",
|
||||
"result": "Uptime",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_connection_uptime_seconds",
|
||||
"help": "Connection uptime",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"connection": "IP",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANPPPConnection:1",
|
||||
"action": "GetInfo",
|
||||
"result": "ConnectionStatus",
|
||||
"okValue": "Connected",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_wan_connection_status",
|
||||
"help": "WAN Connection status (Connected = 1)",
|
||||
"varLabels": [
|
||||
"gateway",
|
||||
"ConnectionType",
|
||||
"ExternalIPAddress",
|
||||
"MACAddress"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"connection": "PPP",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANPPPConnection:1",
|
||||
"action": "GetInfo",
|
||||
"result": "Uptime",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_connection_uptime_seconds",
|
||||
"help": "Connection uptime",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"connection": "PPP",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANPPPConnection:1",
|
||||
"action": "GetInfo",
|
||||
"result": "UpstreamMaxBitRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_connection_max_bitrate",
|
||||
"help": "connection max bitrate",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Up",
|
||||
"connection": "PPP",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WANPPPConnection:1",
|
||||
"action": "GetInfo",
|
||||
"result": "DownstreamMaxBitRate",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_connection_max_bitrate",
|
||||
"help": "connection max bitrate",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Down",
|
||||
"connection": "PPP",
|
||||
"interface": "WAN"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WLANConfiguration:1",
|
||||
"action": "GetTotalAssociations",
|
||||
"result": "TotalAssociations",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_wlan_current_connections",
|
||||
"help": "current WLAN connections",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"wlan": "2.4 GHz"
|
||||
}
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:WLANConfiguration:2",
|
||||
"action": "GetTotalAssociations",
|
||||
"result": "TotalAssociations",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_wlan_current_connections",
|
||||
"help": "current WLAN connections",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"wlan": "5 Ghz"
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"result": "UpTime",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_uptime_seconds",
|
||||
"help": "gateway uptime",
|
||||
"varLabels": [
|
||||
"gateway",
|
||||
"Description"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:DeviceInfo:1",
|
||||
"action": "GetInfo",
|
||||
"result": "ModelName",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_device_modelname",
|
||||
"help": "gateway device model name",
|
||||
"varLabels": [
|
||||
"gateway",
|
||||
"Description",
|
||||
"ModelName",
|
||||
"ProductClass",
|
||||
"SoftwareVersion",
|
||||
"HardwareVersion"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:LANEthernetInterfaceConfig:1",
|
||||
"action": "GetStatistics",
|
||||
"result": "Stats.BytesSent",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Sent",
|
||||
"unit": "Bytes",
|
||||
"interface": "LAN"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:LANEthernetInterfaceConfig:1",
|
||||
"action": "GetStatistics",
|
||||
"result": "Stats.BytesReceived",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_traffic",
|
||||
"help": "traffic on gateway interface",
|
||||
"varLabels": [
|
||||
"gateway"
|
||||
],
|
||||
"fixedLabels": {
|
||||
"direction": "Received",
|
||||
"unit": "Bytes",
|
||||
"interface": "LAN"
|
||||
}
|
||||
},
|
||||
"promType": "CounterValue"
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:Hosts:1",
|
||||
"action": "GetGenericHostEntry",
|
||||
"actionArgument": {
|
||||
"name": "NewIndex",
|
||||
"isIndex": true,
|
||||
"providerAction": "GetHostNumberOfEntries",
|
||||
"value": "HostNumberOfEntries"
|
||||
},
|
||||
"result": "Active",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_host_active",
|
||||
"help": "is host currently active",
|
||||
"varLabels": [
|
||||
"gateway",
|
||||
"IPAddress",
|
||||
"MACAddress",
|
||||
"InterfaceType",
|
||||
"HostName"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 60
|
||||
},
|
||||
{
|
||||
"service": "urn:dslforum-org:service:X_AVM-DE_Dect:1",
|
||||
"action": "GetGenericDectEntry",
|
||||
"actionArgument": {
|
||||
"name": "NewIndex",
|
||||
"isIndex": true,
|
||||
"providerAction": "GetNumberOfDectEntries",
|
||||
"value": "NumberOfEntries"
|
||||
},
|
||||
"result": "Active",
|
||||
"promDesc": {
|
||||
"fqName": "gateway_dect_active",
|
||||
"help": "is dect device currently active",
|
||||
"varLabels": [
|
||||
"gateway",
|
||||
"ID",
|
||||
"Name",
|
||||
"Model"
|
||||
]
|
||||
},
|
||||
"promType": "GaugeValue",
|
||||
"cacheEntryTTL": 120
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user