Page 1 of 1
How to print multilines in Nagios
Posted: Tue Oct 21, 2025 4:32 am
by miguelwilliams
Hello,
I have created a script that produces multiline output, but in Nagios, it's only displaying a single line. Does anyone know how to enable multiline output in Nagios?
Re: How to print multilines in Nagios
Posted: Wed Oct 22, 2025 8:32 am
by lgute
Hi
@miguelwilliams,
Thanks for reaching out. This
document may help.
I believe, you need a new line (\n), between each "line".
Re: How to print multilines in Nagios
Posted: Mon Oct 27, 2025 2:12 am
by miguelwilliams
Hi @
survival race,
Thanks for reaching out. This
document may help.
I believe, you need a new line (\n), between each "line".
Thanks for your suggestion. This is what I'm looking for.
Re: How to print multilines in Nagios
Posted: Tue Oct 28, 2025 3:27 pm
by lgute
Hi
@miguelwilliams,
I'm glad I could help. Please let us know if you have any other questions.