Fix violations of coding guidelines
This commit is contained in:
parent
85aed364b7
commit
ae4aa9c182
|
@ -3,8 +3,8 @@ $this->is_service = true;
|
||||||
$this->hostquery = implode($this->hostnames, ',');
|
$this->hostquery = implode($this->hostnames, ',');
|
||||||
$this->servicequery = implode($this->servicenames, ',');
|
$this->servicequery = implode($this->servicenames, ',');
|
||||||
$this->target = array(
|
$this->target = array(
|
||||||
'host' => $this->hostquery,
|
'host' => $this->hostquery,
|
||||||
'service' => $this->servicequery
|
'service' => $this->servicequery
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -24,11 +24,11 @@ $this->target = array(
|
||||||
<td align="center"><?= $this->service_pie->render() ?></td>
|
<td align="center"><?= $this->service_pie->render() ?></td>
|
||||||
<td><?php
|
<td><?php
|
||||||
|
|
||||||
foreach ($service_states as $state => $count) {
|
foreach ($service_states as $state => $count) {
|
||||||
if ($count > 0) {
|
if ($count > 0) {
|
||||||
echo ucfirst($state) . ': ' . $count . '<br />';
|
echo ucfirst($state) . ': ' . $count . '<br />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?></td>
|
?></td>
|
||||||
<td align="center"><?= $this->host_pie->render() ?></td>
|
<td align="center"><?= $this->host_pie->render() ?></td>
|
||||||
|
|
Loading…
Reference in New Issue