Since upgrading to 5.2.9, when doing a search after clicking "Host Detail" on the home page left navigation bar, it shows services instead of hosts. I ran a search here on the forum to see if anyone else was seeing the same, but came up empty. Here's an example:
I click "Host Detail" and it goes to http://[site]/nagiosxi/includes/components/xicore/status.php?show=hosts (which is expected).
Then I search for a host name in the search field and this shows:
http://[site]/nagiosxi/includes/components/xicore/status.php?show=services&sortby=name&sortorder=asc&host=&hostgroup=&servicegroup=&search=test&searchButton=
If I change "services" to "hosts" I get the results I want:
http://[site]/nagiosxi/includes/components/xicore/status.php?show=hosts&sortby=name&sortorder=asc&host=&hostgroup=&servicegroup=&search=test&searchButton=
Host Search Shows Services Instead
Re: Host Search Shows Services Instead
This is expected behavior, since the host still has services assigned to it. It matches all of the information to help searching, should you have wanted to pull a specific service. However, if you have a host with no services assigned, it will show the host status page.
Former Nagios Employee
Re: Host Search Shows Services Instead
Oh, because before the update, the "Host Detail" only showed hosts, so it was a smaller list even though I know there are services attached to them. If I wanted services, I'd go to "Service Detail". There, it would show me all the services for a host or search for services.
Re: Host Search Shows Services Instead
What is the Nagios XI version that you upgraded from? As far as I remember, this has been the default behavior in XI for quite some time.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Host Search Shows Services Instead
We upgraded from 5.2.2.
Re: Host Search Shows Services Instead
I've filed an internal bug report (ID# 8867). While the search function does work quite well, it doesn't always make sense to display every service for a matching host if all you want is to view the host itself.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Host Search Shows Services Instead
Right, that was my thought is there's a reason for the "Service Detail" and "Host Detail" because sometimes I just want to do a quick search for all hosts and don't care about the services.
Re: Host Search Shows Services Instead
Since a bug report was submit, is there anything else you needed assistance with regarding this issue? Is it ok to lock this thread?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Host Search Shows Services Instead
Sure, thanks for filing a bug report