Skip to content
Snippets Groups Projects
Commit 5de27def authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

OP#7246 Icinga-Check - Hilfe mit 404

parent 9f2fc595
Branches
No related tags found
1 merge request!264OP#7246 Icinga-Check - Hilfe mit 404
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment