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 #12095] boolean custom field and assign rules does not work #339
Comments
Updated by tgelf on 2016-10-24 04:42:07 +00:00
|
Updated by tgelf on 2016-11-03 13:01:13 +00:00
Already works for internal boolean, needs some more tweaking for vars - will be implemented soon, but is too late for 1.2.0. |
Updated by tgelf on 2016-11-30 08:37:28 +00:00
|
Any news? :) Seems to apply everywhere where apply rules are used (notifications, service groups, ...) |
+1 this would really be helpful if this would work soon edited: this also seems to hold true, when I assign custom fields to a template and want another custom field be filtered upon another boolean field - doesn't work either |
+1 from me. I just hit that as well. |
+1 |
2 similar comments
+1 |
+1 |
Any news on this yet? |
+1 |
+1 |
+1
|
+1 |
10 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
hello @Thomas-Gelf, it would be nice if you could consider a fix for this issue in the upcoming 1.4 release |
No more likes? I should wait for more of them... ...just kidding 😆 I hear you! |
Anyone involved here: could you please let me know whether the implementation for the linked feature request solves your problem? It does not try to "understand" the strings "true" or "false" and it does not do anything for false (you can use a negation for this). But it provides Cheers, |
now it is possible to build a assignment rule for notifications which only matches if "enable_notifications" was set. example:
it is also possible to create a service-apply-rule which only hits if a certain custom host variable was set to true. example:
for me, it works as expected now. thank you! have a nice weekend 🍻😄 |
@vita2: who needs a weekend - didn't you notice that I'm on vacation since two weeks? Glad to hear that it works for you! |
@Foxeronie which version is it you are using? we're running 2.4.1 and theres no "is true (or set)" option. should this assign where rule work if it is set up manually? |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12095
Created by Tuxdiver on 2016-07-05 09:25:49 +00:00
Assignee: (none)
Status: New
Target Version: 1.3.1
Last Update: 2016-11-30 08:37:27 +00:00 (in Redmine)
Using a custom field of type boolean and trying to use this in an apply rule does not work, because director always adds quotes around the value part:
I think, this should be:
Solution: remember the field type while generating the code for the apply rule
The text was updated successfully, but these errors were encountered: