mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Added support for IONODES video encoders * fixed expected number instead of string value error when running tests * removed extra colon * added mibs_dir for ionodes * removed IF-MIB from ionodes.yaml
12 lines
299 B
PHP
12 lines
299 B
PHP
<?php
|
|
|
|
if ($device['os'] === 'ionodes') {
|
|
echo 'IONODES IONSERIES';
|
|
|
|
$usage = snmp_get($device, 'ionSysMemUsage.0', '-OvUQ', 'IONODES-IONSERIES-MIB');
|
|
|
|
if (is_numeric($usage)) {
|
|
discover_mempool($valid_mempool, $device, 0, 'ionodes', 'System Memory', '100', null, null);
|
|
}
|
|
}
|