ubuntu snmp Error: unknown payload OID

2013-11-12 15:51:48

标签:ubuntu Error snmp unknown payload OID

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

来自为知笔记(Wiz)

时间: 2024-10-10 13:13:48

ubuntu snmp Error: unknown payload OID的相关文章

Create schema error (unknown database schema '')

Andrey Devyatka 4 years ago Permalink Raw Message Hi,Please tell me, can I use the static library in the following case: library.hpp:#ifndef _CPP_ODB_STATIC_LIBRARY_CPP_#define _CPP_ODB_STATIC_LIBRARY_CPP_#include <odb/database.hxx>odb::database* cr

转载 error:unknown filesystem grub rescue&gt;

我是ubuntu11.04和2win7双系统,在win7下使用Acronis Disk Director Suit对非系统盘进行分割,完成后重启出现: error:unknown filesystem grub rescue> 解决办法: http://wenku.baidu.com/view/c71a1812cc7931b765ce1563.html,很给力! 我的具体步骤; 查看分区: grub rescue>ls .... 寻找ubuntu所在分区: grub rescue>ls

usr/bin/mysqladmin: refresh failed; error: &#39;Unknown error&#39;

debian wheezy 升级后, 因为授权错误, 导致密码给修改, 在debian的mysql safe下也无法进入. 我在/etc/mysql/my.cnf 里面已经修改了bind-address 为局域网ip 进而执行了 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; 然后重载授权表: FLUSH PRIVILEGES; 然后重启后, 虽然可以远程链接, 但是debia

[odb-users] Create schema error (unknown database schema &#39;&#39;)

Boris Kolpackov boris at codesynthesis.comFri May 31 11:13:02 EDT 2013 Previous message: [odb-users] Create schema error (unknown database schema '') Next message: [odb-users] Create schema error (unknown database schema '') Messages sorted by: [ dat

MAC OSX 中解决编译“&#39;cc&#39; failed with exit status 1”错误 和clang: error: unknown argument 错误

错误例子: error: command 'cc' failed with exit status 1 clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the fu

jni 编译错误error: unknown type name &#39;__va_list&#39;

platforms\android-9\arch-arm\usr\include\stdio.h:257:37: error: unknown type name '__va_list' 解决方法: 默认的android-9不兼容 Applicaton.mk  添加APP_PLATFORM := android-21 jni 编译错误error: unknown type name '__va_list'

SNMP监控一些常用OID的总结

做网络监控的人对SNMP的协议肯定够很熟悉,下面罗列出一些常见的OID说明,方便大家省去查阅相关资料的麻烦. 系统参数(1.3.6.1.2.1.1) OID 描述 备注 请求方式 .1.3.6.1.2.1.1.1.0 获取系统基本信息 SysDesc GET .1.3.6.1.2.1.1.3.0 监控时间 sysUptime GET .1.3.6.1.2.1.1.4.0 系统联系人 sysContact GET .1.3.6.1.2.1.1.5.0 获取机器名 SysName GET .1.3.

电脑开机出现error:unknown filesystem的解决方法

我电脑装的是双系统(redhat7+win7),有一天把在win7上压缩了一个分区,新加了一个分区,之后开机后遇到这个错误:error:unknown  filesystem 首先,说一下出现这种状况的原因:我在windows下用分区工具重新进行了分区(虽然没有动Linux所在分区) 解决方法: 在命令行进行如下操作: normal之后回车,就会进入系统. 说明: ls 显示分区的信息 ls (hd0,msdosx)/grub2命令用来找出Linux盘在哪个分区以及grub目录在什么位置.因为我

解决Project build error: Unknown packaging: apk

刚要开始尝试Maven 管理Android ,刚要觉得高大上,结果就掉进了一个坑,pom.xml 报错: Project build error: Unknown packaging: apk 看了眼基本上的意思就是,Maven说:"你这是什么鬼啊?!" 说白了,Maven不认识APK的包,恩......好了搜一下得到解决方案: 安装插件: http://rgladwell.github.com/m2e-android/updates/ (在线安装地址.) 顺道提一句,最后给Eclip