Comments (4)
Hi Patrick,
please set
debug = true
in the plugin's config file, to enable logging of the responses received from your Fritz!Box.
My guess is as follows:
- The plugin uses the
NewX_AVM-DE_UpstreamCurrentMaxSpeed
/NewX_AVM-DE_DownstreamCurrentMaxSpeed
attributes received from the GetCommonLinkProperties functions - For my Fritz!Box 7590 they are available.
- Looking at the official documentation these attributes are not mentioned and hence may not be available on your Fritz!Box
The debug log should show, whether this assumption is valid.
However these attributes report static values about the line capability and do not report the current data rates.
There are attributes for this as well. I did not include them in the metric, as they report the status at the time of the plugin query. The latter does not reflect the whole interval between the last two plugin queries. To derive the average rates between the last two plugin queries, I use the delta of the 'total_bytes_sent'/'total_bytes_received' values.
from fritzbox-telegraf-plugin.
Ok, got it. So thanks a lot for the tip with the derivative function, I've got it to work ๐
(you can see a speedtest at the right side of the graph)The InfluxDB query looks like this:
from(bucket: "fritzbox")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["_measurement"] == "fritzbox_wan")
|> filter(fn: (r) => r["_field"] == "total_bytes_sent" or r["_field"] == "total_bytes_received")
|> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)
|> derivative(nonNegative: true)
from fritzbox-telegraf-plugin.
Thanks a lot, Holger.
I've ran telegraf for 20 seconds (--test-wait 20 --test --debug
as params), and this is what I got:
(I've removed some clearly irrelevant lines, and x-ed out some IDs/addresses).
2022-12-23T21:53:54Z I! Starting Telegraf
2022-12-23T21:53:54Z D! [agent] Initializing plugins
2022-12-23T21:53:54Z D! [agent] Starting service inputs
2022-12-23T21:53:54Z I! [inputs.execd] Starting process: /usr/local/bin/telegraf/fritzbox-telegraf-plugin [-config /usr/local/bin/telegraf/fritzbox.conf -poll_interval 10s]
[... snipped some output from cpu/mem/diskio plugins ...]
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Querying device info for: http://fritz.box:49000"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Fetching XML from: http://fritz.box:49000/tr64desc.xml"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering root device: FRITZ!Box 5530"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:DeviceInfo:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:DeviceInfo:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/deviceinfo ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 401"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:DeviceInfo:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/deviceinfo ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetInfoResponse xmlns:u=\"urn:dslforum-org:service:DeviceInfo:1\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewManufacturerName>AVM</NewManufacturerName>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewManufacturerOUI>00040E</NewManufacturerOUI>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewModelName>FRITZ!Box 5530</NewModelName>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewDescription>FRITZ!Box 5530 257.07.29</NewDescription>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewProductClass>FRITZ!Box</NewProductClass>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewSerialNumber>xxxxxxxxxxxx(anonymized)</NewSerialNumber>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewSoftwareVersion>257.07.29</NewSoftwareVersion>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewHardwareVersion>FRITZ!Box 5530</NewHardwareVersion>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewSpecVersion>1.0</NewSpecVersion>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewProvisioningCode>AXCF</NewProvisioningCode>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewUpTime>3754169</NewUpTime>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewDeviceLog>23.12.22 05:27:32 Internet connection established successfully. IP address: 92.196.54.70, DNS server: 212.202.215.1 and 212.202.215.2, gateway: 213.148.133.237, bro
adband PoP: srbstg11"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "23.12.22 05:27:31 Internet connection cleared."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "23.12.22 05:27:28 Clearing internet connection briefly to prevent the internet service provider from disconnecting you in the immediate future."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "22.12.22 05:28:32 Internet connection established successfully. IP address: 83.236.14.70, DNS server: 212.202.215.1 and 212.202.215.2, gateway: 213.148.133.237, broadband PoP: srb
stg11"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "22.12.22 05:28:31 Internet connection cleared."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "22.12.22 05:28:28 Clearing internet connection briefly to prevent the internet service provider from disconnecting you in the immediate future."
[... snipped many more log messages ...]
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "10.11.22 12:05:09 Internet connection established successfully. IP address: 92.194.129.79, DNS server: 212.202.215.1 and 212.202.215.2, gateway: 213.148.133.235, broadband PoP: sr
bfra31</NewDeviceLog>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetInfoResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:DeviceConfig:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:Layer3Forwarding:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:LANConfigSecurity:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:ManagementServer:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:Time:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:UserInterface:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_UPnP:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Speedtest:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_RemoteAccess:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_MyFritz:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_VoIP:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_OnTel:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Dect:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_TAM:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_AppSetup:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Homeauto:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Homeplug:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Auth:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_HostFilter:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering device: LANDevice - FRITZ!Box 5530"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:WLANConfiguration:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/wlanconfig1 ..."
> fritzbox_device,fritz_device=fritz.box,fritz_service=DeviceInfo1,host=data model_name="FRITZ!Box 5530",uptime=3754169i 1671832444447308393
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 401"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/wlanconfig1 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetInfoResponse xmlns:u=\"urn:dslforum-org:service:WLANConfiguration:1\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewEnable>1</NewEnable>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewStatus>Up</NewStatus>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxBitRate>Auto</NewMaxBitRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewChannel>7</NewChannel>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewSSID>mywifi</NewSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBeaconType>11i</NewBeaconType>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM-DE_PossibleBeaconTypes>None,11i,11iandWPA3</NewX_AVM-DE_PossibleBeaconTypes>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMACAddressControlEnabled>0</NewMACAddressControlEnabled>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewStandard>ax</NewStandard>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBSSID>xx:xx:xx:xx:xx:xx</NewBSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBasicEncryptionModes>None</NewBasicEncryptionModes>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBasicAuthenticationMode>None</NewBasicAuthenticationMode>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxCharsSSID>32</NewMaxCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMinCharsSSID>1</NewMinCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewAllowedCharsSSID>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz !"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~</NewAllowedCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMinCharsPSK>64</NewMinCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxCharsPSK>64</NewMaxCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewAllowedCharsPSK>0123456789ABCDEFabcdef</NewAllowedCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetInfoResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:1#GetTotalAssociations on endpoint http://fritz.box:49000/upnp/control/wlanconfig1 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetTotalAssociationsResponse xmlns:u=\"urn:dslforum-org:service:WLANConfiguration:1\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewTotalAssociations>2</NewTotalAssociations>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetTotalAssociationsResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:WLANConfiguration:2"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:2#GetInfo on endpoint http://fritz.box:49000/upnp/control/wlanconfig2 ..."
> fritzbox_wlan,fritz_device=fritz.box,fritz_service=WLANConfiguration1,fritz_wlan_channel=fritz.box:mywifi:7,fritz_wlan_network=fritz.box:mywifi:2G,host=data total_associations=2i 1671832444593898846
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 401"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:2#GetInfo on endpoint http://fritz.box:49000/upnp/control/wlanconfig2 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetInfoResponse xmlns:u=\"urn:dslforum-org:service:WLANConfiguration:2\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewEnable>1</NewEnable>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewStatus>Up</NewStatus>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxBitRate>Auto</NewMaxBitRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewChannel>36</NewChannel>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewSSID>mywifi</NewSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBeaconType>11i</NewBeaconType>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM-DE_PossibleBeaconTypes>None,11i,11iandWPA3</NewX_AVM-DE_PossibleBeaconTypes>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMACAddressControlEnabled>0</NewMACAddressControlEnabled>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewStandard>ax</NewStandard>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBSSID>xx:xx:xx:xx:xx:xx</NewBSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBasicEncryptionModes>None</NewBasicEncryptionModes>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBasicAuthenticationMode>None</NewBasicAuthenticationMode>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxCharsSSID>32</NewMaxCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMinCharsSSID>1</NewMinCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewAllowedCharsSSID>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz !"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~</NewAllowedCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMinCharsPSK>64</NewMinCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxCharsPSK>64</NewMaxCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewAllowedCharsPSK>0123456789ABCDEFabcdef</NewAllowedCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetInfoResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:2#GetTotalAssociations on endpoint http://fritz.box:49000/upnp/control/wlanconfig2 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetTotalAssociationsResponse xmlns:u=\"urn:dslforum-org:service:WLANConfiguration:2\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewTotalAssociations>0</NewTotalAssociations>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetTotalAssociationsResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:WLANConfiguration:3"
> fritzbox_wlan,fritz_device=fritz.box,fritz_service=WLANConfiguration2,fritz_wlan_channel=fritz.box:mywifi:36,fritz_wlan_network=fritz.box:mywifi:5G,host=data total_associations=0i 1671832444747136012
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:3#GetInfo on endpoint http://fritz.box:49000/upnp/control/wlanconfig3 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 401"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:3#GetInfo on endpoint http://fritz.box:49000/upnp/control/wlanconfig3 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetInfoResponse xmlns:u=\"urn:dslforum-org:service:WLANConfiguration:3\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewEnable>1</NewEnable>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewStatus>Up</NewStatus>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxBitRate>Auto</NewMaxBitRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewChannel>7</NewChannel>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewSSID>mywifi-guest</NewSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBeaconType>11i</NewBeaconType>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM-DE_PossibleBeaconTypes>None,11i,11iandWPA3,OWETrans</NewX_AVM-DE_PossibleBeaconTypes>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMACAddressControlEnabled>0</NewMACAddressControlEnabled>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewStandard>ax</NewStandard>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBSSID>xx:xx:xx:xx:xx:xx</NewBSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBasicEncryptionModes>None</NewBasicEncryptionModes>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewBasicAuthenticationMode>None</NewBasicAuthenticationMode>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxCharsSSID>32</NewMaxCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMinCharsSSID>1</NewMinCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewAllowedCharsSSID>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz !"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~</NewAllowedCharsSSID>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMinCharsPSK>64</NewMinCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewMaxCharsPSK>64</NewMaxCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewAllowedCharsPSK>0123456789ABCDEFabcdef</NewAllowedCharsPSK>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetInfoResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WLANConfiguration:3#GetTotalAssociations on endpoint http://fritz.box:49000/upnp/control/wlanconfig3 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetTotalAssociationsResponse xmlns:u=\"urn:dslforum-org:service:WLANConfiguration:3\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewTotalAssociations>0</NewTotalAssociations>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetTotalAssociationsResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:Hosts:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:LANEthernetInterfaceConfig:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:LANHostConfigManagement:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering device: WANDevice - FRITZ!Box 5530"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:WANCommonInterfaceConfig:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties on endpoint http://fritz.box:49000/upnp/control/wancommonif
config1 ..."
> fritzbox_wlan,fritz_device=fritz.box,fritz_service=WLANConfiguration3,fritz_wlan_channel=fritz.box:mywifi-guest:7,fritz_wlan_network=fritz.box:mywifi-guest:2G,host=data total_associations=0i 1671832444887646981
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 401"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties on endpoint http://fritz.box:49000/upnp/control/wancommonif
config1 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetCommonLinkPropertiesResponse xmlns:u=\"urn:dslforum-org:service:WANCommonInterfaceConfig:1\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewWANAccessType>X_AVM-DE_Fiber</NewWANAccessType>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewLayer1UpstreamMaxBitRate>44000</NewLayer1UpstreamMaxBitRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewLayer1DownstreamMaxBitRate>220000</NewLayer1DownstreamMaxBitRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewPhysicalLinkStatus>Up</NewPhysicalLinkStatus>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetCommonLinkPropertiesResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos on endpoint http://fritz.box:49000/igdupnp/control/WANCommonIFC1
..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 200"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Response:"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetAddonInfosResponse xmlns:u=\"urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewByteSendRate>10155</NewByteSendRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewByteReceiveRate>8598</NewByteReceiveRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewPacketSendRate>0</NewPacketSendRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewPacketReceiveRate>0</NewPacketReceiveRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewTotalBytesSent>1040754571</NewTotalBytesSent>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewTotalBytesReceived>2641275660</NewTotalBytesReceived>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewAutoDisconnectTime>0</NewAutoDisconnectTime>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewIdleDisconnectTime>1</NewIdleDisconnectTime>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewDNSServer1>212.202.215.1</NewDNSServer1>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewDNSServer2>212.202.215.2</NewDNSServer2>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewVoipDNSServer1>212.202.215.1</NewVoipDNSServer1>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewVoipDNSServer2>212.202.215.2</NewVoipDNSServer2>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewUpnpControlEnabled>0</NewUpnpControlEnabled>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewRoutedBridgedModeBoth>1</NewRoutedBridgedModeBoth>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesSent64>1040754571</NewX_AVM_DE_TotalBytesSent64>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesReceived64>19821144844</NewX_AVM_DE_TotalBytesReceived64>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM_DE_WANAccessType>Fiber</NewX_AVM_DE_WANAccessType>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetAddonInfosResponse>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Considering service type: urn:dslforum-org:service:WANDSLInterfaceConfig:1"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WANDSLInterfaceConfig:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/wandslifconfig1 ..."
> fritzbox_wan,fritz_device=fritz.box,fritz_service=WANCommonInterfaceConfig1,host=data downstream_current_max_speed=0i,layer1_downstream_max_bit_rate=220000i,layer1_upstream_max_bit_rate=44000i,total_bytes_received=19821144844
i,total_bytes_sent=1040754571i,upstream_current_max_speed=0i 1671832444961857784
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 401"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WANDSLInterfaceConfig:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/wandslifconfig1 ..."
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Status code: 500"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "2022/12/23 22:54:04 I! Invoking SOAP action urn:dslforum-org:service:WANDSLInterfaceConfig:1#GetStatisticsTotal on endpoint http://fritz.box:49000/upnp/control/wandslifconfig1 ...
"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Status code: 500"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Considering device: WANConnectionDevice - FRITZ!Box 5530"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Considering service type: urn:dslforum-org:service:WANDSLLinkConfig:1"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Considering service type: urn:dslforum-org:service:WANEthernetLinkConfig:1"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Considering service type: urn:dslforum-org:service:WANPPPConnection:1"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Invoking SOAP action urn:dslforum-org:service:WANPPPConnection:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/wanpppconn1 ..."
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Status code: 401"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Invoking SOAP action urn:dslforum-org:service:WANPPPConnection:1#GetInfo on endpoint http://fritz.box:49000/upnp/control/wanpppconn1 ..."
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Status code: 200"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Response:"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<u:GetInfoResponse xmlns:u=\"urn:dslforum-org:service:WANPPPConnection:1\">"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewEnable>1</NewEnable>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewConnectionStatus>Connected</NewConnectionStatus>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewPossibleConnectionTypes>IP_Routed, IP_Bridged</NewPossibleConnectionTypes>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewConnectionType>IP_Routed</NewConnectionType>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewName>internet</NewName>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewUptime>62793</NewUptime>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewUpstreamMaxBitRate>39849</NewUpstreamMaxBitRate>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewDownstreamMaxBitRate>199245</NewDownstreamMaxBitRate>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewLastConnectionError>ERROR_NONE</NewLastConnectionError>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewIdleDisconnectTime>0</NewIdleDisconnectTime>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewRSIPAvailable>0</NewRSIPAvailable>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewUserName>[email protected]</NewUserName>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewNATEnabled>1</NewNATEnabled>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewExternalIPAddress>92.196.54.70</NewExternalIPAddress>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewDNSServers>212.202.215.1, 212.202.215.2</NewDNSServers>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewMACAddress>xx:xx:xx:xx:xx:xx</NewMACAddress>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewConnectionTrigger>AlwaysOn</NewConnectionTrigger>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewLastAuthErrorInfo></NewLastAuthErrorInfo>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewMaxCharsUsername>128</NewMaxCharsUsername>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewMinCharsUsername>3</NewMinCharsUsername>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewAllowedCharsUsername>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._@()#/%[]{}*+ยง$&=?!:;,</NewAllowedCharsUsername>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewMaxCharsPassword>64</NewMaxCharsPassword>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewMinCharsPassword>3</NewMinCharsPassword>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewAllowedCharsPassword>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._@()#/%[]{}*+ยง$&=?!:;,</NewAllowedCharsPassword>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewTransportType>PPPoE</NewTransportType>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewRouteProtocolRx>Off</NewRouteProtocolRx>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewPPPoEServiceName></NewPPPoEServiceName>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewRemoteIPAddress></NewRemoteIPAddress>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewPPPoEACName>srbstg11</NewPPPoEACName>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewDNSEnabled>1</NewDNSEnabled>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "<NewDNSOverrideAllowed>1</NewDNSOverrideAllowed>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "</u:GetInfoResponse>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:05Z E! [inputs.execd] stderr: "2022/12/23 22:54:05 I! Considering service type: urn:dslforum-org:service:WANIPConnection:1"
> fritzbox_ppp,fritz_device=fritz.box,fritz_service=WANPPPConnection1,host=data downstream_max_bit_rate=199245i,upstream_max_bit_rate=39849i,uptime=62793i 1671832445057788897
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering root device: FRITZ!Box 5530"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:DeviceInfo:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:DeviceConfig:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:Layer3Forwarding:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:LANConfigSecurity:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:ManagementServer:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:Time:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:UserInterface:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_UPnP:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Speedtest:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_RemoteAccess:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_MyFritz:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_VoIP:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_OnTel:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Dect:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_TAM:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_AppSetup:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Homeauto:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Homeplug:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_Auth:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:X_AVM-DE_HostFilter:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering device: LANDevice - FRITZ!Box 5530"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WLANConfiguration:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WLANConfiguration:2"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WLANConfiguration:3"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:Hosts:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:LANEthernetInterfaceConfig:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:LANHostConfigManagement:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering device: WANDevice - FRITZ!Box 5530"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WANCommonInterfaceConfig:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Invoking SOAP action urn:dslforum-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties on endpoint http://fritz.box:49000/upnp/control/wancommonif
config1 ..."
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Status code: 401"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Invoking SOAP action urn:dslforum-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties on endpoint http://fritz.box:49000/upnp/control/wancommonif
config1 ..."
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Status code: 200"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Response:"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<?xml version=\"1.0\"?>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: " <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<u:GetCommonLinkPropertiesResponse xmlns:u=\"urn:dslforum-org:service:WANCommonInterfaceConfig:1\">"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewWANAccessType>X_AVM-DE_Fiber</NewWANAccessType>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewLayer1UpstreamMaxBitRate>44000</NewLayer1UpstreamMaxBitRate>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewLayer1DownstreamMaxBitRate>220000</NewLayer1DownstreamMaxBitRate>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewPhysicalLinkStatus>Up</NewPhysicalLinkStatus>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "</u:GetCommonLinkPropertiesResponse>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Invoking SOAP action urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos on endpoint http://fritz.box:49000/igdupnp/control/WANCommonIFC1
..."
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Status code: 200"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Response:"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<s:Body>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<u:GetAddonInfosResponse xmlns:u=\"urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1\">"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewByteSendRate>720</NewByteSendRate>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewByteReceiveRate>759</NewByteReceiveRate>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewPacketSendRate>0</NewPacketSendRate>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewPacketReceiveRate>0</NewPacketReceiveRate>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewTotalBytesSent>1040762810</NewTotalBytesSent>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewTotalBytesReceived>2641284495</NewTotalBytesReceived>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewAutoDisconnectTime>0</NewAutoDisconnectTime>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewIdleDisconnectTime>0</NewIdleDisconnectTime>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewDNSServer1>212.202.215.1</NewDNSServer1>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewDNSServer2>212.202.215.2</NewDNSServer2>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewVoipDNSServer1>212.202.215.1</NewVoipDNSServer1>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewVoipDNSServer2>212.202.215.2</NewVoipDNSServer2>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewUpnpControlEnabled>0</NewUpnpControlEnabled>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewRoutedBridgedModeBoth>1</NewRoutedBridgedModeBoth>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesSent64>1040762810</NewX_AVM_DE_TotalBytesSent64>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesReceived64>19821153679</NewX_AVM_DE_TotalBytesReceived64>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewX_AVM_DE_WANAccessType>Fiber</NewX_AVM_DE_WANAccessType>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "</u:GetAddonInfosResponse>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "</s:Body>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "</s:Envelope>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WANDSLInterfaceConfig:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering device: WANConnectionDevice - FRITZ!Box 5530"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WANDSLLinkConfig:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WANEthernetLinkConfig:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WANPPPConnection:1"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "2022/12/23 22:54:14 I! Considering service type: urn:dslforum-org:service:WANIPConnection:1"
> fritzbox_wan,fritz_device=fritz.box,fritz_service=WANCommonInterfaceConfig1,host=data downstream_current_max_speed=0i,layer1_downstream_max_bit_rate=220000i,layer1_upstream_max_bit_rate=44000i,total_bytes_received=19821153679
i,total_bytes_sent=1040762810i,upstream_current_max_speed=0i 1671832454356071348
2022-12-23T21:54:14Z D! [agent] Stopping service inputs
2022-12-23T21:54:14Z I! [inputs.execd] Process /usr/local/bin/telegraf/fritzbox-telegraf-plugin shut down
2022-12-23T21:54:14Z D! [agent] Input channel closed
2022-12-23T21:54:14Z D! [agent] Stopped Successfully
2022-12-23T21:54:14Z E! [telegraf] Error running agent: input plugins recorded 497 errors
from fritzbox-telegraf-plugin.
As guessed. The part of interest is
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<u:GetCommonLinkPropertiesResponse xmlns:u=\"urn:dslforum-org:service:WANCommonInterfaceConfig:1\">"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewWANAccessType>X_AVM-DE_Fiber</NewWANAccessType>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewLayer1UpstreamMaxBitRate>44000</NewLayer1UpstreamMaxBitRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewLayer1DownstreamMaxBitRate>220000</NewLayer1DownstreamMaxBitRate>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewPhysicalLinkStatus>Up</NewPhysicalLinkStatus>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "</u:GetCommonLinkPropertiesResponse>"
and it is missing the attributes NewX_AVM-DE_UpstreamCurrentMaxSpeed
/NewX_AVM-DE_DownstreamCurrentMaxSpeed
. Therefore 0 is reported in your case. There is nothing the plugin can do about it.
In the GetAddonInfosResponse
SOAP call you see the actual rates (at the time of the SOAP call) reported by the Fritz!Box
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<u:GetAddonInfosResponse xmlns:u=\"urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1\">"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewByteSendRate>720</NewByteSendRate>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewByteReceiveRate>759</NewByteReceiveRate>"
...
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "</u:GetAddonInfosResponse>"
Looking at the sent/receive attributes:
...
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesSent64>1040754571</NewX_AVM_DE_TotalBytesSent64>"
2022-12-23T21:54:04Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesReceived64>19821144844</NewX_AVM_DE_TotalBytesReceived64>"
...
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesSent64>1040762810</NewX_AVM_DE_TotalBytesSent64>"
2022-12-23T21:54:14Z E! [inputs.execd] stderr: "<NewX_AVM_DE_TotalBytesReceived64>19821153679</NewX_AVM_DE_TotalBytesReceived64>"
resulting in
avg. send rate = (1040762810 - 1040754571)/10s = 824 bytes/s
avg. receive rate = (19821153679 - 19821144844)/10s = 884 bytes/s
you see the mentioned discrepancy. And this is only a low traffic situation.
If of help, I can report the NewByteSendRate
/NewByteReceiveRate
as well. However I suggest to use something like non_negative_derivative (actual function depends on your TSDB) to derive the rate from the total_bytes_sent
/total_bytes_received
values. Assuming this is what you want to achieve via the missing max rate infos.
from fritzbox-telegraf-plugin.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fritzbox-telegraf-plugin.