2015-10-16 16:53:04 -04:00
|
|
|
<?php
|
|
|
|
|
|
2026-01-07 05:31:37 -05:00
|
|
|
use Icinga\Module\Businessprocess\ProvidedHook\Icingadb\IcingadbSupport;
|
|
|
|
|
|
2017-01-10 10:49:53 -05:00
|
|
|
$this->provideHook('monitoring/HostActions');
|
|
|
|
|
$this->provideHook('monitoring/ServiceActions');
|
2022-07-19 08:57:36 -04:00
|
|
|
$this->provideHook('monitoring/DetailviewExtension');
|
2022-02-15 04:29:19 -05:00
|
|
|
$this->provideHook('icingadb/HostActions');
|
|
|
|
|
$this->provideHook('icingadb/ServiceActions');
|
2021-11-12 06:02:33 -05:00
|
|
|
$this->provideHook('icingadb/icingadbSupport');
|
2022-07-19 10:20:56 -04:00
|
|
|
$this->provideHook('icingadb/ServiceDetailExtension');
|
2016-02-18 14:52:57 -05:00
|
|
|
//$this->provideHook('director/shipConfigFiles');
|
2026-01-07 05:31:37 -05:00
|
|
|
|
|
|
|
|
if (! static::exists('icingadb') || ! IcingadbSupport::useIcingaDbAsBackend()) {
|
|
|
|
|
$this->addRoute('businessprocess/host/show', new Zend_Controller_Router_Route_Static(
|
|
|
|
|
'businessprocess/host/show',
|
|
|
|
|
[
|
|
|
|
|
'controller' => 'ido-host',
|
|
|
|
|
'action' => 'show',
|
|
|
|
|
'module' => 'businessprocess'
|
|
|
|
|
]
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
$this->addRoute('businessprocess/service/show', new Zend_Controller_Router_Route_Static(
|
|
|
|
|
'businessprocess/service/show',
|
|
|
|
|
[
|
|
|
|
|
'controller' => 'ido-service',
|
|
|
|
|
'action' => 'show',
|
|
|
|
|
'module' => 'businessprocess'
|
|
|
|
|
]
|
|
|
|
|
));
|
|
|
|
|
}
|