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
Created by ninjasloth22 on 2016-11-29 04:28:23 +00:00
Assignee: (none)
Status: Resolved (closed on 2016-12-06 09:02:16 +00:00)
Target Version: 1.3.0
Last Update: 2016-12-06 09:02:16 +00:00 (in Redmine)
Wanting to apply a service check in the following manner:
apply Service "check_disks" for (partition => config in hosts.vars.partitions) {
import "generic-service"
vars += config
if (!vars.warn) { vars.warn = "85%" }
if (!vars.crit) { vars.crit = "95%" }
In one of the recent updates the "Apply For" option was added in Director service applys. However despite having created arrays, they do know show up in the drop down list on the service apply page.
Also tested creating a new array since updating. Behavior is still the same.
The text was updated successfully, but these errors were encountered:
As soon as one of your host has such an array it should show up in that list. In case it doesn't please show me some more details, host-definition and field config would be great. It should IMO basically show up as soon as you create a related field, however that's something that will get tricky as soon as restrictions based on template (and therefore field) usage will be in place. So I'd prefer to keep the current limitation unless ongoing work related to restrictions got it's final shape.
It's not a bug, it's a feature :D You'll have to live with this unless upcoming restrictions on an object level are going to be a thing. At that point I'll better understand whether adding available field names (respecting eventual restrictions!) regardless of whether they are used or not would be a problem.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/13351
Created by ninjasloth22 on 2016-11-29 04:28:23 +00:00
Assignee: (none)
Status: Resolved (closed on 2016-12-06 09:02:16 +00:00)
Target Version: 1.3.0
Last Update: 2016-12-06 09:02:16 +00:00 (in Redmine)
Wanting to apply a service check in the following manner:
apply Service "check_disks" for (partition => config in hosts.vars.partitions) {
import "generic-service"
vars += config
if (!vars.warn) { vars.warn = "85%" }
if (!vars.crit) { vars.crit = "95%" }
display_name = "Diskspace " + vars.mountpoint
check_command = "nrpe"
vars.nrpe_command = "check_disk"
vars.nrpe_arguments = [ vars.warn, vars.crit, vars.mountpoint ]
assign where host.vars.os == "Linux"
}
In one of the recent updates the "Apply For" option was added in Director service applys. However despite having created arrays, they do know show up in the drop down list on the service apply page.
Also tested creating a new array since updating. Behavior is still the same.
The text was updated successfully, but these errors were encountered: