Display last events per hour, day, week, month per monitor
This commit is contained in:
parent
20b024ef02
commit
a56ae4ed42
|
@ -12,7 +12,7 @@
|
||||||
<th>Archived</th>
|
<th>Archived</th>
|
||||||
<th>Zones</th>
|
<th>Zones</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php $count = 0; ?>
|
||||||
<?php foreach ($monitors as $monitor): ?>
|
<?php foreach ($monitors as $monitor): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
@ -23,13 +23,14 @@
|
||||||
</td>
|
</td>
|
||||||
<td><?php echo $monitor['Monitor']['Host']; ?></td>
|
<td><?php echo $monitor['Monitor']['Host']; ?></td>
|
||||||
<td><?php echo count($monitor['Event']); ?></td>
|
<td><?php echo count($monitor['Event']); ?></td>
|
||||||
<td></th>
|
<td><?php echo $elh[$count][0]['count']; ?></td>
|
||||||
<td></th>
|
<td><?php echo $eld[$count][0]['count']; ?></td>
|
||||||
<td></th>
|
<td><?php echo $elw[$count][0]['count']; ?></td>
|
||||||
<td></th>
|
<td><?php echo $elm[$count][0]['count']; ?></td>
|
||||||
<td></th>
|
<td></td>
|
||||||
<td><?php echo count($monitor['Zone']); ?></th>
|
<td><?php echo count($monitor['Zone']); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php $count++; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php unset($monitor); ?>
|
<?php unset($monitor); ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue