欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2022-04-08 14:10:21
...
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中解决方法的详细内容,更多请关注其它相关文章!