From 07647e5ee671b404b6183a15b429beede6142c96 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 15 Oct 2021 19:17:48 -0500 Subject: [PATCH] Add check to devices to ensure they can ping themselves over DNS --- playbooks/tasks/web/nagios.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/tasks/web/nagios.yml b/playbooks/tasks/web/nagios.yml index 3a9925a..9a33de0 100644 --- a/playbooks/tasks/web/nagios.yml +++ b/playbooks/tasks/web/nagios.yml @@ -44,6 +44,8 @@ extra: - key: notification_options value: c,r + - name: Ping Self over DNS + command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_ping_by_hostname - name: Reboot Required command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required - name: Unit atd.service