prometheus-moto-exporter
prometheus-moto-exporter copied to clipboard
Duplicated Statistics after days of uptime
Hey there, running this in Docker (see also #14, it saved me a ton of work and a chunk of hair) against an MB8600 on a Raspberry Pi 4B, and after some amount of uptime, the metrics being exposed start to deviate and also become invalid in various ways. I'm not sure if this is the fault of the MB8600 or not (probably is). I'm sure we all know how reliable the SOAP/whatever-the-heck HNAP is and web Interface provided data of these devices is.
As of this writing I have 3 moto_device_hardware_info
lines:
# HELP moto_device_hardware_info channel locked status
# TYPE moto_device_hardware_info gauge
moto_device_hardware_info{boot_file="",customer_version="Prod_19.3_d31",hardware_version="",serial="",software_version="8600-19.3.18",spec_version="DOCSIS 1.0"} 1
moto_device_hardware_info{boot_file="",customer_version="Prod_19.3_d31",hardware_version="",serial="0020-MB8600-0005",software_version="8600-19.3.18",spec_version="DOCSIS 3.1"} 1
moto_device_hardware_info{boot_file="",customer_version="Prod_19.3_d31",hardware_version="V1.0",serial="0020-MB8600-0005",software_version="8600-19.3.18",spec_version="DOCSIS 3.1"} 1
Missing hardware version, missing serial, and a random DOCSIS 1.0.
I'm still learning Grafana and visualization, so configuring the display of "Last *" (Last non-null value) data winds up showing multiple blocks of data when one of these duplicated lines of data begins to exist.