I was wondering if EventCommands respect the command_endpoint set on a service? In other words, given the following objects:

object Service "http" {
  import "generic-service"
  host_name        = "remote-http-host"
  command_endpoint = "remote-http-host"
  check_command    = "http"
  event_command    = "restart-httpd-event"
}

object EventCommand "restart-httpd-event" {
  import "plugin-event-command"

  command = "/opt/bin/restart-httpd.sh"
}

Will "/opt/bin/restart-httpd.sh" be ran on "remote-http-host"?
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to