diff --git a/check_php-fpm-status b/check_php-fpm-status index 0b78daf5674c364458da2719a2f4e5f1bc571663..7d23bb5e5179afbc21fdba6cefe6976040ab3ca8 100755 --- a/check_php-fpm-status +++ b/check_php-fpm-status @@ -11,6 +11,7 @@ # 2021-12-23 v0.4 <axel.hahn@iml.unibe.ch> remove switch to warning level if just one slow request was detected # 2022-02-11 v0.5 <axel.hahn@iml.unibe.ch> show running workers in 1st line # 2022-04-01 v0.6 <axel.hahn@iml.unibe.ch> use wget default params; shell fixes +# 2022-05-09 v0.7 <axel.hahn@iml.unibe.ch> use wget default params # ====================================================================== . $(dirname $0)/inc_pluginfunctions @@ -136,6 +137,8 @@ typeset -i iWarnLimit=$( ph.getValueWithParam 75 w "$@") typeset -i iCriticalLimit=$( ph.getValueWithParam 90 c "$@") url=$( ph.getValueWithParam $defaulturl u "$@" ) +paramsWget="-T 5 -t 1 --no-check-certificate" + # --- get /server-status page wget $paramsWget -O $tmpfile "$url?full&json" 2>/dev/null if [ $? -ne 0 ]; then