Problems with views and ampersand url encoding

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Problems with views and ampersand url encoding

Post by WillemDH »

Hello,

We are experiencing issues with Nagios XI views. When clicking on a configured view which has an ampersand in it, the ampersand is replaced by &

When roation is on in views, everything work more or less 'normal', but when the via is clicked, it results in all kinds of errors, as the ampersand is url encoded...

Nagios XI 5.4.10, CentOS 6 fully updated. My guess is that this was caused by one of the latest Nagios XI updates.

Please try to reproduce.

For example https://nagios/nagvis/frontend/nagvis-j ... SB-SES-SAN is replaced by https://nagios/nagvis/frontend/nagvis-j ... SB-SES-SAN

Grtz

Willem
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Problems with views and ampersand url encoding

Post by npolovenko »

Hello, @WillemDH. That's an interesting issue. I was unable to replicate it so far. Inside the Nagvis can you click on Need Help and then Nagvis Support Information. Sends us a screenshot of the whole page with your sys info. Also, how many views do you have? What browser are you using?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Problems with views and ampersand url encoding

Post by WillemDH »

Npolovenko,

Please note that this has nothing to do with NagVis.. The same issue applies to Nagios XI url's. We are experiencing this issue on multiple browsers on multiple pc's. The issue must be in Nagios XI. It happens with whatever number of views we are using.

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Problems with views and ampersand url encoding

Post by npolovenko »

@WillemDH,
Can you let us know what PHP version you are running?

Code: Select all

php -v
Also please upload your php.ini file.
And we need to see what php plugins do you have installed:

Code: Select all

rpm -qa | grep php
PS: Nagios XI 5.4.11 is being released next week :arrow:
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Problems with views and ampersand url encoding

Post by WillemDH »

Code: Select all

php -v
PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Code: Select all

rpm -qa | grep php
php-ldap-5.3.3-49.el6.x86_64
php-snmp-5.3.3-49.el6.x86_64
php-5.3.3-49.el6.x86_64
php-cli-5.3.3-49.el6.x86_64
php-xml-5.3.3-49.el6.x86_64
php-mcrypt-5.3.3-5.el6.x86_64
php-pecl-ssh2-0.11.0-7.el6.x86_64
php-mssql-5.3.3-5.el6.x86_64
php-pdo-5.3.3-49.el6.x86_64
php-mbstring-5.3.3-49.el6.x86_64
php-pear-1.9.4-5.el6.noarch
php-gd-5.3.3-49.el6.x86_64
php-mysql-5.3.3-49.el6.x86_64
php-common-5.3.3-49.el6.x86_64
php-pgsql-5.3.3-49.el6.x86_64
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
The weird thing is that it only happens when clicking the views. When rotation is automated it works.
Nagios XI 5.8.1
https://outsideit.net
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Problems with views and ampersand url encoding

Post by tgriep »

Yes, the amp in the URL is a know issue that will be fixed in the next release of Nagios XI which will be out soon.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Problems with views and ampersand url encoding

Post by WillemDH »

Ok, thanks for confirming. You can close this thread.
Nagios XI 5.8.1
https://outsideit.net
kyang

Re: Problems with views and ampersand url encoding

Post by kyang »

Sounds great! I'll be closing this topic.

If you have any more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!
Locked