Add chat.sr.ht rules
Setup alerts monitoring the number of connections to some well-known IRC networks.
This commit is contained in:
parent
5ce3d52183
commit
4c6a07356d
|
@ -0,0 +1,22 @@
|
|||
groups:
|
||||
- name: chat.sr.ht
|
||||
rules:
|
||||
# No hard limit for OFTC, tilde.chat
|
||||
- alert: High number of connections to Libera Chat
|
||||
expr: soju_networks_total{hostname="irc.libera.chat"} > 800 # hard limit: 1k
|
||||
labels:
|
||||
severity: important
|
||||
annotations:
|
||||
summary: "High number of connections to {{ $labels.hostname }}"
|
||||
- alert: High number of connections to Rizon
|
||||
expr: soju_networks_total{hostname="irc.rizon.net"} > 20 # hard limit: 30
|
||||
labels:
|
||||
severity: important
|
||||
annotations:
|
||||
summary: "High number of connections to {{ $labels.hostname }}"
|
||||
- alert: High number of connections to esper.net
|
||||
expr: soju_networks_total{hostname="irc.esper.net"} > 80 # hard limit: 100
|
||||
labels:
|
||||
severity: important
|
||||
annotations:
|
||||
summary: "High number of connections to {{ $labels.hostname }}"
|
Loading…
Reference in New Issue