首页 >后端开发 >php教程 >报错Cannot adopt OID in UCD-SNMP-MIB、 LM-SENSORS-MIB在PHP中解决方法

报错Cannot adopt OID in UCD-SNMP-MIB、 LM-SENSORS-MIB在PHP中解决方法

一个新手
一个新手原创
2017-09-06 15:57:583741浏览

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 }

以上是报错Cannot adopt OID in UCD-SNMP-MIB、 LM-SENSORS-MIB在PHP中解决方法的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn