Compare commits
4 Commits
c9808bb171
...
93c1902127
Author | SHA1 | Date | |
---|---|---|---|
93c1902127 | |||
a227cb8b48 | |||
e85104c9fd | |||
bc1b927298 |
@ -28,10 +28,12 @@
|
|||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_cpu_stats -w 75 -c 90
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_cpu_stats -w 75 -c 90
|
||||||
- name: Disk Usage
|
- 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/'
|
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: DNS Resolution
|
||||||
|
command: check_by_ssh!/usr/lib/nagios/plugins/check_etc_resolv
|
||||||
- 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 20% -c 10%
|
||||||
- name: Package Updates
|
- name: Package Updates
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_apt_pending
|
command: check_by_ssh!/usr/lib/nagios/plugins/check_packages
|
||||||
- name: Reboot Required
|
- name: Reboot Required
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required
|
||||||
- name: Unit atd.service
|
- name: Unit atd.service
|
||||||
|
@ -35,5 +35,7 @@
|
|||||||
- name: remove basic packages
|
- name: remove basic packages
|
||||||
apt: state=absent name=unattended-upgrades
|
apt: state=absent name=unattended-upgrades
|
||||||
- name: autoremove
|
- name: autoremove
|
||||||
apt: autoremove=yes
|
apt: autoremove=yes purge=yes
|
||||||
|
- name: autoclean
|
||||||
|
apt: autoclean=yes
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
Loading…
Reference in New Issue
Block a user