diff --git a/monitor_render.php b/monitor_render.php index 724e68e..848544a 100644 --- a/monitor_render.php +++ b/monitor_render.php @@ -1194,15 +1194,16 @@ function renderHostTilesadt(array $host): string { $class = getStatusIcon($host['status'], $host['monitor_icon']); $fclass = get_request_var('size'); + $name = title_trim(html_escape($host['description']), 40); if ($host['status'] < 2 || $host['status'] == 5) { $tis = get_timeinstate($host); - return "

$tis
"; + return "

$name
$tis
"; } else { $tis = get_uptime($host); - return "

$tis
"; + return "

$name
$tis
"; } }