nagios_client / check_systemd_units: remove old debugging output
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
29f31df142
commit
740109a295
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue