Compare commits
9 Commits
cac7657e9e
...
ee9af76929
Author | SHA1 | Date |
---|---|---|
|
ee9af76929 | |
|
76c182f758 | |
|
0ee2952095 | |
|
4cef41688f | |
|
6cf11f9f61 | |
|
7a768cbb76 | |
|
0101040634 | |
|
3f9601dc94 | |
|
d12e66f58a |
|
@ -117,14 +117,14 @@ patches:
|
||||||
name: dch-root-ca
|
name: dch-root-ca
|
||||||
images:
|
images:
|
||||||
- name: ghcr.io/home-assistant/home-assistant
|
- name: ghcr.io/home-assistant/home-assistant
|
||||||
newTag: 2024.10.3
|
newTag: 2024.10.4
|
||||||
- name: docker.io/rhasspy/wyoming-whisper
|
- name: docker.io/rhasspy/wyoming-whisper
|
||||||
newTag: 2.2.0
|
newTag: 2.2.0
|
||||||
- name: docker.io/rhasspy/wyoming-piper
|
- name: docker.io/rhasspy/wyoming-piper
|
||||||
newTag: 1.5.0
|
newTag: 1.5.0
|
||||||
- name: docker.io/koenkk/zigbee2mqtt
|
- name: docker.io/koenkk/zigbee2mqtt
|
||||||
newTag: 1.40.2
|
newTag: 1.41.0
|
||||||
- name: docker.io/zwavejs/zwave-js-ui
|
- name: docker.io/zwavejs/zwave-js-ui
|
||||||
newTag: 9.24.0
|
newTag: 9.26.0
|
||||||
- name: docker.io/library/eclipse-mosquitto
|
- name: docker.io/library/eclipse-mosquitto
|
||||||
newTag: 2.0.20
|
newTag: 2.0.20
|
||||||
|
|
|
@ -68,18 +68,48 @@ groups:
|
||||||
rules:
|
rules:
|
||||||
- alert: Frigate is Unavailable
|
- alert: Frigate is Unavailable
|
||||||
expr:
|
expr:
|
||||||
homeassistant_entity_available{entity=~".*frigate_(server|status)"} != 1
|
absent(frigate_service_info)
|
||||||
|
or irate(frigate_service_last_updated_timestamp) < 1
|
||||||
|
or irate(frigate_service_uptime_seconds) < 1
|
||||||
for: 10m
|
for: 10m
|
||||||
- alert: Camera unavailable
|
- alert: Camera unavailable
|
||||||
expr:
|
expr:
|
||||||
homeassistant_entity_available{domain="camera"} != 1
|
homeassistant_entity_available{domain="camera"} != 1
|
||||||
for: 10m
|
for: 10m
|
||||||
|
|
||||||
- name: Sensors
|
- name: Home Assistant
|
||||||
rules:
|
rules:
|
||||||
- alert: Battery Low
|
- alert: Battery Low
|
||||||
expr:
|
expr:
|
||||||
homeassistant_sensor_battery_percent{entity!~"sensor\\.(pixel_|sm_p610).*"} < 10
|
homeassistant_sensor_battery_percent{entity!~"sensor\\.(pixel_|sm_p610).*"} < 10
|
||||||
|
annotations:
|
||||||
|
summary: >-
|
||||||
|
Low battery: {{ $labels.friendly_name }}
|
||||||
|
severity: minor
|
||||||
|
- alert: Z-Wave Network is Offline
|
||||||
|
expr:
|
||||||
|
sum(
|
||||||
|
homeassistant_entity_available{entity="sensor.usb_controller_status"}
|
||||||
|
) without (
|
||||||
|
friendly_name
|
||||||
|
) < 1
|
||||||
|
annotations:
|
||||||
|
summary: The Z-Wave network controller is offline
|
||||||
|
description: >-
|
||||||
|
Home Assistant is not able to communicate with ZWaveJS, or ZWaveJS is
|
||||||
|
not able to connect to the Z-Wave USB controller. Z-Wave devices like
|
||||||
|
light switches, door sensors, and smart plugs will not work until the
|
||||||
|
Z-Wave network is operational again.
|
||||||
|
- alert: Zigbee Network is Offline
|
||||||
|
expr:
|
||||||
|
homeassistant_binary_sensor_state{entity="binary_sensor.zigbee2mqtt_bridge_connection_state"} == 0
|
||||||
|
annotations:
|
||||||
|
summary: The Zigbee network bridge is offline
|
||||||
|
description: >-
|
||||||
|
Home Assistant is not able to communicate with Zigbee2MQTT, or
|
||||||
|
Zigbee2MQTT is not able to connect to the Z-Wave USB controller.
|
||||||
|
Zigbee devices like smart bulbs and buttons will not work until the
|
||||||
|
Zigbee network is operational again.
|
||||||
|
|
||||||
- name: PostgreSQL
|
- name: PostgreSQL
|
||||||
rules:
|
rules:
|
||||||
|
@ -170,10 +200,28 @@ groups:
|
||||||
rules:
|
rules:
|
||||||
- alert: Celery tasks failed
|
- alert: Celery tasks failed
|
||||||
expr: >-
|
expr: >-
|
||||||
flower_events_total{job="paperless-ngx", type="task-failed"} > 0
|
max_over_time(
|
||||||
|
increase(
|
||||||
|
flower_events_total{job="paperless-ngx", type="task-failed"}
|
||||||
|
)[24h]
|
||||||
|
) > 0
|
||||||
annotations:
|
annotations:
|
||||||
summary: One or more Celery tasks have failed
|
summary: Paperless-ngx Celery task failed
|
||||||
description: >-
|
description: >-
|
||||||
Failing Celery tasks may indicate a problem with the Paperless-ngx
|
Failing Celery tasks may indicate a problem with the Paperless-ngx
|
||||||
deployment and can result in data loss. Check the Paperless-ngx logs
|
deployment and can result in data loss. Check the Paperless-ngx logs
|
||||||
for details about the task failures.
|
for details about the task failures.
|
||||||
|
- alert: Paperless email task not running
|
||||||
|
expr: >-
|
||||||
|
absent(
|
||||||
|
flower_events_total{
|
||||||
|
type="task-started",
|
||||||
|
task="paperless_mail.tasks.process_mail_accounts"
|
||||||
|
}
|
||||||
|
)
|
||||||
|
annotations:
|
||||||
|
summary: Paperless task to process mail accounts has not run recently
|
||||||
|
description: >-
|
||||||
|
Paperless-ngx uses a scheduled Celery task to periodically poll email
|
||||||
|
mailboxes for new messages. If this task does not start, new email
|
||||||
|
messages will not be downloaded and imported into the document library.
|
||||||
|
|
|
@ -76,7 +76,6 @@ scrape_configs:
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- gw1.pyrocufflink.blue
|
- gw1.pyrocufflink.blue
|
||||||
- loki0.pyrocufflink.blue
|
|
||||||
- nut0.pyrocufflink.blue
|
- nut0.pyrocufflink.blue
|
||||||
- nvr2.pyrocufflink.blue
|
- nvr2.pyrocufflink.blue
|
||||||
- unifi3.pyrocufflink.blue
|
- unifi3.pyrocufflink.blue
|
||||||
|
@ -251,7 +250,6 @@ scrape_configs:
|
||||||
metrics_path: /bridge?selector=zincati
|
metrics_path: /bridge?selector=zincati
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- loki0.pyrocufflink.blue
|
|
||||||
- nut0.pyrocufflink.blue
|
- nut0.pyrocufflink.blue
|
||||||
- unifi3.pyrocufflink.blue
|
- unifi3.pyrocufflink.blue
|
||||||
kubernetes_sd_configs:
|
kubernetes_sd_configs:
|
||||||
|
@ -279,14 +277,21 @@ scrape_configs:
|
||||||
scheme: https
|
scheme: https
|
||||||
tls_config:
|
tls_config:
|
||||||
ca_file: /run/dch-ca/dch-root-ca.crt
|
ca_file: /run/dch-ca/dch-root-ca.crt
|
||||||
static_configs:
|
dns_sd_configs:
|
||||||
- targets:
|
- names:
|
||||||
- loki.pyrocufflink.blue
|
- loki.pyrocufflink.blue
|
||||||
|
type: A
|
||||||
|
port: 443
|
||||||
|
relabel_configs:
|
||||||
|
- source_labels: [__meta_dns_name, __meta_dns_srv_record_port]
|
||||||
|
separator: ':'
|
||||||
|
target_label: __address__
|
||||||
|
- source_labels: [__address__]
|
||||||
|
target_label: instance
|
||||||
|
|
||||||
- job_name: promtail
|
- job_name: promtail
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- loki0.pyrocufflink.blue
|
|
||||||
- nut0.pyrocufflink.blue
|
- nut0.pyrocufflink.blue
|
||||||
- nvr2.pyrocufflink.blue
|
- nvr2.pyrocufflink.blue
|
||||||
- unifi3.pyrocufflink.blue
|
- unifi3.pyrocufflink.blue
|
||||||
|
@ -456,3 +461,27 @@ scrape_configs:
|
||||||
- source_labels:
|
- source_labels:
|
||||||
- __meta_kubernetes_pod_name
|
- __meta_kubernetes_pod_name
|
||||||
target_label: instance
|
target_label: instance
|
||||||
|
|
||||||
|
- job_name: frigate
|
||||||
|
dns_sd_configs:
|
||||||
|
- names:
|
||||||
|
- frigate.pyrocufflink.blue
|
||||||
|
type: A
|
||||||
|
port: 9100
|
||||||
|
relabel_configs:
|
||||||
|
- source_labels: [__meta_dns_name, __meta_dns_srv_record_port]
|
||||||
|
separator: ':'
|
||||||
|
target_label: __address__
|
||||||
|
- source_labels: [__address__]
|
||||||
|
target_label: instance
|
||||||
|
|
||||||
|
- job_name: haproxy
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- haproxy0.pyrocufflink.blue
|
||||||
|
relabel_configs:
|
||||||
|
- source_labels: [__address__]
|
||||||
|
target_label: instance
|
||||||
|
- source_labels: [__address__]
|
||||||
|
target_label: __address__
|
||||||
|
replacement: '$1:8118'
|
||||||
|
|
Loading…
Reference in New Issue