Interesting GUI behavior - Hostgroup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Interesting GUI behavior - Hostgroup

Post by SteveBeauchemin »

I thought something was a bit off...

I have Hostgroups named:
hg-Linux-RH6
hg-Linux-RH6-Dev/QA

When I use the following to display the data I get 2 different displays.

Home > Hostgroup Summary > Linux_RH6_Dev/QA > View Service Status Detail For This Host Group
versus
Home > Hostgroup Summary > Linux_RH6 > View Service Status Detail For This Host Group

On the Linux_RH6 Hostgroup I get the Nagios Nagios XI screen.
On the Linux_RH6_Dev/QA Hostgroup I get the Nagios Core display

Upon further testing, I noticed that if there is a front-slash / in the Hostgroup name, I get brought to the Nagios Core GUI when looking at the Service Status Detail for the Host Group. I renamed the groups to have no / and I get the Nagios XI display. Add the / and go to Nagios Core.

Fascinating isn't it.

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Interesting GUI behavior - Hostgroup

Post by cdienger »

I'm not able to reproduce so far. Are you clicking the links that I have highlighted in the screenshot below or other links?

Please PM me a profile as well as a copy of the ccm database which can be gathered with:

Code: Select all

mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
The above assume you're using the default local database. If you're using an offloaded database you'll need to run something like:

Code: Select all

mysqldump --h remote_db_ip -uUSERNAME -pPASSWORD nagiosql > nagiosql.sql
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Interesting GUI behavior - Hostgroup

Post by SteveBeauchemin »

As stated previously
Home > Hostgroup Summary > Linux_RH6_Dev/QA > View Service Status Detail For This Host Group
All I did was copy a Hostgroup and add a slash to make this example.
see below.

Start here
Hostgroup-Slash-in-Name-01.png
and get this with a slash in the Hostgroup name
Hostgroup-Slash-in-Name-003.PNG
OR get this when there is no slash in the name
Hostgroup-Slash-in-Name-004.PNG
Please splain it.

Thanks

Steve B
You do not have the required permissions to view the files attached to this post.
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Interesting GUI behavior - Hostgroup

Post by ssax »

I am able to replicate this when I have Admin > Performance Settings > Use Unified Hostgroup Screens checked. This looks to be a bug but I'm not sure where yet, will update the post shortly.

EDIT: This is confirmed as a bug with any names with special characters in it that requires url encoding (it's technically failing on the % from the url encoded forward slash), development will need to implement the fix as the file where the fix needs to take place is encrypted, I have submitted the bug report to development:

NEW TASK ID 15381 created - Nagios XI Bug Report: XI - coreuiproxy needs % added to optsmatch

Thank you for reporting this!
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Interesting GUI behavior - Hostgroup

Post by SteveBeauchemin »

Nice. Please close this.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Interesting GUI behavior - Hostgroup

Post by scottwilkerson »

SteveBeauchemin wrote:Nice. Please close this.
Steve B
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked