The connector panel in the host dashboard does not properly report the connectors status because the PromQL query does not specify the desired state.
Specifications
Similarly to what has been done for the "Monitored Devices" panel, the query should probably look like:
hardware_sentry_connector_status{site=~"$site", host_name=~"$host_name", state="ok"} > 0 or hardware_sentry_connector_status{site=~"$site", host_name=~"$host_name", state="degraded"} > 0 or hardware_sentry_connector_status{site=~"$site", host_name=~"$host_name", state="failed"} > 0
with a value mapping to display the correct connector status.
Issue
The connector panel in the host dashboard does not properly report the connectors status because the PromQL query does not specify the desired state.
Specifications
Similarly to what has been done for the "Monitored Devices" panel, the query should probably look like:
hardware_sentry_connector_status{site=~"$site", host_name=~"$host_name", state="ok"} > 0 or hardware_sentry_connector_status{site=~"$site", host_name=~"$host_name", state="degraded"} > 0 or hardware_sentry_connector_status{site=~"$site", host_name=~"$host_name", state="failed"} > 0
with a value mapping to display the correct connector status.