nagios_client / check_systemd_units: remove old debugging output

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-03-25 14:25:17 -07:00
parent 29f31df142
commit 740109a295

View file

@ -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