mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated SLA poller for Cisco Nexus 9000 (#15855)
* Handled rttMonLatestJitterOperPacketOutOfSequence and rttMonLatestJitterOperPacketMIA not being present on Cisco Nexus9000 routers by defaulting to null value when not found. Non-existance of OIDs confirmed here: https://cisco.github.io/cisco-mibs/supportlists/nexus9000/Nexus9000MIBSupportList.html * Added snmp test data * Removed superfluous comments * Fixed sla number in test data * Removed spacing * Removed ?
This commit is contained in:
@@ -449,8 +449,8 @@ class Cisco extends OS implements
|
||||
$jitter = [
|
||||
'PacketLossSD' => $data[$sla_nr]['rttMonLatestJitterOperPacketLossSD'],
|
||||
'PacketLossDS' => $data[$sla_nr]['rttMonLatestJitterOperPacketLossDS'],
|
||||
'PacketOutOfSequence' => $data[$sla_nr]['rttMonLatestJitterOperPacketOutOfSequence'],
|
||||
'PacketMIA' => $data[$sla_nr]['rttMonLatestJitterOperPacketMIA'],
|
||||
'PacketOutOfSequence' => $data[$sla_nr]['rttMonLatestJitterOperPacketOutOfSequence'] ?? null,
|
||||
'PacketMIA' => $data[$sla_nr]['rttMonLatestJitterOperPacketMIA'] ?? null,
|
||||
'PacketLateArrival' => $data[$sla_nr]['rttMonLatestJitterOperPacketLateArrival'],
|
||||
'MOS' => isset($data[$sla_nr]['rttMonLatestJitterOperMOS']) ? intval($data[$sla_nr]['rttMonLatestJitterOperMOS']) / 100 : null,
|
||||
'ICPIF' => $data[$sla_nr]['rttMonLatestJitterOperICPIF'] ?? null,
|
||||
|
Reference in New Issue
Block a user