if a plugin is containing the string "\n" in its output I found some strange
output in status_file. For example if the output of the plugin looks like this:
# echo $?
the status_file for this service is containing lines like this:
Also the trailing \ in plugin_output line sometimes seems to confuse the CGI's
in a way that they are dumping:
# setenv REQUEST_METHOD POST
# setenv CONTENT_LENGTH 4
# echo all | ./tac.cgi
Segmentation fault (core dumped)
Is this a bug in Nagios or is it not allowed that the plugin output contains \n?
Thanks and regards