1. 程式人生 > >PHP報錯Cannot adopt OID in UCD-SNMP-MIB、 LM-SENSORS-MIB

PHP報錯Cannot adopt OID in UCD-SNMP-MIB、 LM-SENSORS-MIB

fig agg ror 怎麽辦 all output agent org temp

Cannot adopt OID in UCD-SNMP-MIB:

Cannot adopt OID in LM-SENSORS-MIB: lmTempSensorsValue

運行PHP遇到這些錯誤怎麽辦?安裝兩個軟件就行!

他們分別是:getcomposer和snmp-mibs-downloader

下載:curl -sS https://getcomposer.org/installer | php
安裝:/usr/bin/php composer.phar --version
環境變量:mv composer.phar /usr/local/bin/composer
apt-get install snmp-mibs-downloader

Cannot adopt OID in SQUID-MIB: cacheClients ::= { cacheProtoAggregateStats 15 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2Entry 1 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2Entry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
Cannot adopt OID in UCD-SNMP-MIB: laNames ::= { laEntry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laLoad ::= { laEntry 3 }
Cannot adopt OID in UCD-SNMP-MIB: laConfig ::= { laEntry 4 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadInt ::= { laEntry 5 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadFloat ::= { laEntry 6 }
Cannot adopt OID in UCD-SNMP-MIB: laErrorFlag ::= { laEntry 100 }
Cannot adopt OID in UCD-SNMP-MIB: laErrMessage ::= { laEntry 101 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }

PHP報錯Cannot adopt OID in UCD-SNMP-MIB、 LM-SENSORS-MIB