1
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
bot f29539fbe5 tika: Update to 3.0.0.0 2024-10-26 11:32:23 +00:00
bot dc1c929a5f paperless-ngx: Update to 2.13.0 2024-10-26 11:32:22 +00:00
3 changed files with 10 additions and 87 deletions

View File

@ -45,7 +45,7 @@ patches:
images: images:
- name: ghcr.io/paperless-ngx/paperless-ngx - name: ghcr.io/paperless-ngx/paperless-ngx
newTag: 2.13.2 newTag: 2.13.0
- name: docker.io/gotenberg/gotenberg - name: docker.io/gotenberg/gotenberg
newTag: 8.12.0 newTag: 8.12.0
- name: docker.io/apache/tika - name: docker.io/apache/tika

View File

@ -68,48 +68,18 @@ groups:
rules: rules:
- alert: Frigate is Unavailable - alert: Frigate is Unavailable
expr: expr:
absent(frigate_service_info) homeassistant_entity_available{entity=~".*frigate_(server|status)"} != 1
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: Home Assistant - name: Sensors
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:
@ -200,28 +170,10 @@ groups:
rules: rules:
- alert: Celery tasks failed - alert: Celery tasks failed
expr: >- expr: >-
max_over_time( flower_events_total{job="paperless-ngx", type="task-failed"} > 0
increase(
flower_events_total{job="paperless-ngx", type="task-failed"}
)[24h]
) > 0
annotations: annotations:
summary: Paperless-ngx Celery task failed summary: One or more Celery tasks have 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.

View File

@ -76,6 +76,7 @@ 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
@ -250,6 +251,7 @@ 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:
@ -277,21 +279,14 @@ 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
dns_sd_configs: static_configs:
- names: - targets:
- 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
@ -461,27 +456,3 @@ 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'