Display last events per hour, day, week, month per monitor

This commit is contained in:
Kyle Johnson 2013-05-04 19:22:48 -04:00
parent 20b024ef02
commit a56ae4ed42
1 changed files with 8 additions and 7 deletions

View File

@ -12,7 +12,7 @@
<th>Archived</th>
<th>Zones</th>
</tr>
<?php $count = 0; ?>
<?php foreach ($monitors as $monitor): ?>
<tr>
<td>
@ -23,13 +23,14 @@
</td>
<td><?php echo $monitor['Monitor']['Host']; ?></td>
<td><?php echo count($monitor['Event']); ?></td>
<td></th>
<td></th>
<td></th>
<td></th>
<td></th>
<td><?php echo count($monitor['Zone']); ?></th>
<td><?php echo $elh[$count][0]['count']; ?></td>
<td><?php echo $eld[$count][0]['count']; ?></td>
<td><?php echo $elw[$count][0]['count']; ?></td>
<td><?php echo $elm[$count][0]['count']; ?></td>
<td></td>
<td><?php echo count($monitor['Zone']); ?></td>
</tr>
<?php $count++; ?>
<?php endforeach; ?>
<?php unset($monitor); ?>
</table>