[sonarr] add template to rules (#1192)

This commit is contained in:
j_r0dd 2021-09-12 19:47:49 -04:00 committed by GitHub
parent 5491a25b94
commit e1494a5b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v3.0.6.1265
description: Smart PVR for newsgroup and bittorrent users
name: sonarr
version: 15.0.0
version: 15.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- sonarr

View File

@ -1,6 +1,6 @@
# sonarr
![Version: 15.0.0](https://img.shields.io/badge/Version-15.0.0-informational?style=flat-square) ![AppVersion: v3.0.6.1265](https://img.shields.io/badge/AppVersion-v3.0.6.1265-informational?style=flat-square)
![Version: 15.0.1](https://img.shields.io/badge/Version-15.0.1-informational?style=flat-square) ![AppVersion: v3.0.6.1265](https://img.shields.io/badge/AppVersion-v3.0.6.1265-informational?style=flat-square)
Smart PVR for newsgroup and bittorrent users

View File

@ -10,7 +10,7 @@ metadata:
{{- end }}
spec:
groups:
- name: sonarr
- name: {{ include "common.names.fullname" . }}
rules:
- alert: ExportarrAbsent
annotations:
@ -18,7 +18,7 @@ spec:
service discovery.
summary: Exportarr is down.
expr: |
absent(up{job=~".*sonarr.*"} == 1)
absent(up{job="{{ include "common.names.fullname" . }}"} == 1)
for: 5m
labels:
severity: critical