icingaweb2
icingaweb2 copied to clipboard
[dev.icinga.com #11055] Search by regular expression
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11055
Created by krp on 2016-01-29 01:23:58 +00:00
Assignee: (none) Status: New Target Version: Backlog Last Update: 2016-07-19 16:45:59 +00:00 (in Redmine)
If I do a host search ("icingaweb2/monitoring/list/hosts") for "tor" I get all my top-of-rack switches...but I get much more. It'd be nice to search by regex ".*tor[1-9]$" instead. It would also be nice to search based on custom variables. For example I define a switch/router's role (ex. oob for my out-of-band switches) with custom variables. I have hostgroups setup for some things, but it'd be nice to just search for anything named tor[1-9] whos role is oob, rather than setting up a new hostgroup every time.
Updated by elippmann on 2016-02-19 12:44:52 +00:00
- Subject changed from Search by regex and custom variable to Search by regular expression
- Category set to Monitoring
- Target Version set to Backlog
Hi,
Thanks for the report. We may consider this for one of our next releases. Search by custom variables is possible, e.g. type _service_foo=abc in the search box.
Best, Eric
Updated by ClemensBW on 2016-07-19 16:45:59 +00:00
+1
+1
In our environment we were talking about the same feature when searching by IP. For now we can search for 192.168.156.1 and get possibly 100 results, with regex we could search for 192.168.156.1$ and get only one result, so it would be a big improvement in this case.
+1
+1
here it works with e.g.:
host=pp0*
version is:
Icinga Web 2 Version | 2.10.1