From e0b385a1c5d9dbea8badd1d22c8e5ca164208c91 Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 3 Jan 2022 13:18:14 -0600 Subject: [PATCH] Fix accidentally removing a ton of checks from each host --- playbooks/prod_web.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/prod_web.yml b/playbooks/prod_web.yml index 0fce49c..56b6b13 100755 --- a/playbooks/prod_web.yml +++ b/playbooks/prod_web.yml @@ -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 - name: Memory Usage 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 command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_ping_by_hostname - name: Reboot Required @@ -198,22 +198,22 @@ command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit atd.service - name: 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 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 command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit cron.service - name: Unit dbus.service command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit dbus.service - name: 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 command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit ssh.service - name: 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 command: check_by_ssh!/usr/lib/nagios/plugins/check_users -w 3 -c 5 # Privileged checks