Multi-Line Plugin Output



The Multi-Line Plugin Output should be supported in Nagios 3. I’d like to use this nice feature, but I don’t successed.
All my send messages were striped to first line.

  1. Can I put multi-line message to external file?
    My sample bash skript failed.

now=date +%s

/usr/bin/printf “%lu] PROCESS_SERVICE_CHECK_RESULT;martin;Backup;0;OK- Everything Looks Great\nI cannot see this line. \n” $now > $commandfile

  1. Can I push multiline message through nsca deamon?
    I think, I don’t.

I’m unable to think out any way, how to push multiline messsage to nagios 3.

Many thanks for any advice