diff --git a/modules/monitoring/application/views/scripts/health/info.phtml b/modules/monitoring/application/views/scripts/health/info.phtml index f277d4688..455df65cc 100644 --- a/modules/monitoring/application/views/scripts/health/info.phtml +++ b/modules/monitoring/application/views/scripts/health/info.phtml @@ -8,11 +8,11 @@ if (! $this->compact): ?> -
+
-
+

translate('Process Info') ?>

- +
@@ -75,7 +75,7 @@ if (! $this->compact): ?> -
+

translate('Feature Commands') ?>

toggleFeaturesForm ?>
diff --git a/modules/monitoring/application/views/scripts/health/stats.phtml b/modules/monitoring/application/views/scripts/health/stats.phtml index db9599b26..5cfb8f953 100644 --- a/modules/monitoring/application/views/scripts/health/stats.phtml +++ b/modules/monitoring/application/views/scripts/health/stats.phtml @@ -8,153 +8,143 @@ if (! $this->compact): ?>
-
+
-
-

unhandledProblems ?> translate('Unhandled Problems:') ?> - unhandledProblems ?> -

-
translate('Program Version') ?>
+
+

unhandledProblems ?> translate('Unhandled Problems:') ?>

+
+ + + + - - - - - - - - + + + + + + + +
translate('Service Problems:') ?> - - qlink( - $this->unhandledServiceProblems, - 'monitoring/list/services?service_problem=1&service_handled=0&sort=service_severity', - null, - array('data-base-target' => '_next') - ) - ?> - -
translate('Host Problems:') ?> - - qlink( - $this->unhandledhostProblems, - 'monitoring/list/hosts?host_problem=1&host_handled=0', - null, - array('data-base-target' => '_next') - ) - ?> - -
translate('Service Problems:') ?> + + qlink( + $this->unhandledServiceProblems, + 'monitoring/list/services?service_problem=1&service_handled=0&sort=service_severity', + null, + array('data-base-target' => '_next') + ) + ?> + +
translate('Host Problems:') ?> + + qlink( + $this->unhandledhostProblems, + 'monitoring/list/hosts?host_problem=1&host_handled=0', + null, + array('data-base-target' => '_next') + ) + ?> + +
-
-

+

stats = $hoststats ?> render('list/components/hostssummary.phtml') ?> -

- + +
- - - - - - + + + + - - - - - - - - + + + + + + + +
translate('Runtime Variables') ?>translate('Host Checks') ?>
translate('Runtime Variables') ?>translate('Host Checks') ?>
translate('Total') ?> total_scheduled_hosts ?>
translate('Scheduled') ?> total_scheduled_hosts ?>
translate('Total') ?>total_scheduled_hosts ?>
translate('Scheduled') ?>total_scheduled_hosts ?>
-
-

+

stats = $servicestats ?> render('list/components/servicesummary.phtml') ?> -

- + +
- + - - + - - - - + + + - - - - + + +
translate('Runtime Variables') ?> translate('Runtime Variables') ?> translate('Service Checks') ?>translate('Per Host') ?>translate('Per Host') ?>
translate('Total') ?> total_services ?> average_services_per_host) ?> translate('Total') ?>total_services ?>average_services_per_host) ?>
translate('Scheduled') ?> total_scheduled_services ?> average_scheduled_services_per_host) ?> translate('Scheduled') ?>total_scheduled_services ?>average_scheduled_services_per_host) ?>
-
-

translate('Active checks') ?>

- +

translate('Active checks') ?>

+
- - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + +
translate('Check Performance') ?> translate('Checks') ?>translate('Latency') ?>translate('Execution time') ?>
translate('Check Performance') ?>translate('Checks') ?>translate('Latency') ?>translate('Execution time') ?>
translate('Host Checks') ?>host_active_count; ?>host_active_latency_avg) ?>shost_active_execution_avg) ?>s
translate('Service Checks') ?>service_active_count; ?>service_active_latency_avg) ?>sservice_active_execution_avg) ?>s
translate('Host Checks') ?>host_active_count; ?>host_active_latency_avg) ?>shost_active_execution_avg) ?>s
translate('Service Checks') ?>service_active_count; ?>service_active_latency_avg) ?>sservice_active_execution_avg) ?>s
-
-

translate('Passive checks') ?>

- +

translate('Passive checks') ?>

+
- - - - - - + + + + - - - - - - - - + + + + + + + +
translate('Check Performance') ?> translate('Passive Checks') ?>
translate('Check Performance') ?>translate('Passive Checks') ?>
translate('Host Checks') ?>host_passive_count ?>
translate('Service Checks') ?>service_passive_count ?>
translate('Host Checks') ?>host_passive_count ?>
translate('Service Checks') ?>service_passive_count ?>
-
diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less index 21e96e3ad..8ba1b29d6 100644 --- a/modules/monitoring/public/css/module.less +++ b/modules/monitoring/public/css/module.less @@ -316,10 +316,12 @@ div.box.hostservicechecks th { /* Monitoring health - PROCESS - element styles */ div.box.process { + width: 100%; + max-width: 50em; border: 1px solid @gray-lighter; border-left: 15px solid @gray; - min-height: 30em; - min-width: 30em; + margin-bottom: 1em; + margin-right: 1em; } .process div.box.header { @@ -329,19 +331,22 @@ div.box.process { .process > .boxview > div.box { min-height: 30em; - min-width: 30em; } .process h2 { - padding-bottom: 15px; + margin-top: 0; + margin-bottom: 1em; + padding-bottom: 1em; border-bottom:1px solid @gray-lighter; } .process th { + width: 50%; text-align: right; } .process td { + width: 50%; padding-left: 2em; text-align: left; } @@ -369,10 +374,10 @@ div.backend-not-running { /* Monitoring health - FEATURE - element styles */ div.box.features { + width: 100%; + max-width: 50em; border: 1px solid @gray-lighter; border-left: 15px solid @gray; - min-height: 30em; - min-width: 30em; } .features div.box.header { @@ -382,11 +387,12 @@ div.box.features { .features > .boxview > div.box { min-height: 30em; - min-width: 30em; } .features h2 { - padding-bottom: 15px; + margin-top: 0; + margin-bottom: 1em; + padding-bottom: 1em; border-bottom:1px solid @gray-lighter; } @@ -394,6 +400,8 @@ div.box.features { /* Monitoring health - STATS - element styles */ div.box.stats { + width: 100%; + max-width: 50em; border: 1px solid @gray-lighter; border-left: 15px solid @gray; color: @text-color; @@ -403,23 +411,30 @@ div.box.stats { min-height: 30em; } -.stats > .avp > tbody { +.stats > .name-value-table { + table-layout: fixed; text-align: left; } -.stats > table { - padding-bottom: 15px; -} - -.stats > table > thead{ +.stats > table > thead { color: @gray; } -.stats > h3 { - color: @gray; +.stats > h2 { text-align: left; - border-bottom:1px solid @gray-lighter; - padding-bottom: 15px; + border-bottom: 1px solid @gray-lighter; + + > .hosts-summary, + > .services-summary { + width: 100%; + > .state-badges { + float: right; + } + } +} + +.tinystatesummary .badge { + font-weight: normal; } /* Monitoring timeline styles */