mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
device: Pmp 450m metrics added (#8537)
* Update cambium MIBS * Add pmp-450m utilization metrics Added test data * Re-run json test data * Rremove application data from json * Rename pmp tests to match hardware
This commit is contained in:
committed by
Tony Murray
parent
94abddcd1b
commit
c828114639
@@ -139,6 +139,12 @@ class Pmp extends OS implements
|
||||
{
|
||||
$downlink = '.1.3.6.1.4.1.161.19.3.1.12.1.1.0'; //WHISP-APS-MIB::frUtlLowTotalDownlinkUtilization
|
||||
$uplink = '.1.3.6.1.4.1.161.19.3.1.12.1.2.0'; //WHISP-APS-MIB::frUtlLowTotalUplinkUtilization
|
||||
|
||||
// 450M Specific Utilizations
|
||||
$muSectorDownlink = '.1.3.6.1.4.1.161.19.3.1.12.2.29.0'; //WHISP-APS-MIB::frUtlMedMumimoDownlinkSectorUtilization
|
||||
$muDownlink = '.1.3.6.1.4.1.161.19.3.1.12.2.30.0'; //WHISP-APS-MIB::frUtlMedMumimoDownlinkMumimoUtilization
|
||||
$suDownlink = '.1.3.6.1.4.1.161.19.3.1.12.2.31.0'; //WHISP-APS-MIB::frUtlMedMumimoDownlinkSumimoUtilization
|
||||
|
||||
return array(
|
||||
new WirelessSensor(
|
||||
'utilization',
|
||||
@@ -157,6 +163,33 @@ class Pmp extends OS implements
|
||||
0,
|
||||
'Uplink Utilization',
|
||||
null
|
||||
),
|
||||
new WirelessSensor(
|
||||
'utilization',
|
||||
$this->getDeviceId(),
|
||||
$muSectorDownlink,
|
||||
'pmp-450m-sector-downlink',
|
||||
0,
|
||||
'MU-MIMO Downlink Sector utilization',
|
||||
null
|
||||
),
|
||||
new WirelessSensor(
|
||||
'utilization',
|
||||
$this->getDeviceId(),
|
||||
$muDownlink,
|
||||
'pmp-450m-downlink',
|
||||
0,
|
||||
'MU-MIMO Downlink Utilization',
|
||||
null
|
||||
),
|
||||
new WirelessSensor(
|
||||
'utilization',
|
||||
$this->getDeviceId(),
|
||||
$suDownlink,
|
||||
'pmp-450m-su-downlink',
|
||||
0,
|
||||
'SU-MIMO Downlink Utilization',
|
||||
null
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -228,6 +261,7 @@ class Pmp extends OS implements
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Discover wireless client counts. Type is clients.
|
||||
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
|
||||
|
Reference in New Issue
Block a user