Searching with ALL CAPS or lower case

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Searching with ALL CAPS or lower case

Post by luczynj »

Hello all,

I had built a bunch of services on a Nagios XI server A (hostname: nagios-b), and was too lazy to build them again on our second server B (hostname: nagios-p). I copied the service .cfg file from A to B, and imported it using the import config file option and ticking the "overwrite database" box.

The hostname/service .cfg is GMV-OSS-RC-17B-TPOSSADM01.

The services were added, but when I search for the hostname on server B, it won't show up unless I do it in ALL CAPS.

I know the search box isn't case-sensitive, but I suspect I've corrupted something perhaps in the database?

This is how the search *should* work, and does work on server A. You start typing a search string, then the results appear in a dropdown list.
lower-case on nagiosb.PNG
When I search for the same string on server B, it looks like this:
lower-case on nagiosp.PNG
Now, when I search for the same string on server B in upper-case, it works.
UPPER-CASE on nagiosb.PNG
Any ideas? I've repaired the databases, changed something then clicked on Apply Config.

Regards,
JL

Nagios XI version 5.7.2 on both servers
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Searching with ALL CAPS or lower case

Post by scottwilkerson »

This was resolved in 5.7.3

Code: Select all

Fixed search on services page to properly search in a case insensitive way [TPS#15241] -JO
https://www.nagios.com/downloads/nagios-xi/change-log/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Re: Searching with ALL CAPS or lower case

Post by luczynj »

Thanks Scott! I appreciate the quick response.

Do you know when this was introduces?

And regarding the way I copied the service .cfg file over and did an import. Is that a bad practice?

Regards,
JL
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Searching with ALL CAPS or lower case

Post by scottwilkerson »

[email protected] wrote:Thanks Scott! I appreciate the quick response.

Do you know when this was introduces?

And regarding the way I copied the service .cfg file over and did an import. Is that a bad practice?

Regards,
JL
I believe it was introduced in 5.7.0

I don't see anything wrong with how you imported them
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Re: Searching with ALL CAPS or lower case

Post by luczynj »

Thanks again. You can close this post. I appreciate your help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Searching with ALL CAPS or lower case

Post by scottwilkerson »

[email protected] wrote:Thanks again. You can close this post. I appreciate your help.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked