mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added last-check on services
This commit is contained in:
@@ -64,10 +64,13 @@ echo "
|
|||||||
$since
|
$since
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class=box-desc>$message</span>
|
<span class='box-desc'>$message</span>
|
||||||
</td>
|
</td>
|
||||||
<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>
|
</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
|
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ echo '<div class="table-responsive">
|
|||||||
<th>Changed</th>
|
<th>Changed</th>
|
||||||
<th>Message</th>
|
<th>Message</th>
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
|
<th>Last Check</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
if ($_SESSION['userlevel'] >= '5') {
|
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';
|
$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';
|
||||||
|
|||||||
Reference in New Issue
Block a user