Sometimes, I double click stuff from one XI interface tab to search for it in CCM. Sometimes, there's a tab that gets caught in the copy. Please consider trimming leading and trailing whitespace from search entries in XI.
I'd go do this request internally, but I can't remember which tool to go to do do that.
Please trim whitespace from search entries
Re: Please trim whitespace from search entries
Can you define "stuff"? Where do you see the issue (when copying host names, service names, etc.)? I would like to recreate the problem. An example would be helpful. Thanks!Sometimes, I double click stuff from one XI interface tab to search for it in CCM.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Please trim whitespace from search entries
Yes, copying hostnames and service names.
Go to CCM. From the list of Recently Changed Hosts and Services, I double click on the single-word host called "EricDesktop" and then paste the result into the search box on the "hosts" page. It pastes as "EricDesktop " (note the tab at the end). Search finds nothing because it's searching for the tab as well. Same holds true if the tab is at the beginning.
Go to CCM. From the list of Recently Changed Hosts and Services, I double click on the single-word host called "EricDesktop" and then paste the result into the search box on the "hosts" page. It pastes as "EricDesktop " (note the tab at the end). Search finds nothing because it's searching for the tab as well. Same holds true if the tab is at the beginning.
Re: Please trim whitespace from search entries
It seems like that adding a tab before or after the hostname breaks the search - Bryan recreated it. The tab has been added manually though... double clicking on a hostname under the CCM, copying/pasting doesn't include a tab (before or after the name). Very strange. I don't know how you do it...
Anyway, it shouldn't be difficult to fix the search.
Anyway, it shouldn't be difficult to fix the search.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Please trim whitespace from search entries
Maybe it's Chrome putting it there, but whitespace should still be trimmed.
-
- Product Development Manager
- Posts: 179
- Joined: Thu Feb 13, 2014 9:50 am
- Location: Nagios Enterprises
Re: Please trim whitespace from search entries
Leading/Trailing whitespace is being trimmed. This change will be available in 5.3.0. Thanks!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Nagios Enterprises
Senior Developer
Nagios Enterprises
Senior Developer
Re: Please trim whitespace from search entries
Yes, thanks! Please close this.
Re: Please trim whitespace from search entries
Closing this!
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/