Browse Source

added dslforum max bit rate to handle different results with 5.29

master
sberk42 4 years ago
parent
commit
66406b96c5
  1. 91
      metrics.json

91
metrics.json

@ -162,6 +162,97 @@
"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",

Loading…
Cancel
Save