url, where title will * be used as link caption. Url should be an Icinga\Web\Url object when * the link should point to an Icinga Web url - otherwise a string would * be fine. * * Mixed example: * * return array( * 'Wiki' => 'http://my.wiki/host=' . rawurlencode($service->service_name), * 'Logstash' => Url::fromPath( * 'logstash/search/syslog', * array('service' => $service->host_name) * ) * ); * * * One might also provide ssh:// or rdp:// urls if equipped with fitting * (safe) URL handlers for his browser(s). * * TODO: I'd love to see some kind of a Link/LinkSet object implemented * for this and similar hooks. * * @param Service $service Monitoring service object * * @return array An array containing a list of service action links */ abstract public function getActionsForService(Service $service); public function getActionsForObject(MonitoredObject $object) { return $this->getActionsForService($object); } }