sberk42
5 years ago
1 changed files with 210 additions and 132 deletions
@ -1,134 +1,212 @@ |
|||||
[ |
[ |
||||
{ |
{ |
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"action": "GetTotalPacketsReceived", |
"action": "GetTotalPacketsReceived", |
||||
"result": "TotalPacketsReceived", |
"result": "TotalPacketsReceived", |
||||
"promDesc": { |
"promDesc": { |
||||
"fqName": "gateway_wan_packets_received", |
"fqName": "gateway_wan_packets_received", |
||||
"help": "packets received on gateway WAN interface", |
"help": "packets received on gateway WAN interface", |
||||
"varLabels": [ |
"varLabels": [ |
||||
"gateway" |
"gateway" |
||||
] |
] |
||||
}, |
}, |
||||
"promType": "CounterValue" |
"promType": "CounterValue" |
||||
}, |
}, |
||||
{ |
{ |
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"action": "GetTotalPacketsSent", |
"action": "GetTotalPacketsSent", |
||||
"result": "TotalPacketsSent", |
"result": "TotalPacketsSent", |
||||
"promDesc": { |
"promDesc": { |
||||
"fqName": "gateway_wan_packets_sent", |
"fqName": "gateway_wan_packets_sent", |
||||
"help": "packets sent on gateway WAN interface", |
"help": "packets sent on gateway WAN interface", |
||||
"varLabels": [ |
"varLabels": [ |
||||
"gateway" |
"gateway" |
||||
] |
] |
||||
}, |
}, |
||||
"promType": "CounterValue" |
"promType": "CounterValue" |
||||
}, |
}, |
||||
{ |
{ |
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"action": "GetAddonInfos", |
"action": "GetAddonInfos", |
||||
"result": "TotalBytesReceived", |
"result": "TotalBytesReceived", |
||||
"promDesc": { |
"promDesc": { |
||||
"fqName": "gateway_wan_bytes_received", |
"fqName": "gateway_wan_bytes_received", |
||||
"help": "bytes received on gateway WAN interface", |
"help": "bytes received on gateway WAN interface", |
||||
"varLabels": [ |
"varLabels": [ |
||||
"gateway" |
"gateway" |
||||
] |
] |
||||
}, |
}, |
||||
"promType": "CounterValue" |
"promType": "CounterValue" |
||||
}, |
}, |
||||
{ |
{ |
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"action": "GetAddonInfos", |
"action": "GetAddonInfos", |
||||
"result": "TotalBytesSent", |
"result": "TotalBytesSent", |
||||
"promDesc": { |
"promDesc": { |
||||
"fqName": "gateway_wan_bytes_sent", |
"fqName": "gateway_wan_bytes_sent", |
||||
"help": "bytes sent on gateway WAN interface", |
"help": "bytes sent on gateway WAN interface", |
||||
"varLabels": [ |
"varLabels": [ |
||||
"gateway" |
"gateway" |
||||
] |
] |
||||
}, |
}, |
||||
"promType": "CounterValue" |
"promType": "CounterValue" |
||||
}, |
}, |
||||
{ |
{ |
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"action": "GetCommonLinkProperties", |
"action": "GetAddonInfos", |
||||
"result": "Layer1UpstreamMaxBitRate", |
"result": "ByteSendRate", |
||||
"promDesc": { |
"promDesc": { |
||||
"fqName": "gateway_wan_layer1_upstream_max_bitrate", |
"fqName": "gateway_wan_bytes_send_rate", |
||||
"help": "Layer1 upstream max bitrate", |
"help": "byte send rate on gateway WAN interface", |
||||
"varLabels": [ |
"varLabels": [ |
||||
"gateway" |
"gateway" |
||||
] |
] |
||||
}, |
}, |
||||
"promType": "GaugeValue" |
"promType": "GaugeValue" |
||||
}, |
}, |
||||
{ |
{ |
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"action": "GetCommonLinkProperties", |
"action": "GetAddonInfos", |
||||
"result": "Layer1DownstreamMaxBitRate", |
"result": "ByteReceiveRate", |
||||
"promDesc": { |
"promDesc": { |
||||
"fqName": "gateway_wan_layer1_downstream_max_bitrate", |
"fqName": "gateway_wan_bytes_receive_rate", |
||||
"help": "Layer1 downstream max bitrate", |
"help": "byte receive rate on gateway WAN interface", |
||||
"varLabels": [ |
"varLabels": [ |
||||
"gateway" |
"gateway" |
||||
] |
] |
||||
}, |
}, |
||||
"promType": "GaugeValue" |
"promType": "GaugeValue" |
||||
}, |
}, |
||||
{ |
{ |
||||
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"action": "GetCommonLinkProperties", |
"action": "GetCommonLinkProperties", |
||||
"result": "PhysicalLinkStatus", |
"result": "Layer1UpstreamMaxBitRate", |
||||
"okValue": "Up", |
"promDesc": { |
||||
"promDesc": { |
"fqName": "gateway_wan_layer1_upstream_max_bitrate", |
||||
"fqName": "gateway_wan_layer1_link_status", |
"help": "Layer1 upstream max bitrate", |
||||
"help": "Status of physical link (Up = 1)", |
"varLabels": [ |
||||
"varLabels": [ |
"gateway" |
||||
"gateway" |
] |
||||
] |
}, |
||||
}, |
"promType": "GaugeValue" |
||||
"promType": "GaugeValue" |
}, |
||||
}, |
{ |
||||
{ |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
"service": "urn:schemas-upnp-org:service:WANIPConnection:1", |
"action": "GetCommonLinkProperties", |
||||
"action": "GetStatusInfo", |
"result": "Layer1DownstreamMaxBitRate", |
||||
"result": "ConnectionStatus", |
"promDesc": { |
||||
"okValue": "Connected", |
"fqName": "gateway_wan_layer1_downstream_max_bitrate", |
||||
"promDesc": { |
"help": "Layer1 downstream max bitrate", |
||||
"fqName": "gateway_wan_connection_status", |
"varLabels": [ |
||||
"help": "WAN connection status (Connected = 1)", |
"gateway" |
||||
"varLabels": [ |
] |
||||
"gateway" |
}, |
||||
] |
"promType": "GaugeValue" |
||||
}, |
}, |
||||
"promType": "GaugeValue" |
{ |
||||
}, |
"service": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1", |
||||
{ |
"action": "GetCommonLinkProperties", |
||||
"service": "urn:schemas-upnp-org:service:WANIPConnection:1", |
"result": "PhysicalLinkStatus", |
||||
"action": "GetStatusInfo", |
"okValue": "Up", |
||||
"result": "Uptime", |
"promDesc": { |
||||
"promDesc": { |
"fqName": "gateway_wan_layer1_link_status", |
||||
"fqName": "gateway_wan_connection_uptime_seconds", |
"help": "Status of physical link (Up = 1)", |
||||
"help": "WAN connection uptime", |
"varLabels": [ |
||||
"varLabels": [ |
"gateway" |
||||
"gateway" |
] |
||||
] |
}, |
||||
}, |
"promType": "GaugeValue" |
||||
"promType": "GaugeValue" |
}, |
||||
}, |
{ |
||||
{ |
"service": "urn:schemas-upnp-org:service:WANIPConnection:1", |
||||
"service": "urn:dslforum-org:service:WLANConfiguration:1", |
"action": "GetStatusInfo", |
||||
"action": "GetTotalAssociations", |
"result": "ConnectionStatus", |
||||
"result": "TotalAssociations", |
"okValue": "Connected", |
||||
"promDesc": { |
"promDesc": { |
||||
"fqName": "gateway_wlan_current_connections", |
"fqName": "gateway_wan_connection_status", |
||||
"help": "current WLAN connections", |
"help": "WAN connection status (Connected = 1)", |
||||
"varLabels": [ |
"varLabels": [ |
||||
"gateway" |
"gateway" |
||||
] |
] |
||||
}, |
}, |
||||
"promType": "GaugeValue" |
"promType": "GaugeValue" |
||||
} |
}, |
||||
|
{ |
||||
|
"service": "urn:schemas-upnp-org:service:WANIPConnection:1", |
||||
|
"action": "GetStatusInfo", |
||||
|
"result": "Uptime", |
||||
|
"promDesc": { |
||||
|
"fqName": "gateway_wan_connection_uptime_seconds", |
||||
|
"help": "WAN connection uptime", |
||||
|
"varLabels": [ |
||||
|
"gateway" |
||||
|
] |
||||
|
}, |
||||
|
"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" |
||||
|
] |
||||
|
}, |
||||
|
"promType": "GaugeValue" |
||||
|
}, |
||||
|
{ |
||||
|
"service": "urn:dslforum-org:service:WLANConfiguration:2", |
||||
|
"action": "GetTotalAssociations", |
||||
|
"result": "TotalAssociations", |
||||
|
"promDesc": { |
||||
|
"fqName": "gateway_wlan2_current_connections", |
||||
|
"help": "current WLAN2 connections", |
||||
|
"varLabels": [ |
||||
|
"gateway" |
||||
|
] |
||||
|
}, |
||||
|
"promType": "GaugeValue" |
||||
|
}, |
||||
|
{ |
||||
|
"service": "urn:dslforum-org:service:DeviceInfo:1", |
||||
|
"action": "GetInfo", |
||||
|
"result": "UpTime", |
||||
|
"promDesc": { |
||||
|
"fqName": "gateway_uptime_seconds", |
||||
|
"help": "gateway uptime", |
||||
|
"varLabels": [ |
||||
|
"gateway" |
||||
|
] |
||||
|
}, |
||||
|
"promType": "GaugeValue" |
||||
|
}, |
||||
|
{ |
||||
|
"service": "urn:dslforum-org:service:LANEthernetInterfaceConfig:1", |
||||
|
"action": "GetStatistics", |
||||
|
"result": "Stats.BytesSent", |
||||
|
"promDesc": { |
||||
|
"fqName": "gateway_lan_bytes_sent", |
||||
|
"help": "bytes sent on gateway LAN interface", |
||||
|
"varLabels": [ |
||||
|
"gateway" |
||||
|
] |
||||
|
}, |
||||
|
"promType": "CounterValue" |
||||
|
}, |
||||
|
{ |
||||
|
"service": "urn:dslforum-org:service:LANEthernetInterfaceConfig:1", |
||||
|
"action": "GetStatistics", |
||||
|
"result": "Stats.BytesReceived", |
||||
|
"promDesc": { |
||||
|
"fqName": "gateway_lan_bytes_received", |
||||
|
"help": "bytes received on gateway LAN interface", |
||||
|
"varLabels": [ |
||||
|
"gateway" |
||||
|
] |
||||
|
}, |
||||
|
"promType": "CounterValue" |
||||
|
} |
||||
] |
] |
||||
|
Loading…
Reference in new issue