Service alias displaying not consistent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
DaveMC08
Posts: 2
Joined: Mon Mar 29, 2021 7:20 am

Service alias displaying not consistent

Post by DaveMC08 »

I've come across an issue while evaluating NagiosXI, where attempting to use the service alias is hit/miss in terms of seeing the alias in the UI.

When looking at a host's service status (nagiosxi/includes/components/xicore/status.php?host=hostname) It will use the alias for a service when the user has that option checked in the account information area (Display service display names (replaces service name in service status and service status detail pages)). That being said when accessing the status detail (nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=hostname)and going to the services tab, that service list doesn't respect the setting and will just display the identifier instead making for quite a troublesome UI.

Seems like a miss as some views respect the setting and others do not.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Service alias displaying not consistent

Post by vtrac »

Hi DaveMC08,
First, I would like to say "Thank You" for evaluating Nagios XI.

I have followed the steps you mentioned and I think you are correct as to the inconsistency use of alias.

I started with the following page, which is my test VM status page for Nagios XI:
http://192.168.23.61/nagiosxi/includes/ ... status.php


I then go to my host="192.168.23.63-ncpa", which has alias "T1" defined.
As you can see, it displays fine:
http://192.168.23.61/nagiosxi/includes/ ... 23.63-ncpa
TH1.png
However, when I changed host to "T1" (below)
http://192.168.23.61/nagiosxi/includes/ ... hp?host=T1

The URL changed (by itself) automatically to a "search" instead:
http://192.168.23.61/nagiosxi/includes/ ... services=1
TH2.png

I then go to "show=hostdetails" and "host=192.168.23.63-ncpa", all looks fine:
http://192.168.23.61/nagiosxi/includes/ ... 23.63-ncpa
TH3.png
I then go to "show=hostdetails" and "host=T1", it error out with "Object Does Not Exist"
http://192.168.23.61/nagiosxi/includes/ ... il&host=T1
TH4.png

Based on my test (above), my conclusion is that "host" are defined as object
As to "alias", it is just a variable name used for displaying only.


Regards,
Vinh
You do not have the required permissions to view the files attached to this post.
DaveMC08
Posts: 2
Joined: Mon Mar 29, 2021 7:20 am

Re: Service alias displaying not consistent

Post by DaveMC08 »

That does seem equally as bad. I however was more referencing the service aliases more than the host alias, but yeah all the aliasing display usage is pretty inconsistent across the board.

*Update: Is there any timeframe/tracking that we might know about as to progress on fixing this bug?
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Service alias displaying not consistent

Post by vtrac »

Hi DaveMC08,
I'm very sorry but there is no timeframe/tracking of when development will work on fixing this.

As for support team, we don't have any control over or knowledge of development's priority list.

Please let me know if I can lock this thread.


Best Regards,
Vinh
Locked