I need some help figuring out a solution. I've got a bunch of Host objects, each one contains attributes that define which nrpe checks should be performed, like this:
object Host "yyy" { vars.nrpe.check_foo.max_check_attempts = 1 vars.nrpe.check_foo.alert_contact = sre vars.nrpe.check_foo.check_interval = 5m vars.nrpe.check_oof.max_check_attempts = 3 vars.nrpe.check_oof.alert_contact = atlantic vars.nrpe.check_oof.check_interval = 10m } Here "check_foo" and "check_oof" are the names of two different nrpe commands that should be run on this host, and the sub-variables are parameters that the service should use. I would like Icinga to create a Service for each different check command and apply it to the host. I am stumped as to how to do this. Any suggestions? -- --- Michael Martinez http://www.michael--martinez.com _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users