[Nagios-devel] navbar search box

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] navbar search box

Post by Guest »

This is a multi-part message in MIME format.

------=_NextPart_000_0259_01C68AEA.11609340
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

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.

------=_NextPart_000_0259_01C68AEA.11609340
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable







Can =
anyone tell me=20
how to make the navbarsearch box (Show Host on side.html) only return =
EXACT=20
results for either host name or hostgroup name?
For=20
example:
I have =
a hostgroup=20
called xyz consisting of the following servers:
serverxyz01
serverxyz02
serverxyz03
If I =
type "xyz" into=20
the search box, it returns serverxyz01 instead of the hostgroup=20
xyz.
I =
assume it is just=20
doing a "grep" style search and returning the first =
host it=20
finds.
I =
would like it to=20
operate like this:
search =
hosts for=20
exact match "xyz"
if no =
exact match=20
found in hosts, proceed to hostgroups, servicegroups, etc. for exact =
name=20
match.

------=_NextPart_000_0259_01C68AEA.11609340--






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked