diff --git a/icinga-cli.sh b/icinga-cli.sh index 5fcb92a22acb710a7f40c2fb5339ba09eea64def..55de2f9c5b896416943ccf21bbd10c36854a1b4d 100755 --- a/icinga-cli.sh +++ b/icinga-cli.sh @@ -373,7 +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" + _elog "command was: $myFullscript $myparams" exit 1 fi _log "${_logPrefix} check command finished with returncode $rc"