码迷,mamicode.com
首页 > 其他好文 > 详细

ubuntu snmp Error: unknown payload OID

时间:2014-06-07 00:32:29      阅读:290      评论:0      收藏:0      [点我收藏+]

标签:c   style   class   blog   code   a   

ubuntu snmp Error: unknown payload OID
2013-11-12 15:51:48

ubuntu12.04.3中安装snmpd后,启动snmpd服务时报错:

Nov 12 15:34:50 ubuntu snmpd[929]: Received TERM or STOP signal... shutting down...
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: prNames
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: prNames
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: prErrMessage
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: prErrMessage
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: trigger OID: prErrorFlag
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: memErrorName
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: memErrorName
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: memSwapErrorMsg
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: memSwapErrorMsg
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: trigger OID: memSwapError
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: extNames
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: extNames
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: extOutput
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: extOutput
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: trigger OID: extResult
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: dskPath
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: dskPath
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: dskErrorMsg
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: dskErrorMsg
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: trigger OID: dskErrorFlag
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: laNames
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: laNames
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: laErrMessage
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: laErrMessage
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: trigger OID: laErrorFlag
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: fileName
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: fileName
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: fileErrorMsg
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: fileErrorMsg
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: trigger OID: fileErrorFlag
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID
Nov 12 15:34:52 ubuntu snmpd[1544]: payload OID: snmperrErrMessage
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Unknown payload OID: snmperrErrMessage
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID
Nov 12 15:34:52 ubuntu snmpd[1544]: trigger OID: snmperrErrorFlag
Nov 12 15:34:52 ubuntu snmpd[1544]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID
Nov 12 15:34:52 ubuntu snmpd[1544]: Turning on AgentX master support.
Nov 12 15:34:52 ubuntu snmpd[1544]: net-snmp: 33 error(s) in config file(s)
Nov 12 15:34:52 ubuntu snmpd[1544]: NET-SNMP version 5.4.3


解决办法:

http://serverfault.com/questions/426754/usr-local-share-snmp-snmpd-conf-line-5-error-unknown-payload-oid


1. Install snmpd :apt-get install snmpd

2. Ensure the multiverse repository is enabled :

apt-get install python-software-properties
add-apt-repository ‘deb http://archive.ubuntu.com/ubuntu precise multiverse‘
apt-get update

3. Install the snmp-mibs-downloader :apt-get install snmp-mibs-downloader

4. Edit/etc/default/snmpdand setMIBS=UCD-SNMP-MIB(this is the key fix)

5. Restart snmpd :/etc/init.d/snmpd restart

 




ubuntu snmp Error: unknown payload OID,布布扣,bubuko.com

ubuntu snmp Error: unknown payload OID

标签:c   style   class   blog   code   a   

原文地址:http://www.cnblogs.com/aserlinux/p/3765459.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!