I have a custom script that is invoked through nagios. As the script exits, it outputs message in the following format
data | perf_data
i.e output to nagios followed by pipe character followed by perf data
However, when I check the status_file, it only displays the ‘data’ portion of the output and not the pipe character and anything after it.