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.
When I search for the same string on server B, it looks like this:
Now, when I search for the same string on server B in upper-case, it works.
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
Searching with ALL CAPS or lower case
Searching with ALL CAPS or lower case
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
This was resolved in 5.7.3
https://www.nagios.com/downloads/nagios-xi/change-log/
Code: Select all
Fixed search on services page to properly search in a case insensitive way [TPS#15241] -JORe: Searching with ALL CAPS or lower case
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
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
I believe it was introduced in 5.7.0[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 don't see anything wrong with how you imported them
Re: Searching with ALL CAPS or lower case
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
Great![email protected] wrote:Thanks again. You can close this post. I appreciate your help.
Locking thread