Compare commits

..

4 Commits

2 changed files with 6 additions and 2 deletions

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: DNS Resolution
command: check_by_ssh!/usr/lib/nagios/plugins/check_etc_resolv
- 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
command: check_by_ssh!/usr/lib/nagios/plugins/check_packages
- name: Reboot Required
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required
- name: Unit atd.service

View File

@ -35,5 +35,7 @@
- name: remove basic packages
apt: state=absent name=unattended-upgrades
- name: autoremove
apt: autoremove=yes
apt: autoremove=yes purge=yes
- name: autoclean
apt: autoclean=yes
when: ansible_os_family == "Debian"