From b6dc8629f9b445ac4f7f866500a50f9df03bf2f9 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Wed, 10 Jul 2024 00:46:58 -0500 Subject: [PATCH] Remove SSH from Nagios --- inventories/production/group_vars/all.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/inventories/production/group_vars/all.yml b/inventories/production/group_vars/all.yml index 6807882..b369c27 100644 --- a/inventories/production/group_vars/all.yml +++ b/inventories/production/group_vars/all.yml @@ -202,8 +202,6 @@ nagios_commands: - name: notify-service-by-matrix command: "/usr/bin/printf \"%b\" \"$NOTIFICATIONTYPE$\\nService $HOSTALIAS$ - $SERVICEDESC$ is $SERVICESTATE$\\nInfo: $SERVICEOUTPUT$\\nDate/Time: $LONGDATETIME$\" | /opt/Custom-Nagios-Plugins/notify-by-matrix" nagios_services: - - name: SSH - command: check_ssh # check_by_ssh checks - name: Last Ansible Play command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_file_age /var/lib/ansible-last-run -w 432000 -c 604800