-
Notifications
You must be signed in to change notification settings - Fork 579
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
[dev.icinga.com #11106] Too many assign where filters cause stack overflow #3907
Comments
Updated by gbeutner on 2016-02-08 07:31:26 00:00
|
Updated by gbeutner on 2016-02-08 07:31:42 00:00 Which version are you using? |
Updated by gbeutner on 2016-02-08 07:32:27 00:00
|
Updated by gbeutner on 2016-02-08 07:33:39 00:00
Also, can you provide a minimal example config that demonstrates the crash? |
Updated by PowellEB on 2016-02-08 11:52:56 00:00
v.2.4.1 (snapshot 2016 02 06). |
Updated by PowellEB on 2016-02-08 11:54:48 00:00 hosts: 3200 |
Updated by mfriedrich on 2016-03-04 13:33:58 00:00
|
Updated by mfriedrich on 2016-03-17 14:57:53 00:00
|
Updated by mfriedrich on 2016-03-17 14:59:01 00:00 We should probably limit the number of assign where expressions. I'm not sure who asked if better approaches are documented, but I've added such bits when resolving #11402. |
Updated by mfriedrich on 2016-03-18 13:55:01 00:00
Hi Gunnar, we've already discussed limiting the assign where expressions this week. Can you please look into a patch? Thanks, |
Updated by gbeutner on 2016-03-23 07:43:06 00:00
|
Updated by Anonymous on 2016-03-23 07:44:37 00:00
Applied in changeset b9c2fc9. |
Updated by gbeutner on 2016-03-23 08:05:00 00:00
|
Updated by mfriedrich on 2016-04-07 08:14:45 00:00
|
Updated by gbeutner on 2016-04-20 08:15:52 00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11106
Created by PowellEB on 2016-02-07 14:59:41 00:00
Assignee: gbeutner
Status: Resolved (closed on 2016-03-23 07:44:37 00:00)
Target Version: 2.4.5
Last Update: 2016-04-20 08:15:52 00:00 (in Redmine)
I have a custom variable created from ansible that defines values for checks to be used against the server.
example:
applying a service using the custom var is no problem.
The problem is I need to also assign a HostGroup based upon the custom var and internal value.
the identifier could be anything "AOT" in this example
This works -
However, I need something like this that has a wildcard for the identifier......
This returns no assignments, how do i put a wildcard for the identifier?
**
Fyi, since ansible knows all the identifiers, option two was to have it create
The object HostGroup with each possible identifier, but this caused
a segmentation fault, and would not complete a config check.
it created 1364 entries
Attachments
Changesets
2016-03-23 07:42:26 00:00 by (unknown) b9c2fc9
2016-03-23 08:03:49 00:00 by (unknown) 6ba0c5f
2016-04-20 08:07:22 00:00 by (unknown) ba3eeaf
Relations:
The text was updated successfully, but these errors were encountered: