mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Merge pull request #71 from robert-will-brown/prometheus-alerts
Prometheus alerts
This commit is contained in:
commit
580366554d
1 changed files with 8 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ services:
|
|||
description: Prometheus configuration reload error
|
||||
query: 'prometheus_config_last_reload_successful != 1'
|
||||
severity: error
|
||||
- name: Prometheus not connected to alertmanager
|
||||
description: Prometheus cannot connect the alertmanager
|
||||
query: 'prometheus_notifications_alertmanagers_discovered < 1'
|
||||
severity: error
|
||||
- name: AlertManager configuration reload
|
||||
description: AlertManager configuration reload error
|
||||
query: 'alertmanager_config_last_reload_successful != 1'
|
||||
|
|
@ -45,6 +49,10 @@ services:
|
|||
description: Disk is almost full (< 10% left)
|
||||
query: 'node_filesystem_free_bytes{mountpoint ="/rootfs"} / node_filesystem_size_bytes{mountpoint ="/rootfs"} * 100 < 10'
|
||||
severity: warning
|
||||
- name: Disk will fill in 4 hours
|
||||
description: Disk will fill in 4 hours at current write rate
|
||||
query: 'predict_linear(node_filesystem_free_bytes[1h], 4 * 3600) < 0'
|
||||
severity: warning
|
||||
- name: Out of inodes
|
||||
description: Disk is almost running out of available inodes (< 10% left)
|
||||
query: 'node_filesystem_files_free{mountpoint ="/rootfs"} / node_filesystem_files{mountpoint ="/rootfs"} * 100 < 10'
|
||||
|
|
|
|||
Loading…
Reference in a new issue