|
|
@@ -31,7 +31,6 @@ SCRIPT_VERSION=0.7
|
|
|
#
|
|
|
# Also do not forget to make this file executable with chmod +x /usr/lib/check_mk_agent/local/direactadmin.sh
|
|
|
|
|
|
-
|
|
|
##########################################################################
|
|
|
# Global definitions for the script - change if needed to fit your needs #
|
|
|
##########################################################################
|
|
|
@@ -92,7 +91,6 @@ updates=()
|
|
|
# Iterate over the collected data to find possible updates
|
|
|
while IFS= read -r line; do
|
|
|
|
|
|
-
|
|
|
if [[ "$line" =~ ^(.+)[[:space:]]([0-9][^[:space:]]*).*to[[:space:]]([0-9][^[:space:]]*)[[:space:]]update[[:space:]]is[[:space:]]available ]]; then
|
|
|
|
|
|
component="${BASH_REMATCH[1]}"
|