Nagios not outputting anything after the pipe character to n


#1

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.

any help?


#2

Are you sure you have enabled perfomance data in nagios.cfg and in the host/service’s definitions for which you’re trying to process perf_data?