Page 1 of 1
Searching Host Graphs does not work like Quick Find
Posted: Sun Sep 09, 2012 9:43 pm
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.
Re: Searching Host Graphs does not work like Quick Find
Posted: Mon Sep 10, 2012 1:21 pm
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.
Re: Searching Host Graphs does not work like Quick Find
Posted: Mon Sep 10, 2012 4:39 pm
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. : )
Re: Searching Host Graphs does not work like Quick Find
Posted: Wed Sep 12, 2012 4:51 pm
by Box293
Great stuff, much appreciated.
Re: Searching Host Graphs does not work like Quick Find
Posted: Sun Nov 25, 2012 8:27 pm
by Box293
I just upgraded to 2012R1.2 and can confirm this has been fixed.