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($host->host_name), * 'Logstash' => Url::fromPath( * 'logstash/search/syslog', * array('host' => $host->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 Host $host Monitoring host object * * @return array An array containing a list of host action links */ abstract public function getActionsForHost(Host $host); public function getActionsForObject(MonitoredObject $object) { return $this->getActionsForHost($object); } }