sberk42 / fritzbox_exporter

Fritz!Box Upnp statistics exporter for prometheus
Apache License 2.0
125 stars 42 forks source link

Customized metrics-lua.json for Fritz!Box 6660 Cable (Fritz!OS 7.57) #38

Open nurunet opened 7 months ago

nurunet commented 7 months ago

Hi,

in case this is of interest to someone, this is my metrics-lua.json with some extra metrics on top of those in the generic cable box file:

fb6660-cable.json

I get some warnings, but they are because I only get DOCSIS 3.1 downstream (and not upstream, so the array is empty?) and my connection is over IP (no PPP, so the four PPP entries in metrics.json probably trigger the UPnP 401). These shouldn't cause trouble:

time="2024-02-24T12:48:38Z" level=error msg="Can not get metric values for data.channelUs.docsis31..powerLevel: item 'data.channelUs.docsis31.' has no values" time="2024-02-24T12:48:39Z" level=error msg="Can not get metric values for data.channelUs.docsis31..modulation: item 'data.channelUs.docsis31.' has no values" time="2024-02-24T12:49:36Z" level=warning msg="can not collect metrics: GetInfo: SAOPFault: UPnPError 401 (Invalid Action)" time="2024-02-24T12:49:36Z" level=warning msg="can not collect metrics: GetInfo: SAOPFault: UPnPError 401 (Invalid Action)" time="2024-02-24T12:49:36Z" level=warning msg="can not collect metrics: GetInfo: SAOPFault: UPnPError 401 (Invalid Action)" time="2024-02-24T12:49:36Z" level=warning msg="can not collect metrics: GetInfo: SAOPFault: UPnPError 401 (Invalid Action)"

AchimGrolimund commented 5 months ago

same Issue with this PPP in my Issue #35 I also made sum code changes to get mor infos on this error see here: https://github.com/sberk42/fritzbox_exporter/issues/35#issuecomment-1864234552