Commit version 24.12.13800

This commit is contained in:
2025-01-06 17:35:06 -05:00
parent b7f6a79c2c
commit 55d9218816
6133 changed files with 4239740 additions and 1374287 deletions

View File

@ -0,0 +1,28 @@
<?php
/**
* Observium
*
* This file is part of Observium.
*
* @package observium
* @subpackage poller
* @copyright (C) Adam Armstrong
*
*/
// SNMPv2-MIB::sysObjectID.0 = OID: FL-MGD-INFRASTRUCT-MIB::flComponentsIndex.331
// .1.3.6.1.4.1.4346.11.1.2.1.1.1.331
// FL-MGD-INFRASTRUCT-MIB::flComponentsIndex.331 = INTEGER: 331
// FL-MGD-INFRASTRUCT-MIB::flComponentsName.331 = STRING: FL SWITCH 2008
// FL-MGD-INFRASTRUCT-MIB::flComponentsDescr.331 = STRING: Industrial Ethernet Switch with 8 Fast-Ethernet copper ports.
// FL-MGD-INFRASTRUCT-MIB::flComponentsURL.331 = STRING: http://www.FactoryLine.de
// FL-MGD-INFRASTRUCT-MIB::flComponentsOrderNumber.331 = STRING: 27 02 324
if (match_oid_num($device['sysObjectID'], '.1.3.6.1.4.1.4346.11.1.2.1.1.1')) {
$hw_array = explode('.', $device['sysObjectID']);
$hw_index = end($hw_array);
$hardware = snmp_get_oid($device, 'flComponentsName.' . $hw_index, 'FL-MGD-INFRASTRUCT-MIB');
}
// EOF