Hi guys,

I have a problem: I've got a distributed setup with a couple of zones
like emea, apac, nafta, ... which have a parent called master. The
monitored devices with the zones work just fine, mostly using snmp. Now,
there's a few central services that I'd like to connect to my monitored
devices. Eg. I have a switch in zone emea called switch-1 that I take a
backup of. Now I'd like to check (as a service to) switch-1 if that
backup was successful. The backup server is central, thus attached only
once within the master zone as an I2 client. The service definition
might look like this:

apply Service "backup status" {
  import "generic-service"
  check_command = "backup"
  command_endpoint = "backup-server"
  assign where host.vars.backup
}

The error that I get looks more or less like this:

critical/config: Error: Validation failed for object 'switch-1!backup
status' of type 'Service'; Attribute 'command_endpoint': Command
endpoint must be in zone 'emea' or in a direct child zone thereof.

The problem that I see: I could move the backup server to zone emea, but
all other devices in the other zones won't be able to get that service.

Any idea how to solve this?

(If it helps, I'm running on 2.6.0)

Thanks,
Stephan

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to