--- /root/Downloads/Nagdash/htdocs/nagdash.php 2017-09-13 14:23:42.343025349 +0200
+++ nagdash.php 2017-10-11 12:56:25.808018316 +0200
@@ -100,7 +100,7 @@
foreach ($down_hosts as $host) {
echo "
";
$tag = NagdashHelpers::print_tag($host['tag'], count($nagios_hosts));
- echo "{$host['hostname']} " . $tag . " ";
+ echo " | {$host['hostname']} " . $tag . " ";
NagdashHelpers::render('controls.php',[ "tag" => $host['tag'],
"host" => $host['hostname'],
"service" => '']);
@@ -123,7 +123,7 @@
if ($this_host['is_downtime']) $status_text = "downtime";
if (!$this_host['is_enabled']) $status_text = "disabled";
$tag = NagdashHelpers::print_tag($this_host['tag'], count($nagios_hosts));
- $known_host_list[] = "{$this_host['hostname']} " . $tag . " ({$status_text} - {$this_host['duration']})";
+ $known_host_list[] = "{$this_host['hostname']} " . $tag . " ({$status_text} - {$this_host['duration']})";
}
$known_host_list_complete = implode(" • ", $known_host_list);
echo "Known Problem Hosts: {$known_host_list_complete} | ";
@@ -152,12 +152,12 @@
$blink_tag = ($service['is_hard'] && $enable_blinking) ? " |