New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regex like * doesn't work in hostgroup > hostgroup_members #354
Comments
Can you provide a hostgroup definition example please. |
Or any type of regex in hostgroup_members |
+1 on this. I'd like the config below to create the hostgroup 'hostgroup_test', and populate it with all of the hostgroups that end with abctesting. define hostgroup { |
I had a good test of this and I can confirm that it just throws the following error:
I tried a couple of different variations and all I could do was confirm that it doesn't work as expected. |
Fix for issue #354 hostgroup_members will now accept a "*" or regexes if regexes are enabled
Fixed via commit d1f789e into branch Both |
Thanks - what version of XI will this be fixed in? |
Core 5 isn't officially scheduled for a specific release date. This likely won't be in XI until the version of Core that it's released in is considered stable. |
It does work in hostgroup > members.
The documentation leads me to believe this should work:
This behavior is the same regardless of the setting of use_regexp_matching
This is tested on Core 4.2.4
The text was updated successfully, but these errors were encountered: