Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only a few values available from FritzOS 8.02 on FritzBox 7590. #435

Open
toopaq opened this issue Feb 11, 2025 · 1 comment
Open

Only a few values available from FritzOS 8.02 on FritzBox 7590. #435

toopaq opened this issue Feb 11, 2025 · 1 comment

Comments

@toopaq
Copy link

toopaq commented Feb 11, 2025

Hi Patrick,

I installed your exporter as stack with Promotheus and Grafana in docker and have only a few metrics available. FritzBox 7590 with FritzOS 8.02.

Is this known or could something be wrong with my setup?

If I curl directly on the docker container I get this: (excerpt only of the fritz metrics)

curl -v http://localhost:9787/metrics

[...]

# HELP fritz_uptime_seconds_total FritzBox uptime, system info in labels
# TYPE fritz_uptime_seconds_total counter
# HELP fritz_known_devices_count Number of devices in hosts table
# TYPE fritz_known_devices_count gauge
fritz_known_devices_count{friendly_name="Fritz!Box",serial="n/a"} 103.0**
# HELP fritz_update_available FritzBox update available
# TYPE fritz_update_available gauge
fritz_update_available{friendly_name="Fritz!Box",newsoftwareversion="n/a",serial="n/a"} 0.0**
# HELP fritz_lan_status_enabled LAN Interface enabled
# TYPE fritz_lan_status_enabled gauge
# HELP fritz_lan_status LAN Interface status
# TYPE fritz_lan_status gauge
# HELP fritz_lan_data_bytes_total LAN bytes received
# TYPE fritz_lan_data_bytes_total counter
# HELP fritz_lan_packet_count_total LAN packets transmitted
# TYPE fritz_lan_packet_count_total counter
# HELP fritz_dsl_status_enabled DSL enabled
# TYPE fritz_dsl_status_enabled gauge
# HELP fritz_dsl_status DSL status
# TYPE fritz_dsl_status gauge
# HELP fritz_dsl_datarate_kbps DSL datarate in kbps
# TYPE fritz_dsl_datarate_kbps gauge
# HELP fritz_dsl_noise_margin_dB Noise Margin in dB
# TYPE fritz_dsl_noise_margin_dB gauge
# HELP fritz_dsl_attenuation_dB Line attenuation in dB
# TYPE fritz_dsl_attenuation_dB gauge
# HELP fritz_dsl_fec_errors_count_total Number of Forward Error Correction Errors
# TYPE fritz_dsl_fec_errors_count_total counter
fritz_dsl_fec_errors_count_total{friendly_name="Fritz!Box",serial="n/a"} 0.0**
# HELP fritz_dsl_crc_errors_count_total Number of CRC Errors
# TYPE fritz_dsl_crc_errors_count_total counter
fritz_dsl_crc_errors_count_total{friendly_name="Fritz!Box",serial="n/a"} 0.0**
# HELP fritz_ppp_connection_uptime_seconds_total PPP connection uptime
# TYPE fritz_ppp_connection_uptime_seconds_total counter
# HELP fritz_ppp_connection_state PPP connection state
# TYPE fritz_ppp_connection_state gauge
# HELP fritz_wan_max_bitrate_bps max bitrate at the physical layer
# TYPE fritz_wan_max_bitrate_bps gauge
# HELP fritz_wan_phys_link_status link status at the physical layer
# TYPE fritz_wan_phys_link_status gauge
# HELP fritz_wan_data_bytes_total WAN data in bytes
# TYPE fritz_wan_data_bytes_total counter
# HELP fritz_wan_datarate_bytes Current WAN data rate in bytes/s
# TYPE fritz_wan_datarate_bytes gauge
fritz_wan_datarate_bytes{direction="rx",friendly_name="Fritz!Box",serial="n/a"} 254959.0
fritz_wan_datarate_bytes{direction="tx",friendly_name="Fritz!Box",serial="n/a"} 257099.0**
# HELP fritz_wan_data_packets_count_total WAN data in packets
# TYPE fritz_wan_data_packets_count_total counter
# HELP fritz_wifi_status Status of WiFi
# TYPE fritz_wifi_status gauge
# HELP fritz_wifi_channel Channel of WiFi
# TYPE fritz_wifi_channel gauge
# HELP fritz_wifi_associations_count Number of associations (devices) in WiFi
# TYPE fritz_wifi_associations_count gauge
# HELP fritz_wifi_packets_count_total Amount of packets in WiFi
# TYPE fritz_wifi_packets_count_total counter
# HELP fritz_host_active Indicates that the device is curently active
# TYPE fritz_host_active gauge
# HELP fritz_host_speed Connection speed of the device
# TYPE fritz_host_speed gauge
# HELP fritz_ha_device_present Indicates that the device is present
# TYPE fritz_ha_device_present gauge
# HELP fritz_ha_multimeter_power_W Power in W
# TYPE fritz_ha_multimeter_power_W gauge
# HELP fritz_ha_multimeter_energy_Wh Energy in Wh
# TYPE fritz_ha_multimeter_energy_Wh gauge
# HELP fritz_ha_temperature_C Temperature in °C
# TYPE fritz_ha_temperature_C gauge
# HELP fritz_ha_temperature_offset_C Temperature offset in °C
# TYPE fritz_ha_temperature_offset_C gauge
# HELP fritz_ha_switch_state Switch state
# TYPE fritz_ha_switch_state gauge
# HELP fritz_ha_switch_mode Switch mode
# TYPE fritz_ha_switch_mode gauge
# HELP fritz_ha_switch_lock Switch lock
# TYPE fritz_ha_switch_lock gauge
# HELP fritz_ha_heater_temperature_C Heater temperature in °C
# TYPE fritz_ha_heater_temperature_C gauge
# HELP fritz_ha_heater_set_temperature_C Heater set temperature in °C
# TYPE fritz_ha_heater_set_temperature_C gauge
# HELP fritz_ha_heater_valve_set_state Heater valve set state
# TYPE fritz_ha_heater_valve_set_state gauge
# HELP fritz_ha_heater_reduced_temperature_C Heater reduced temperature in °C
# TYPE fritz_ha_heater_reduced_temperature_C gauge
# HELP fritz_ha_heater_comfort_temperature_C Heater comfort temperature in °C
# TYPE fritz_ha_heater_comfort_temperature_C gauge
# HELP fritz_ha_heater_reduced_valve_state Heater reduced valve state
# TYPE fritz_ha_heater_reduced_valve_state gauge
# HELP fritz_ha_heater_comfort_valve_state Heater comfort valve state
# TYPE fritz_ha_heater_comfort_valve_state gauge
# HELP fritz_ha_battery_level_percent Battery level in percent
# TYPE fritz_ha_battery_level_percent gauge
# HELP fritz_ha_battery_low Indicates that the battery is low
# TYPE fritz_ha_battery_low gauge
* Closing connection 0

VG
Martin

@toopaq toopaq changed the title Only a few metrics available from FritzOS 8.02 on FritzBox 7590. Only a few values available from FritzOS 8.02 on FritzBox 7590. Feb 11, 2025
@pdreker
Copy link
Owner

pdreker commented Feb 13, 2025

Hmm, I upgraded my box to 8.02 and checked it - it works on my machine (as in: I get all the metrics) ;-)

As a first step you should set the log_level to DEBUG and check what it tells you there on startup. The first step normally is to discovered configured devices and scan for which metrics are available.

See https://fritz-exporter.readthedocs.io/en/latest/configuration.html

kind regards,
Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants