Fix accidentally removing a ton of checks from each host
This commit is contained in:
parent
e2d738ba40
commit
e0b385a1c5
@ -189,7 +189,7 @@
|
|||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_file_age /var/lib/ansible-last-run -w 93600 -c 129600
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_file_age /var/lib/ansible-last-run -w 93600 -c 129600
|
||||||
- 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%
|
||||||
hostgroup: "!tag-prov-zfs"
|
hostgroup: "ansible,!tag-prov-zfs"
|
||||||
- name: Ping Self over DNS
|
- name: Ping Self over DNS
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_ping_by_hostname
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_ping_by_hostname
|
||||||
- name: Reboot Required
|
- name: Reboot Required
|
||||||
@ -198,22 +198,22 @@
|
|||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit atd.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit atd.service
|
||||||
- name: Unit backup.service
|
- name: Unit backup.service
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit backup.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit backup.service
|
||||||
hostgroup: "!role-hypervisor"
|
hostgroup: "ansible,!role-hypervisor"
|
||||||
- name: Unit backup.timer
|
- name: Unit backup.timer
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit backup.timer
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit backup.timer
|
||||||
hostgroup: "!role-hypervisor"
|
hostgroup: "ansible,!role-hypervisor"
|
||||||
- name: Unit cron.service
|
- name: Unit cron.service
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit cron.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit cron.service
|
||||||
- name: Unit dbus.service
|
- name: Unit dbus.service
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit dbus.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit dbus.service
|
||||||
- name: Unit docker.service
|
- name: Unit docker.service
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit docker.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit docker.service
|
||||||
hostgroup: "!tag-no-docker"
|
hostgroup: "ansible,!tag-no-docker"
|
||||||
- name: Unit ssh.service
|
- name: Unit ssh.service
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit ssh.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit ssh.service
|
||||||
- name: Unit systemd-resolved.service
|
- name: Unit systemd-resolved.service
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit systemd-resolved.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit systemd-resolved.service
|
||||||
hostgroup: "!role-hypervisor"
|
hostgroup: "ansible,!role-hypervisor"
|
||||||
- name: Users
|
- name: Users
|
||||||
command: check_by_ssh!/usr/lib/nagios/plugins/check_users -w 3 -c 5
|
command: check_by_ssh!/usr/lib/nagios/plugins/check_users -w 3 -c 5
|
||||||
# Privileged checks
|
# Privileged checks
|
||||||
|
Loading…
Reference in New Issue
Block a user