Page 1 of 1

How to print multilines in Nagios XI

Posted: Tue Jan 20, 2026 5:07 am
by andrewjewell
Hello,
I’ve written a script that produces multiline output, but in Nagios, it only displays one line. Does anyone know how to get multiline output to appear in Nagios?

Re: How to print multilines in Nagios XI

Posted: Tue Jan 20, 2026 9:19 am
by lgute
Hi @andrewjewell

Thanks for reaching out. Please make sure you are using the \n (newline) character to separate your lines and let us know if you need any more help.

Re: How to print multilines in Nagios XI

Posted: Tue Jan 20, 2026 5:05 pm
by kg2857
Click the service link to display the details. You'll see the other lines of text there.