diff --git a/inc_pluginfunctions b/inc_pluginfunctions index dad46e80ad1951b54d87179bad3d32e482bcadbe..46f86fbfe096506923c79061d54956cad29bc28a 100644 --- a/inc_pluginfunctions +++ b/inc_pluginfunctions @@ -521,6 +521,24 @@ function ph.execIfReady(){ # ---------------------------------------------------------------------- +# show a header in the help for IML checks +ph.showImlHelpHeader(){ + cat <<EOF +______________________________________________________________________ + +$( basename $0 | tr [:lower:] [:upper:] ) +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 +______________________________________________________________________ +EOF +} + +# ---------------------------------------------------------------------- + # init ph.setStatus "ok"