Permalink
Browse files

Recompile nagios-plugins with open-ssl

  • Loading branch information...
NEMS Linux
NEMS Linux committed Nov 14, 2018
1 parent fb80c45 commit d26056b4085e839f57208cd599169004670608dc
Showing with 9 additions and 0 deletions.
  1. +9 −0 fixes.sh
@@ -218,7 +218,16 @@ check process 9590 with pidfile /run/9590.pid
apt -y install glances
fi
# Check if nagios-plugins was compiled with openssl. If not, recompile.
checkssl=`/usr/local/nagios/libexec/check_http -S`
if [[ $checkssl =~ 'SSL is not available' ]];
then
# Nagios Plugins was not compiled with SSL, so re-compile (was fixed November 14, 2018)
/root/nems/nems-admin/build/051-nagios-plugins
fi
fi
# end 1.4.1
if (( $(awk 'BEGIN {print ("'$ver'" >= "'1.4.1'")}') )); then

0 comments on commit d26056b

Please sign in to comment.