Page 1 of 1

Filter in Nagios on more than one keyword

Posted: Fri Mar 15, 2019 3:21 am
by btsmnagios
This maybe a really daft question, but I like asking them if I don't know

In NagiosXI GUI can you search on more than one keyword as I would like to filter on host name and then service rather than sort the services once I have searched by hostname

e.g. I have a lot of servers that have the same name but different number at the end like GB123456WWW001 and GB123456WWW002 and all these servers have the same monitoring points IE CPU MEMORY, I want to search/filter by say GB123456WWW and then search that result by MEMORY so all I have at the end is the MEMORY Services for all the HOSTS who start with GB123456

can anyone tell me if that is possible ahnd if so what the search term would be in the GUI

Re: Filter in Nagios on more than one keyword

Posted: Fri Mar 15, 2019 11:03 am
by ssax
It's not currently possible, I've already submitted a feature request for the ability to search by regex which should overcome this limitation but there is no ETA as of yet.

Re: Filter in Nagios on more than one keyword

Posted: Fri Mar 15, 2019 11:09 am
by lmiltchev
Searching for more than one keyword is not possible, however you could use the following "workaround".

1. Create a "GB123456" hostgroup, and add all of the servers, starting with "GB123456" as members to it, e.g. GB123456WWW001, GB123456WWW002, etc.
CCM > Monitoring > Host Groups > Add New

2. Go to Home > Details > Hostgroup Summary > GB123456, and click on the "View Hostgroup Service Details" button.

3. Type "MEMORY" in the search bar, and hit "Enter".

Hope this helps.

Re: Filter in Nagios on more than one keyword

Posted: Tue Apr 16, 2019 3:16 am
by btsmnagios
thanks all for the reply's and the help

Re: Filter in Nagios on more than one keyword

Posted: Tue Apr 16, 2019 8:07 am
by lmiltchev
I am glad we were able to help! I am closing this topic. If you have any further questions, please start a new thread. Thank you!