|
@@ -25,12 +25,11 @@ class OIDSHuaweiV1 extends \HuaweiBundle\SNMP\MIB {
|
|
const OID_oltPonDesc = "1.3.6.1.2.1.31.1.1.1.1";
|
|
const OID_oltPonDesc = "1.3.6.1.2.1.31.1.1.1.1";
|
|
const OID_oltPonEnableStatus = "1.3.6.1.4.1.5875.800.3.9.3.4.1.4";
|
|
const OID_oltPonEnableStatus = "1.3.6.1.4.1.5875.800.3.9.3.4.1.4";
|
|
|
|
|
|
- const OID_oltPonRxOpticalPower = "1.3.6.1.4.1.2011.6.128.1.1.2.51.1.6";
|
|
|
|
-
|
|
|
|
- const OID_oltPonTxOpticalPower = "1.3.6.1.4.1.5875.800.3.9.3.4.1.8";
|
|
|
|
- const OID_oltPonOpticalVltage = "1.3.6.1.4.1.5875.800.3.9.3.4.1.9";
|
|
|
|
- const OID_oltPonOpticalCurrent = "1.3.6.1.4.1.5875.800.3.9.3.4.1.10";
|
|
|
|
- const OID_oltPonOpticalTemperature = "1.3.6.1.4.1.5875.800.3.9.3.4.1.11";
|
|
|
|
|
|
+ const OID_oltPonRxOpticalPower = "1.3.6.1.4.1.2011.6.128.1.1.2.51.1.6"; // (value - 10000) * 0.01
|
|
|
|
+ const OID_oltPonTxOpticalPower = "1.3.6.1.4.1.2011.6.128.1.1.2.23.1.4";
|
|
|
|
+ const OID_oltPonOpticalVltage = "1.3.6.1.4.1.2011.6.128.1.1.2.23.1.2";
|
|
|
|
+ const OID_oltPonOpticalCurrent = "1.3.6.1.4.1.2011.6.128.1.1.2.23.1.3";
|
|
|
|
+ const OID_oltPonOpticalTemperature = "1.3.6.1.4.1.2011.6.128.1.1.2.23.1.1";
|
|
|
|
|
|
|
|
|
|
//Genericos
|
|
//Genericos
|
|
@@ -129,27 +128,27 @@ class OIDSHuaweiV1 extends \HuaweiBundle\SNMP\MIB {
|
|
}
|
|
}
|
|
|
|
|
|
public function oltPonRxOpticalPower($index = null) {
|
|
public function oltPonRxOpticalPower($index = null) {
|
|
- return $this->getSNMP()->lastOidWalk(self::OID_oltPonRxOpticalPower,15);
|
|
|
|
|
|
+ return $this->getSNMP()->lastOidWalk(self::OID_oltPonRxOpticalPower,16);
|
|
// return $this->convertIndex($index, $values);
|
|
// return $this->convertIndex($index, $values);
|
|
}
|
|
}
|
|
|
|
|
|
public function oltPonTxOpticalPower($index = null) {
|
|
public function oltPonTxOpticalPower($index = null) {
|
|
- return $this->getSNMP()->lastOidWalk(self::OID_oltPonTxOpticalPower,15);
|
|
|
|
|
|
+ return $this->getSNMP()->lastOidWalk(self::OID_oltPonTxOpticalPower,16);
|
|
// return $this->convertIndex($index, $values);
|
|
// return $this->convertIndex($index, $values);
|
|
}
|
|
}
|
|
|
|
|
|
public function oltPonOpticalVltage($index = null) {
|
|
public function oltPonOpticalVltage($index = null) {
|
|
- return $this->getSNMP()->lastOidWalk(self::OID_oltPonOpticalVltage,15);
|
|
|
|
|
|
+ return $this->getSNMP()->lastOidWalk(self::OID_oltPonOpticalVltage,16);
|
|
// return $this->convertIndex($index, $values);
|
|
// return $this->convertIndex($index, $values);
|
|
}
|
|
}
|
|
|
|
|
|
public function oltPonOpticalCurrent($index = null) {
|
|
public function oltPonOpticalCurrent($index = null) {
|
|
- return $this->getSNMP()->lastOidWalk(self::OID_oltPonOpticalCurrent,15);
|
|
|
|
|
|
+ return $this->getSNMP()->lastOidWalk(self::OID_oltPonOpticalCurrent,16);
|
|
// return $this->convertIndex($index, $values);
|
|
// return $this->convertIndex($index, $values);
|
|
}
|
|
}
|
|
|
|
|
|
public function oltPonOpticalTemperature($index = null) {
|
|
public function oltPonOpticalTemperature($index = null) {
|
|
- return $this->getSNMP()->lastOidWalk(self::OID_oltPonOpticalTemperature,15);
|
|
|
|
|
|
+ return $this->getSNMP()->lastOidWalk(self::OID_oltPonOpticalTemperature,16);
|
|
// return $this->convertIndex($index, $values);
|
|
// return $this->convertIndex($index, $values);
|
|
}
|
|
}
|
|
|
|
|