Quick help

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Quick help

Post by cesar.garza »

Hey guys
I have added the notes in my service.cfg so other teammate can get the help. In the note, I am just writing two endpoints but in the UI it shows everything on the same line. I tried to break the line but it didn't work. Please have a look the attachment. Any suggestions ??
Thanks
Attachments
$60F86078AA492B61.jpg
$60F86078AA492B61.jpg (15.57 KiB) Viewed 2033 times
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Quick help

Post by sreinhardt »

Does this same effect happen when quoting your note with "" and using actual [enter] new lines instead of \n?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Re: Quick help

Post by cesar.garza »

sreinhardt wrote:Does this same effect happen when quoting your note with "" and using actual [enter] new lines instead of \n?
i tried with new line in the service.cfg but it shows everything in one line in the UI.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Quick help

Post by slansing »

Yes, what sreinhardt was suggesting was using the enter key to actually create a new line, does this work?
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Re: Quick help

Post by cesar.garza »

It didn't work like that either.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Quick help

Post by tmcdonald »

You should use the HTML tag "<br />" for a newline instead of "\n".
Former Nagios employee
Locked