Closed NassimBtk closed 2 months ago
I tested the fix locally on my computer. The tests covered those cases:
Grafana should not display any hw.status metric at all.
Grafana should display hw.status metric for all nonendpoint host monitors for which the connector has "hardware" tag. For endpoint host monitors, only the endpoint hosts having at least one connector monitor having "hardware" tag.
Proposal
The missing device detection in
HardwarePostDiscoveryStrategy
should exclude monitors discovered from connectors that lack thehardware
tag.