Add memory checks to hosts

This commit is contained in:
Salt 2021-10-03 22:25:07 -05:00
parent da3f0a24f4
commit 1e1946d8e0

View File

@ -28,10 +28,12 @@
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_cpu_stats -w 75 -c 90
- name: Disk Usage
command: check_by_ssh!/usr/lib/nagios/plugins/check_disk -M -u GB -X nfs -X tracefs -X cgroup -X tmpfs -X overlay -X shm -w 15% -c 10% -W 15% -K 10% -A -I '^/run/' -I '^udev$' -I '^/var/lib/kubelet/'
- name: Reboot Required
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required
- name: Memory Usage
command: check_by_ssh!/usr/lib/nagios/plugins/check_memory -w 20% -c 10%
- name: Package Updates
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_apt_pending
- name: Reboot Required
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required
- name: Unit atd.service
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit atd.service
- name: Unit backup.service