diff --git a/check_eol b/check_eol index 2a852a9236263b32237e27096827098a27494a16..37e73281279dfb381c84b3570ce66c8df275ff6f 100755 --- a/check_eol +++ b/check_eol @@ -48,6 +48,7 @@ # 2021-11-02 v1.3 <axel.hahn@iml.unibe.ch> detect centos stream # 2022-02-28 v1.4 <axel.hahn@iml.unibe.ch> remove negative performance data # 2022-08-29 v1.5 <axel.hahn@iml.unibe.ch> fix help; shell syntax updates +# 2023-01-30 v1.6 <axel.hahn@unibe.ch> add max value in performance data # ====================================================================== . "$( dirname $0 )/inc_pluginfunctions" @@ -261,8 +262,7 @@ else echo "Limit Info: warn below $iDaysWarn days; critical below $iDaysCritical days" test ${myDaysLeft} -lt 0 && myDaysLeft=0 - ph.perfadd "$myKey-v$myEolVer" "${myDaysLeft}" $iDaysWarn $iDaysCritical 0 - + ph.perfadd "$myKey-v$myEolVer" "${myDaysLeft}" $iDaysWarn $iDaysCritical 0 100 fi