diff --git a/icinga-cli.sh b/icinga-cli.sh index 87c2019013ea161fb7110287e8d0d25b4c0ed854..5fcb92a22acb710a7f40c2fb5339ba09eea64def 100755 --- a/icinga-cli.sh +++ b/icinga-cli.sh @@ -363,6 +363,7 @@ function processCheck(){ _echo "Pipe chars: $iPipes" if [[ $iPipes -gt 1 ]]; then _elog "ABORT - pipes were found in plugin output" + _elgo "command was: $myFullscript $myparams" exit 1 fi @@ -372,6 +373,7 @@ function processCheck(){ # echo if ! test -n "$outPerfdata" && echo "$outPerfdata" | grep "=[0-9\.]*;[0-9\.]*;[0-9\.]*;[0-9\.]*;" >/dev/null; then _elog "ABORT - this does not look like performance data: $outPerfdata" + _elgo "command was: $myFullscript $myparams" exit 1 fi _log "${_logPrefix} check command finished with returncode $rc"