Make memory checks a lot tighter

Alright look, I design my systems with 10% overhead, not 20%
This commit is contained in:
Salt 2022-01-29 08:39:53 -06:00
parent 714e78b4d7
commit 46a567c46a

View File

@ -208,7 +208,7 @@
- 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
- 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"
- name: Ping Self over DNS
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
hostgroup: tag-nagios-checkdocker
- 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
# Privileged checks
# Required because check_disk may attempt to get the free space of