mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update global MIB viewer
This commit is contained in:
@@ -25,7 +25,8 @@ $columns = array(
|
|||||||
'description',
|
'description',
|
||||||
'max_access',
|
'max_access',
|
||||||
'status',
|
'status',
|
||||||
'last_used',
|
'included_by',
|
||||||
|
'last_modified',
|
||||||
);
|
);
|
||||||
|
|
||||||
function search_phrase_column($c)
|
function search_phrase_column($c)
|
||||||
@@ -87,6 +88,5 @@ $output = array(
|
|||||||
'rowCount' => $rowCount,
|
'rowCount' => $rowCount,
|
||||||
'rows' => $response,
|
'rows' => $response,
|
||||||
'total' => $total,
|
'total' => $total,
|
||||||
'sql' => $sql,
|
|
||||||
);
|
);
|
||||||
echo _json_encode($output);
|
echo _json_encode($output);
|
||||||
|
|||||||
@@ -1,4 +1,20 @@
|
|||||||
<h4><i class="fa fa-file-text-o"></i> Loaded MIB definitions</h4>
|
<?php
|
||||||
|
/*
|
||||||
|
* LibreNMS global MIB viewer
|
||||||
|
*
|
||||||
|
* Copyright (c) 2015 Gear Consulting Pty Ltd <github@libertysys.com.au>
|
||||||
|
*
|
||||||
|
* Author: Paul Gear
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation, either version 3 of the License, or (at your
|
||||||
|
* option) any later version. Please see LICENSE.txt at the top level of
|
||||||
|
* the source code distribution for details.
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
|
||||||
|
<h4><i class="fa fa-file-text-o"></i> All MIB definitions</h4>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="mibs" class="table table-hover table-condensed mibs">
|
<table id="mibs" class="table table-hover table-condensed mibs">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -9,9 +25,10 @@
|
|||||||
<th data-column-id="oid">Object Id</th>
|
<th data-column-id="oid">Object Id</th>
|
||||||
<th data-column-id="syntax">Syntax</th>
|
<th data-column-id="syntax">Syntax</th>
|
||||||
<th data-column-id="description">Description</th>
|
<th data-column-id="description">Description</th>
|
||||||
<th data-column-id="max_access">Maximum Access</th>
|
<!-- th data-column-id="max_access">Maximum Access</th>
|
||||||
<th data-column-id="status">Status</th>
|
<th data-column-id="status">Status</th -->
|
||||||
<th data-column-id="last_used">Last Used</th>
|
<th data-column-id="included_by">Included by</th>
|
||||||
|
<th data-column-id="last_modified">Last modified</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user