Page 1 of 1

Search Box syntax in CCM

Posted: Thu Feb 27, 2014 3:21 pm
by lavignp
I have a bit of a silly question, but I cannot figure out the right syntax for something that should be simple.

In the Core config Manager, in either the Hosts or Services, there are search boxes at the top. How in the world do I search for multiple words? For example, I have two dissimilar server names "APP01" and "DBMS02", and I want to include both of them in the search results.

I have tried Boolean and Regex, and cannot for the life of me figure out what I am doing wrong.

Re: Search Box syntax in CCM

Posted: Thu Feb 27, 2014 3:30 pm
by tmcdonald
I don't think our search box handles regex, just regular string matching. I can file a feature request for this if you'd like.

Re: Search Box syntax in CCM

Posted: Thu Feb 27, 2014 5:26 pm
by lavignp
Oh well, bummer. That would be a useful feature, someday...

Re: Search Box syntax in CCM

Posted: Thu Feb 27, 2014 5:56 pm
by slansing
It would certainly have some use cases, currently it matches either host name, or host alias. It will also match... for instance, if you search 'load,' and there is no host name or alias assigned to that, it would display the services with load in their name or alias.

Re: Search Box syntax in CCM

Posted: Fri Feb 28, 2014 2:15 pm
by lavignp
What I really want to do is list all of the services in a particular Host Group, so that I can then speed up my edit times.

Re: Search Box syntax in CCM

Posted: Fri Feb 28, 2014 2:56 pm
by tmcdonald
I've gone ahead and filed a feature request for this here: http://tracker.nagios.com/view.php?id=507