Index: includes/definitions/mibs/nortel.inc.php =================================================================== --- includes/definitions/mibs/nortel.inc.php (revision 14204) +++ includes/definitions/mibs/nortel.inc.php (working copy) @@ -32,6 +32,8 @@ 'oid' => 's5ChasTmpSnrTmpValue', 'oid_num' => '.1.3.6.1.4.1.45.1.6.3.7.1.1.5', 'scale' => 0.5, + 'limit_high' => '80', + 'limit_high_warn' => '65', 'rename_rrd' => 'avaya-ers-%index%' ]; @@ -756,6 +758,50 @@ $config['mibs'][$mib]['mib_dir'] = 'nortel'; $config['mibs'][$mib]['descr'] = ''; +$config['mibs'][$mib]['sensor'][] = [ + 'table' => 'bspePethPsePortExtTable', + 'oid' => 'bspePethPsePortExtMeasuredCurrent', + 'class' => 'current', + 'measured' => 'port', + //'measured_match' => [ 'entity_type' => 'port', 'field' => 'ifDescr', 'match' => 'Unit %index0% Port %index1%$', 'condition' => 'REGEXP' ], // working only for stacks + 'measured_match' => [ 'entity_type' => 'port', 'field' => 'ifName', 'match' => '%index0%/%index1%'], // working for stacks and single units + 'descr' => '%measured_entity_label% PoE Current', + 'oid_num' => '.1.3.6.1.4.1.45.5.8.1.1.1.6', + 'scale' => 0.001, + 'limit_high' => '1.920', + 'min' => 0 +]; + +$config['mibs'][$mib]['sensor'][] = [ + 'table' => 'bspePethPsePortExtTable', + 'oid' => 'bspePethPsePortExtMeasuredVoltage', + 'class' => 'voltage', + 'measured' => 'port', + //'measured_match' => [ 'entity_type' => 'port', 'field' => 'ifDescr', 'match' => 'Unit %index0% Port %index1%$', 'condition' => 'REGEXP' ], // working only for stacks + 'measured_match' => [ 'entity_type' => 'port', 'field' => 'ifName', 'match' => '%index0%/%index1%'], // working for stacks and single units + 'descr' => '%measured_entity_label% PoE Voltage', + 'oid_num' => '.1.3.6.1.4.1.45.5.8.1.1.1.5', + 'scale' => 0.1, + 'limit_low' => '48', + 'limit_high' => '58', + 'min' => 0 +]; + +$config['mibs'][$mib]['sensor'][] = [ + 'table' => 'bspePethPsePortExtTable', + 'oid' => 'bspePethPsePortExtMeasuredPower', + 'class' => 'power', + 'measured' => 'port', + //'measured_match' => [ 'entity_type' => 'port', 'field' => 'ifDescr', 'match' => 'Unit %index0% Port %index1%$', 'condition' => 'REGEXP' ], // working only for stacks + 'measured_match' => [ 'entity_type' => 'port', 'field' => 'ifName', 'match' => '%index0%/%index1%'], // working for stacks and single units + 'descr' => '%measured_entity_label% PoE Power', + 'oid_num' => '.1.3.6.1.4.1.45.5.8.1.1.1.7', + 'scale' => 0.001, + 'oid_limit_high' => 'bspePethPsePortExtPowerLimit', + 'limit_scale' => 1, + 'min' => 0 +]; + $config['mibs'][$mib]['status'][] = [ 'type' => 'bspePoEPowerMode', 'descr' => 'PoE Power Mode',