How to print multilines in Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
andrewjewell
Posts: 1
Joined: Tue Jan 20, 2026 5:02 am

How to print multilines in Nagios XI

Post 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?
Last edited by skeletal shenanigans a week ago
User avatar
lgute
Posts: 420
Joined: Mon Apr 06, 2020 2:49 pm

Re: How to print multilines in Nagios XI

Post 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.
Please let us know if you have any other questions or concerns.

-Laura
kg2857
Posts: 499
Joined: Wed Apr 12, 2023 5:48 pm

Re: How to print multilines in Nagios XI

Post by kg2857 »

Click the service link to display the details. You'll see the other lines of text there.
Post Reply