diff --git a/icinga-cli.sh b/icinga-cli.sh index 5205109647773867d42e049108af8db67d406675..4efc6f8d5fbbc3f22a20f11645758b516e335da1 100755 --- a/icinga-cli.sh +++ b/icinga-cli.sh @@ -359,14 +359,14 @@ function processCheck(){ _echo -------- check output: _echo $( cat "$_outfile" ) - iPipes=$( sed 's#[^|]##g' "$_outfile" | grep "." | wc -L ) - _echo "Pipe chars: $iPipes" - if [[ $iPipes -gt 1 ]]; then - _elog "WARNING - pipes were found in plugin output" - _elog "command was: $myFullscript $myparams" - _log "${_logPrefix} WARNING - pipes were found in plugin output" - sed -i "s#|#:#g" "$_outfile" - fi + # iPipes=$( grep -o "|" < "$_outfile" | wc -l ) + # _echo "Pipe chars: $iPipes" + # if [[ $iPipes -gt 1 ]]; then + # _elog "WARNING - pipes were found in plugin output" + # _elog "command was: $myFullscript $myparams" + # _log "${_logPrefix} WARNING - pipes were found in plugin output" + # sed -i "s#|#:#g" "$_outfile" + # fi _echo # echo -------- extracted performance data: