parent
f4c69395b1
commit
2efea214da
|
@ -1,20 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
use Icinga\Module\Monitoring\Object\Host;
|
use Icinga\Module\Monitoring\Object\Host;
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$hidden = array();
|
|
||||||
$hiddenRich = array();
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="hbox-item">
|
|
||||||
<?= $this->translate('States:') ?>
|
|
||||||
<?= $hostStatesPieChart; ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if (($hostCount = count($objects)) > 0): ?>
|
<?php if (($hostCount = count($objects)) > 0): ?>
|
||||||
|
<div class="hbox-item">
|
||||||
|
<?= $this->translate('States:') ?>
|
||||||
|
<?= $hostStatesPieChart; ?>
|
||||||
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<table class="state statesummary">
|
<table class="state statesummary">
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,17 @@
|
||||||
<?php
|
<?php
|
||||||
use Icinga\Module\Monitoring\Object\Service;
|
use Icinga\Module\Monitoring\Object\Service;
|
||||||
?>
|
|
||||||
|
|
||||||
<div class="hbox-item">
|
$i = 0;
|
||||||
<?= $this->translate('Service states:') ?>
|
|
||||||
<?= $serviceStatesPieChart; ?>
|
|
||||||
</div>
|
|
||||||
<div class="hbox-item">
|
|
||||||
<?= $this->translate('Host states:') ?>
|
|
||||||
<?= $hostStatesPieChart; ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$i = 0;
|
|
||||||
$hidden = array();
|
|
||||||
$hiddenRich = array();
|
|
||||||
?>
|
?>
|
||||||
<?php if (($serviceCount = count($objects)) > 0): ?>
|
<?php if (($serviceCount = count($objects)) > 0): ?>
|
||||||
|
<div class="hbox-item">
|
||||||
|
<?= $this->translate('Service states:') ?>
|
||||||
|
<?= $serviceStatesPieChart; ?>
|
||||||
|
</div>
|
||||||
|
<div class="hbox-item">
|
||||||
|
<?= $this->translate('Host states:') ?>
|
||||||
|
<?= $hostStatesPieChart; ?>
|
||||||
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<table class="state statesummary">
|
<table class="state statesummary">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
Loading…
Reference in New Issue