mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added option to display errored ports in device summary
This commit is contained in:
@@ -83,6 +83,21 @@ if ($config['show_services']) {
|
||||
|
||||
}
|
||||
|
||||
if ($config['summary_errors']) {
|
||||
$temp_output .= '
|
||||
</tr>
|
||||
<tr class="active">
|
||||
<th><span class="black">Errored</span></th>
|
||||
<td>-</td>
|
||||
<td><a href="ports/format=list_detail/errors=1/"><span class="black"> '.$ports['errored'].'</span></a></td>
|
||||
';
|
||||
if ($config['show_services']) {
|
||||
$temp_output .= '
|
||||
<td>-</td>
|
||||
';
|
||||
}
|
||||
}
|
||||
|
||||
$temp_output .= '
|
||||
</tr>
|
||||
<tr class="active">
|
||||
|
Reference in New Issue
Block a user