Merge pull request #93 from AsLuck/master

Adding rules for Lusitaniae/apache_exporter
This commit is contained in:
Samuel Berthe 2020-03-20 16:14:06 +01:00 committed by GitHub
commit 0e57592bf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: