monitoring: Use host_display_name for displaying the host name in the services overview
refs #7843
This commit is contained in:
parent
3bb5a9c702
commit
23243d40e3
|
@ -107,7 +107,7 @@ foreach ($services as $service):
|
|||
<?php if ($service->service_icon_image && ! preg_match('/[\'"]/', $service->service_icon_image)): ?>
|
||||
<?= $this->icon($this->resolveMacros($service->service_icon_image, $service)) ?>
|
||||
<?php endif ?>
|
||||
<a href="<?= $serviceLink ?>"><?= $service->service_display_name ?></a><?php if ($this->showHost): ?> on <a href="<?= $hostLink ?>"><?= $service->host_name; ?>
|
||||
<a href="<?= $serviceLink ?>"><?= $service->service_display_name ?></a><?php if ($this->showHost): ?> on <a href="<?= $hostLink ?>"><?= $service->host_display_name; ?>
|
||||
<?php if ($service->host_state != 0): ?>
|
||||
(<?= strtoupper(Host::getStateText($service->host_state, true)); ?>)
|
||||
<?php endif ?>
|
||||
|
|
Loading…
Reference in New Issue