Interim refactoring of smartmon.py to ditch homegrown metric rendering code and use the official Prometheus Python client library.
This collector still needs a pretty major overhaul - and conversion to use smartctl JSON output, which would simplify things considerably. My gut feeling is that the original script was a bit overengineered due to neglecting to use the official client_python library.
Interim refactoring of smartmon.py to ditch homegrown metric rendering code and use the official Prometheus Python client library.
This collector still needs a pretty major overhaul - and conversion to use smartctl JSON output, which would simplify things considerably. My gut feeling is that the original script was a bit overengineered due to neglecting to use the official client_python library.