Skip to content

Commit

Permalink
OcNOS transceiver tx not visible
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Sep 30, 2024
1 parent bb944b9 commit d12733f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/discovery/sensors/dbm/ocnos.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'sensor_limit_low' => isset($channel_data['IPI-CMM-CHASSIS-MIB::cmmTransTxPowerCriticalThresholdMin']) ? $channel_data['IPI-CMM-CHASSIS-MIB::cmmTransTxPowerCriticalThresholdMin'] / $divisor : null,
'sensor_limit_low_warn' => isset($channel_data['IPI-CMM-CHASSIS-MIB::cmmTransTxPowerAlertThresholdMin']) ? $channel_data['IPI-CMM-CHASSIS-MIB::cmmTransTxPowerAlertThresholdMin'] / $divisor : null,
'sensor_current' => isset($channel_data['IPI-CMM-CHASSIS-MIB::cmmTransTxPower']) ? $channel_data['IPI-CMM-CHASSIS-MIB::cmmTransTxPower'] / $divisor : null,
'entPhysicalIndex' => null, // TODO
'entPhysicalIndex' => $cmmStackUnitIndex * 10000 + $cmmTransIndex,
'entPhysicalIndex_measured' => 'port',
'user_func' => null,
'group' => 'transceiver',
Expand Down

0 comments on commit d12733f

Please sign in to comment.