From bc1b9272988ec1475b73cb8038c79d97fd3a4fe4 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 5 Oct 2021 10:16:22 -0500 Subject: [PATCH] Use check_packages to check for package updates on Debian systems --- playbooks/tasks/web/nagios.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/tasks/web/nagios.yml b/playbooks/tasks/web/nagios.yml index 4dc51a1..d8f8572 100644 --- a/playbooks/tasks/web/nagios.yml +++ b/playbooks/tasks/web/nagios.yml @@ -31,7 +31,7 @@ - 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