Compare commits
8 Commits
f29539fbe5
...
07c48d61d7
Author | SHA1 | Date |
---|---|---|
|
07c48d61d7 | |
|
f5fe98a397 | |
|
4cef41688f | |
|
6cf11f9f61 | |
|
7a768cbb76 | |
|
0101040634 | |
|
3f9601dc94 | |
|
d12e66f58a |
|
@ -45,7 +45,7 @@ patches:
|
|||
|
||||
images:
|
||||
- name: ghcr.io/paperless-ngx/paperless-ngx
|
||||
newTag: 2.13.0
|
||||
newTag: 2.13.2
|
||||
- name: docker.io/gotenberg/gotenberg
|
||||
newTag: 8.12.0
|
||||
- name: docker.io/apache/tika
|
||||
|
|
|
@ -68,18 +68,48 @@ groups:
|
|||
rules:
|
||||
- alert: Frigate is Unavailable
|
||||
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
|
||||
- alert: Camera unavailable
|
||||
expr:
|
||||
homeassistant_entity_available{domain="camera"} != 1
|
||||
for: 10m
|
||||
|
||||
- name: Sensors
|
||||
- name: Home Assistant
|
||||
rules:
|
||||
- alert: Battery Low
|
||||
expr:
|
||||
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
|
||||
rules:
|
||||
|
@ -170,10 +200,28 @@ groups:
|
|||
rules:
|
||||
- alert: Celery tasks failed
|
||||
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:
|
||||
summary: One or more Celery tasks have failed
|
||||
summary: Paperless-ngx Celery task failed
|
||||
description: >-
|
||||
Failing Celery tasks may indicate a problem with the Paperless-ngx
|
||||
deployment and can result in data loss. Check the Paperless-ngx logs
|
||||
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:
|
||||
- targets:
|
||||
- gw1.pyrocufflink.blue
|
||||
- loki0.pyrocufflink.blue
|
||||
- nut0.pyrocufflink.blue
|
||||
- nvr2.pyrocufflink.blue
|
||||
- unifi3.pyrocufflink.blue
|
||||
|
@ -251,7 +250,6 @@ scrape_configs:
|
|||
metrics_path: /bridge?selector=zincati
|
||||
static_configs:
|
||||
- targets:
|
||||
- loki0.pyrocufflink.blue
|
||||
- nut0.pyrocufflink.blue
|
||||
- unifi3.pyrocufflink.blue
|
||||
kubernetes_sd_configs:
|
||||
|
@ -279,14 +277,21 @@ scrape_configs:
|
|||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/dch-ca/dch-root-ca.crt
|
||||
static_configs:
|
||||
- targets:
|
||||
dns_sd_configs:
|
||||
- names:
|
||||
- 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
|
||||
static_configs:
|
||||
- targets:
|
||||
- loki0.pyrocufflink.blue
|
||||
- nut0.pyrocufflink.blue
|
||||
- nvr2.pyrocufflink.blue
|
||||
- unifi3.pyrocufflink.blue
|
||||
|
@ -456,3 +461,27 @@ scrape_configs:
|
|||
- source_labels:
|
||||
- __meta_kubernetes_pod_name
|
||||
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