HTML Breaks Not Working - Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
JumpingSnake
Posts: 30
Joined: Thu Apr 19, 2012 9:19 am

HTML Breaks Not Working - Nagios xi

Post by JumpingSnake »

Good Morning,
I have installed Nagios xi and have been getting it up and running to mimic our current Nagios Core environment. In the core environment, we setup the Dell OMSA check which can output to multiple lines within the service page. However, when I setup the service in Nagios xi, the output gets cut off and it doesn't do the line break. If I remember correctly, I had to edit the Core CGI config here:

Code: Select all

escape_html_tags=0
to be

Code: Select all

escape_html_tags=1
so that the <br/> would work. If I set this setting in Nagios xi by going to the Core Config Manager->Advanced->Nagios Core CGI Config and edit and save, nothing happens. I then went into the server and restarted the Nagios xi service, but this didn't help either.

Basically, I'm just wondering if editing the file from Nagios xi works, and if not, can I edit the file on the file system and will it get overwritten once I apply a new config?

Any help or requests for more info are more than appreciated!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: HTML Breaks Not Working - Nagios xi

Post by lmiltchev »

Go to: Admin->System Config->Manage System Config->select the "Allow HTML Tags in Host/Service Status" check-mark box, and click on "Update Settings".
Let us know if this fixes your problem.
Be sure to check out our Knowledgebase for helpful articles and solutions!
JumpingSnake
Posts: 30
Joined: Thu Apr 19, 2012 9:19 am

Re: HTML Breaks Not Working - Nagios xi

Post by JumpingSnake »

That worked perfectly. Thanks for the help!!