Missing Temperature Metrics Critical

MissingTemperatureMetricsCritical #

Meaning #

Temperature metrics from a Shelly H&T sensor have not been updated in the past 72 hours. This indicates that the sensor is offline or experiencing connectivity issues.

Impact #

Without temperature monitoring, you lose visibility into room conditions, potentially missing critical events like overheating, freezing, or humidity spikes. The sensor may also be indicating a hardware failure.

Diagnosis #

Check which specific Shelly H&T sensors are not reporting metrics:

increase(shellyht_last_report[15m]) < 300

Verify the Shelly H&T monitor pod is running:

kubectl get pods -n iot -l app.kubernetes.io/name=shelly-ht-monitor

Check the Shelly H&T monitor logs for connection errors:

kubectl logs -n iot -l app.kubernetes.io/name=shelly-ht-monitor --tail=100

Verify the sensor is accessible on the network by checking if it responds to pings or HTTP requests.

Mitigation #

Power cycle the Shelly H&T sensor by removing and reinserting the batteries or unplugging and replugging the device.

Check the sensor’s WiFi connection and ensure it is connected to the correct network. If the sensor is battery-powered, replace the batteries as they may be depleted.

If the sensor continues to not report metrics after power cycling, check for hardware issues or consider replacing the device. Verify that the sensor’s firmware is up to date and compatible with the monitoring system.