Tweak checks to make them more better

This commit is contained in:
Salt 2021-08-15 15:18:52 -05:00
parent 4d0b005181
commit 9f4727b6c9

View File

@ -7,7 +7,10 @@
vars:
nrpe_server_bind_address: 0.0.0.0
nrpe_server_allowed_hosts:
- 172.23.0.0/16 # Entire Zerotier management network
- 127.0.0.0/24 # Local machines
- 192.168.0.0/16
- 172.16.0.0/12
- 10.0.0.0/8
- 45.79.24.6/32 # web3.desu.ltd
nrpe_plugin_packages:
- monitoring-plugins
@ -15,10 +18,10 @@
nrpe_command:
check_disk_all:
script: check_disk
option: -M -u GB -A -X tmpfs -X overlay -X shm -w 80% -c 90% -W 80% -K 90% -I '^/run/'
option: -M -u GB -X nfs -X tracefs -X cgroup -X tmpfs -X overlay -X shm -w 20% -c 10% -W 20% -K 10% -A -I '^/run/' -I '^udev$' -I '^/var/lib/kubelet/'
check_load:
script: check_load
option: -r -w 0.8,0.7,0.7 -c 1.0,0.9,0.9
option: -r -w 0.8,0.8,0.8 -c 1.0,0.9,0.9
check_swap:
script: check_swap
option: -n ok -w 70% -c 80%