mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
Merge pull request #93 from AsLuck/master
Adding rules for Lusitaniae/apache_exporter
This commit is contained in:
commit
0e57592bf1
1 changed files with 12 additions and 0 deletions
|
|
@ -742,6 +742,18 @@ groups:
|
|||
- name: Lusitaniae/apache_exporter
|
||||
doc_url: https://github.com/Lusitaniae/apache_exporter
|
||||
rules:
|
||||
- name: Apache down
|
||||
description: Apache down
|
||||
query: 'apache_up == 0'
|
||||
severity: error
|
||||
- name: Apache workers load
|
||||
description: Apache workers in busy state approach the max workers count 80% workers busy on {{ $labels.instance }}
|
||||
query: '(sum by (instance) (apache_workers{state="busy"}) / sum by (instance) (apache_scoreboard) ) * 100 > 80'
|
||||
severity: error
|
||||
- name: Apache restart
|
||||
description: Apache has just been restarted, less than one minute ago.
|
||||
query: 'apache_uptime_seconds_total / 60 < 1'
|
||||
severity: warning
|
||||
|
||||
- name: HaProxy
|
||||
exporters:
|
||||
|
|
|
|||
Loading…
Reference in a new issue