From 740109a295069a243e2b410a3e2833e7e6d4222f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 25 Mar 2021 14:25:17 -0700 Subject: [PATCH] nagios_client / check_systemd_units: remove old debugging output Signed-off-by: Kevin Fenzi --- roles/nagios_client/files/scripts/check_systemd_units | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/nagios_client/files/scripts/check_systemd_units b/roles/nagios_client/files/scripts/check_systemd_units index accdc9ab20..098a53f892 100644 --- a/roles/nagios_client/files/scripts/check_systemd_units +++ b/roles/nagios_client/files/scripts/check_systemd_units @@ -30,7 +30,6 @@ failed_array=() active_array=() # Check units's status - echo -e "here the lenght of array : ${#active_array[@]}" for element in ${unit_list[@]}; do status=$(systemctl status ${element} |grep -E "Active:" | awk '{ print $2 }') if [ $status == failed ]; then