Revert "monitoring: Remove the services tab when showing host or service details"

This reverts commit 646cffd62d.
This commit is contained in:
Johannes Meyer 2015-06-16 13:49:04 +02:00
parent c316e5ce8f
commit ca678a57e9
1 changed files with 13 additions and 0 deletions

View File

@ -181,6 +181,19 @@ abstract class MonitoredObjectController extends Controller
)
);
}
$tabs->add(
'services',
array(
'title' => sprintf(
$this->translate('List all services on host %s'),
$isService ? $object->getHost()->getName() : $object->getName()
),
'label' => $this->translate('Services'),
'icon' => 'services',
'url' => 'monitoring/show/services',
'urlParams' => $params
)
);
if ($this->backend->hasQuery('eventHistory')) {
$tabs->add(
'history',