Make memory checks a lot tighter
Alright look, I design my systems with 10% overhead, not 20%
This commit is contained in:
parent
714e78b4d7
commit
46a567c46a
@ -208,7 +208,7 @@
|
|||||||
- name: Last Ansible Play
|
- name: Last Ansible Play
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_file_age /var/lib/ansible-last-run -w 176400 -c 216000
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_file_age /var/lib/ansible-last-run -w 176400 -c 216000
|
||||||
- name: Memory Usage
|
- name: Memory Usage
|
||||||
command: check_by_ssh!/usr/lib/nagios/plugins/check_memory -w 20% -c 10%
|
command: check_by_ssh!/usr/lib/nagios/plugins/check_memory -w 10% -c 5%
|
||||||
hostgroup: "ansible,!tag-prov-zfs"
|
hostgroup: "ansible,!tag-prov-zfs"
|
||||||
- name: Ping Self over DNS
|
- name: Ping Self over DNS
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_ping_by_hostname
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_ping_by_hostname
|
||||||
@ -244,7 +244,7 @@
|
|||||||
command: check_by_ssh!/usr/bin/sudo /usr/local/bin/monitoring-scripts/check_docker --no-ok --cpu 85:90
|
command: check_by_ssh!/usr/bin/sudo /usr/local/bin/monitoring-scripts/check_docker --no-ok --cpu 85:90
|
||||||
hostgroup: tag-nagios-checkdocker
|
hostgroup: tag-nagios-checkdocker
|
||||||
- name: Docker Memory Usage
|
- name: Docker Memory Usage
|
||||||
command: check_by_ssh!/usr/bin/sudo /usr/local/bin/monitoring-scripts/check_docker --no-ok --memory 85:90:%
|
command: check_by_ssh!/usr/bin/sudo /usr/local/bin/monitoring-scripts/check_docker --no-ok --memory 90:95:%
|
||||||
hostgroup: tag-nagios-checkdocker
|
hostgroup: tag-nagios-checkdocker
|
||||||
# Privileged checks
|
# Privileged checks
|
||||||
# Required because check_disk may attempt to get the free space of
|
# Required because check_disk may attempt to get the free space of
|
||||||
|
Loading…
Reference in New Issue
Block a user