You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-08-29 22:31:08 +00:00 (in Redmine)
Created a custom Boolean variable for a host. Create an apply rule for a service to match that variable. However, the apply rule is not matching at all. I have isolated the issue to the quotes of the Boolean value in the service_apply.conf file. If I remove the quotes, it apply rule matches.
For example:
NOTE: Doesn't work
apply Service "Disk" {
import "Disk"
assign where host.vars.legacy == "false"
}
#NOTE: Works
apply Service "Disk" {
import "Disk"
assign where host.vars.legacy == false
}
The text was updated successfully, but these errors were encountered:
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12589
Created by jlam on 2016-08-29 22:31:08 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-08-29 22:31:08 +00:00 (in Redmine)
Created a custom Boolean variable for a host. Create an apply rule for a service to match that variable. However, the apply rule is not matching at all. I have isolated the issue to the quotes of the Boolean value in the service_apply.conf file. If I remove the quotes, it apply rule matches.
For example:
apply Service "Disk" {
import "Disk"
assign where host.vars.legacy == "false"
}
#NOTE: Works
apply Service "Disk" {
import "Disk"
assign where host.vars.legacy == false
}
The text was updated successfully, but these errors were encountered: