mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
ZyXEL Telemetry - XGS4600-32F (#9599)
* ZyXEL XGS4600-32F - Added mib for diagnostics - CPU/Mem - Temp/Fan/Voltage - Updated zyxel group mempools - Updated test data - snmprec - json - Altered ZyWall - To exclude XGS switches * Defined ZYXEL-HW-MONITOR-MIB at the top of file * Removed .MIB
This commit is contained in:
@@ -23,18 +23,10 @@
|
||||
* @author Neil Lathwood <neil@lathwood.co.uk>
|
||||
*/
|
||||
|
||||
if ($device['group'] == 'zyxel') {
|
||||
echo 'Zyxel : ';
|
||||
$oid = '.1.3.6.1.4.1.890.1.15.3.2.5.0';
|
||||
$usage = snmp_get($device, $oid, '-Ovq');
|
||||
$descr = 'Memory';
|
||||
if ($device['os_group'] == 'zyxel') {
|
||||
d_echo('Zyxel');
|
||||
$usage = snmp_get($device, "sysMgmtMemUsage.0", '-OvQ', 'ZYXEL-ES-COMMON');
|
||||
if (is_numeric($usage)) {
|
||||
discover_mempool($valid_mempool, $device, '0', 'zyxel', $descr, '1', null, null);
|
||||
discover_mempool($valid_mempool, $device, '0', 'zyxel', 'Memory', '1', null, null);
|
||||
}
|
||||
}
|
||||
|
||||
unset(
|
||||
$oid,
|
||||
$usage,
|
||||
$descr
|
||||
);
|
||||
|
Reference in New Issue
Block a user