diff --git a/inc_pluginfunctions b/inc_pluginfunctions index c7a7dcf9e5111c879202fd1c216211cc3db0a5ff..f8e1c43917c6e1e2e338dac435c84274b94d931f 100644 --- a/inc_pluginfunctions +++ b/inc_pluginfunctions @@ -41,6 +41,7 @@ # 2023-08-30 v1.13 <axel.hahn@unibe.ch> reverse return code in ph.hasParamoption to unix like return codes: 0=true; <>0 = false # 2023-09-05 v1.14 <axel.hahn@unibe.ch> ph.require - show error below status line # 2023-09-14 v1.15 <axel.hahn@unibe.ch> add ph.showtimer; fix broken pipe messages in journallog +# 2024-05-30 v1.16 <axel.hahn@unibe.ch> updatate link to online help (Daux replaces "-"" to "_") # ====================================================================== @@ -568,7 +569,11 @@ function ph.execIfReady(){ # ---------------------------------------------------------------------- # show a header in the help for IML checks +# including a link to the online help ph.showImlHelpHeader(){ + local _html; + _html=$(basename $0) + _html=${_self//\-/_}.html cat <<EOF ______________________________________________________________________ @@ -578,7 +583,7 @@ v$self_APPVERSION (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 -https://os-docs.iml.unibe.ch/icinga-checks/Checks/$( basename $0 ).html +https://os-docs.iml.unibe.ch/icinga-checks/Checks/${_html} ______________________________________________________________________ EOF }