mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
removed includes/polling/os/calix-e5.inc.php
This commit is contained in:
@ -1,66 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* LibreNMS Calix E5-1xx OS Polling module
|
||||
*
|
||||
* Copyright (c) 2016 Chris A. Evans <thecityofguanyu@outlook.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.
|
||||
*/
|
||||
|
||||
|
||||
if (strpos($device['sysObjectID'], 'enterprises.6321.1.2.3.4') !== false) { // E5-121
|
||||
|
||||
$version = snmp_get($device, 'iesSlotModuleFWVersion.0.0', '-Oqv', '+E5-121-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$hardware = snmp_get($device, 'iesSlotModuleDescr.0.0', '-Ovqs', '+E5-121-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$serial = snmp_get($device, 'iesChassisSerialNumber.0', '-OQv', '+E5-121-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$features = '';
|
||||
|
||||
$version = str_replace('"', '', $version);
|
||||
$serial = str_replace('"', '', $serial);
|
||||
$hardware = str_replace('"', '', $hardware);
|
||||
|
||||
}
|
||||
|
||||
if (strpos($device['sysObjectID'], 'enterprises.6321.1.2.3.3') !== false) { // E5-120
|
||||
|
||||
$version = snmp_get($device, 'iesSlotModuleFWVersion.0.0', '-Oqv', '+E5-120-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$hardware = snmp_get($device, 'iesSlotModuleDescr.0.0', '-Ovqs', '+E5-120-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$serial = snmp_get($device, 'iesChassisSerialNumber.0', '-OQv', '+E5-120-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$features = '';
|
||||
|
||||
$version = str_replace('"', '', $version);
|
||||
$serial = str_replace('"', '', $serial);
|
||||
$hardware = str_replace('"', '', $hardware);
|
||||
|
||||
}
|
||||
|
||||
if (strpos($device['sysObjectID'], 'enterprises.6321.1.2.3.2') !== false) { // E5-111
|
||||
|
||||
$version = snmp_get($device, 'iesSlotModuleFWVersion.0.0', '-Oqv', '+E5-111-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$hardware = snmp_get($device, 'iesSlotModuleDescr.0.0', '-Ovqs', '+E5-111-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$serial = snmp_get($device, 'iesChassisSerialNumber.0', '-OQv', '+E5-111-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$features = '';
|
||||
|
||||
$version = str_replace('"', '', $version);
|
||||
$serial = str_replace('"', '', $serial);
|
||||
$hardware = str_replace('"', '', $hardware);
|
||||
|
||||
}
|
||||
|
||||
if (strpos($device['sysObjectID'], 'enterprises.6321.1.2.3.1') !== false) { // E5-110
|
||||
|
||||
$version = snmp_get($device, 'iesSlotModuleFWVersion.0.0', '-Oqv', '+E5-110-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$hardware = snmp_get($device, 'iesSlotModuleDescr.0.0', '-Ovqs', '+E5-110-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$serial = snmp_get($device, 'iesChassisSerialNumber.0', '-OQv', '+E5-110-IESCOMMON-MIB', '+'.$config['install_dir'].'/mibs/calix-e5');
|
||||
$features = '';
|
||||
|
||||
$version = str_replace('"', '', $version);
|
||||
$serial = str_replace('"', '', $serial);
|
||||
$hardware = str_replace('"', '', $hardware);
|
||||
|
||||
}
|
Reference in New Issue
Block a user