|
@@ -6,6 +6,8 @@
|
|
|
|
|
|
# Version 0.1 (initial release)
|
|
|
#
|
|
|
+# Version 0.2
|
|
|
+# Updated output to have updateable compontents comma-sepoarated.
|
|
|
|
|
|
# Installation:
|
|
|
# This file should be place on a/the nextcloud host in /usr/lib/check_mk_agent/local
|
|
@@ -75,5 +77,6 @@ done <<< "$DirectAdmin_Versions_Update"
|
|
|
if [[ ${#updates[@]} -eq 0 ]]; then
|
|
|
echo "0 \"DirectAdmin\" - All DirectAdmin Versions are up to date"
|
|
|
else
|
|
|
- echo "1 \"DirectAdmin\" - DirectAdmin Versions ${updates[*]} have updates"
|
|
|
+ update_list=$(IFS=,; echo "${updates[*]}")
|
|
|
+ echo "1 \"DirectAdmin\" - DirectAdmin Versions ${update_list} have updates"
|
|
|
fi
|