navbar search box

dtownrobbrown at gmail.com dtownrobbrown at gmail.com
Thu Jun 8 19:55:32 CEST 2006


Can anyone tell me how to make the navbarsearch box (Show Host on side.html)
only return EXACT results for either host name or hostgroup name?
For example:
I have a hostgroup called xyz consisting of the following servers:
serverxyz01
serverxyz02
serverxyz03
If I type "xyz" into the search box, it returns serverxyz01 instead of the
hostgroup xyz.
I assume it is just doing a "grep" style search and returning the first host
it finds.
I would like it to operate like this:
search hosts for exact match "xyz"
if no exact match found in hosts, proceed to hostgroups, servicegroups, etc.
for exact name match.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060608/756da783/attachment.html>
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list