Home >Backend Development >PHP Tutorial >Solution to the error Cannot adopt OID in UCD-SNMP-MIB, LM-SENSORS-MIB in PHP
Cannot adopt OID in UCD-SNMP-MIB:
Cannot adopt OID in LM-SENSORS-MIB: lmTempSensorsValue
What should I do if I encounter these errors when running PHP? Just install two softwares!
They are: getcomposer and snmp-mibs-downloader
Download: curl -sS https://getcomposer.org/installer | php
Installation:/usr/bin/php composer.phar --version
Environment variable: 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 }
The above is the detailed content of Solution to the error Cannot adopt OID in UCD-SNMP-MIB, LM-SENSORS-MIB in PHP. For more information, please follow other related articles on the PHP Chinese website!