Searching Host graphs does not work like Quick Find

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Searching Host graphs does not work like Quick Find

Post by Box293 »

When I am in the Host graphs window I cannot search for a host by using part of it's name. However in Quick Find it works.

Here are the two hosts I am searching for:
01 The two hosts I have.png
Here you can see I can find them using the quick find:
02 Search works with Quick Find.png
And here you can see the same search from within Host graphs does not work:
03 Search does not work from Host graphs.png
Nagios XI VM 2011R3.3 32bit running on VMware ESXi 5.0 Update 1.
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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Searching Host graphs does not work like Quick Find

Post by mguthrie »

It's possible the search criteria is different for the host graphs. It may be doing a preg_match against the perfdata directory instead of an SQL: LIKE '%hostnamesearch%', which picks up more results. We'll take a look at this as well while we're diving into the other search bug.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Searching Host graphs does not work like Quick Find

Post by mguthrie »

Updated graph search to match middle and end of the string as well as the beginning. It'll be available in both the next 2012 RC and 2011 branch. : )
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: Searching Host graphs does not work like Quick Find

Post by Box293 »

Great stuff, much appreciated.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: Searching Host graphs does not work like Quick Find

Post by Box293 »

I just upgraded to 2012R1.2 and can confirm this has been fixed.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.