Merge pull request #3054 from f0o/issue-3053

Added last-check on services
This commit is contained in:
Neil Lathwood
2016-02-22 09:35:05 +00:00
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -64,10 +64,13 @@ echo "
$since
</td>
<td>
<span class=box-desc>$message</span>
<span class='box-desc'>$message</span>
</td>
<td>
<span class=box-desc>$desc</span>
<span class='box-desc'>$desc</span>
</td>
<td>
<span class='box-desc'>".date('r',$service['service_changed'])."</span>
</td>
</tr>";
+1
View File
@@ -70,6 +70,7 @@ echo '<div class="table-responsive">
<th>Changed</th>
<th>Message</th>
<th>Description</th>
<th>Last Check</th>
</tr>';
if ($_SESSION['userlevel'] >= '5') {
$host_sql = 'SELECT * FROM devices AS D, services AS S WHERE D.device_id = S.device_id GROUP BY D.hostname ORDER BY D.hostname';