mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Update avaya-ers.yaml Extreme bought avaya network assests so rebranding and moving some files. * Add files via upload Extreme bought avaya networking assets and so rebranding to Extreme and adding logos with OS for easier reading when on devices pages * Update avaya-vsp.yaml removing .1.3.6.1.4.1.45.3.79.1 This is a VSP 7024xl from avaya. This is techincally not VOSS but BOSS operating system. It should be in BOSS and avaya-ers.yaml * Add files via upload * Update and rename avaya-vsp.inc.php to extreme-voss.inc.php * Update and rename avaya-vsp.inc.php to extreme-voss.inc.php * Update and rename avaya-vsp.inc.php to extreme-voss.inc.php * Update extreme-voss.inc.php * Rename avaya-vsp.inc.php to extreme-voss.inc.php * Rename avaya-vsp.inc.php to extreme-voss.inc.php * Rename avaya-vsp.yaml to extreme-voss.yaml * Update and rename avaya-vsp.yaml to extreme-voss.yaml * Update avaya-ers.yaml * Rename avaya-ers.yaml to extreme-boss.yaml * Rename avaya-ers.inc.php to extreme-boss.inc.php * Update and rename avaya-ers.inc.php to extreme-boss.inc.php * Update and rename avaya-ers.inc.php to extreme-boss.inc.php * Update and rename avaya-ers.inc.php to extreme-boss.inc.php * Update and rename avaya-ers.inc.php to extreme-boss.inc.php * Update and rename avaya-ers.inc.php to extreme-boss.inc.php * Update extreme-boss.yaml * Update extreme-voss.yaml * Update and rename extreme-boss.yaml to boss.yaml * Update extreme-voss.yaml * Rename extreme-voss.yaml to voss.yaml * Rename extreme-boss.inc.php to boss.inc.php * Rename extreme-voss.inc.php to voss.inc.php * Rename extreme-boss.inc.php to boss.inc.php * Rename extreme-voss.inc.php to voss.inc.php * Update and rename extreme-voss.inc.php to voss.inc.php * Rename extreme-voss.yaml to voss.yaml * Rename extreme-voss.inc.php to voss.inc.php * Update and rename extreme-voss.inc.php to voss.inc.php * Update and rename extreme-boss.inc.php to boss.inc.php * Update and rename extreme-boss.inc.php to boss.inc.php * Update and rename extreme-boss.inc.php to boss.inc.php * Rename extreme-boss.inc.php to boss.inc.php * Update voss.inc.php * Update boss.inc.php * Update boss.inc.php * Update voss.inc.php * Update voss.inc.php * Update voss.inc.php * Update voss.inc.php * Update voss.inc.php * Update voss.inc.php * Update boss.inc.php * Update boss.inc.php * Update voss.inc.php * Update boss.inc.php * Update voss.inc.php * Update voss.inc.php * Rename avaya-vsp_8404c.snmprec to voss_8404c.snmprec * Rename avaya-vsp_8404.snmprec to voss_8404.snmprec * Rename avaya-vsp_8284xsq.snmprec to voss_8284xsq.snmprec * Rename avaya-vsp_7254xtq.snmprec to voss_7254xtq.snmprec * Rename avaya-vsp_7254xsq.snmprec to voss_7254xsq.snmprec * Rename avaya-vsp_7024xls.snmprec to boss_7024xls.snmprec * Rename avaya-vsp_4850gts.snmprec to voss_4850gts.snmprec * Rename avaya-vsp_4850gts-pwr.snmprec to voss_4850gts-pwr.snmprec * Rename avaya-vsp_4450gsx-pwr.snmprec to voss_4450gsx-pwr.snmprec * Rename avaya-ers.snmprec to boss.snmprec * Rename avaya-ers_1.snmprec to boss_1.snmprec * Update and rename avaya-ers.json to boss.json * Update and rename avaya-vsp_8404.json to voss_8404.json * Update and rename avaya-vsp_8404c.json to voss_8404c.json * Update and rename AvayaErs.php to Boss.php * Update Boss.php * Restore processor_type to avaya-ers in test data * Update voss_8404c.json * Update extremeboss.svg * Update extremevoss.svg
24 lines
887 B
PHP
24 lines
887 B
PHP
<?php
|
|
/*
|
|
* LibreNMS
|
|
*
|
|
* Copyright (c) 2016 Daniel Cox <danielcoxman@gmail.com>
|
|
* 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.
|
|
*/
|
|
|
|
// Extreme/Avaya Memory for VSP with OS VOSS
|
|
// rcKhiSlotMemUsed 1.3.6.1.4.1.2272.1.85.10.1.1.6.1
|
|
// rcKhiSlotMemFree 1.3.6.1.4.1.2272.1.85.10.1.1.7.1
|
|
// rcKhiSlotMemUtil 1.3.6.1.4.1.2272.1.85.10.1.1.8.1
|
|
|
|
if ($device['os'] == 'voss') {
|
|
$memutil = trim(snmp_get($device, '.1.3.6.1.4.1.2272.1.85.10.1.1.8.1', '-OvQ'));
|
|
if (is_numeric($memutil)) {
|
|
discover_mempool($valid_mempool, $device, 0, 'avaya-vsp', 'VSP Memory', '1', null, null);
|
|
}
|
|
}
|