【Linux】snmp在message中报错: /etc/snmp/snmpd.conf: line 311: Error: ERROR: This output format has been de
Apr 17 17:36:17 localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 311: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17 localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 314: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17 localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 315: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17 localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 316: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 317: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17 localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 318: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17 localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 319: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17 localhost snmpd[2810]: /etc/snmp/snmpd.conf: line 320: Error: ERROR: This output format has been deprecated
- Please use the 'extend' directive instead
Apr 17 17:36:17localhost snmpd[2810]: dlopen failed: /lib/lsiRAID.so: cannot open shared object file: No such file or direc
tory
Apr 17 17:36:17localhost snmpd[2810]: net-snmp: 8 error(s) in config file(s)
message中现实的问题说明的很明显,找到相关的文件,替换为extend即可
# mysql
#exec .1.3.6.1.4.1.4502.1.6 mysql /usr/local/share/snmp/get-mysql
extend .1.3.6.1.4.1.4502.1.6 mysql /usr/local/share/snmp/get-mysql
# iostat
#exec .1.3.6.1.4.1.8888.2.1 iostat /usr/local/share/snmp/get-iostat sda
#exec .1.3.6.1.4.1.8888.2.2 iostat /usr/local/share/snmp/get-iostat sdb
#exec .1.3.6.1.4.1.8888.2.3 iostat /usr/local/share/snmp/get-iostat sdc
#exec .1.3.6.1.4.1.8888.3.1 iostat-bsd /usr/local/share/snmp/get-iostat-bsd
#exec .1.3.6.1.4.1.8888.4.1 cpustat /usr/local/share/snmp/get-cpustat
#exec .1.3.6.1.4.1.8888.5.1 onlineusers /usr/local/share/snmp/get-statinfo 5min delivery gdeliveryd OnlineUsers 3
#exec .1.3.6.1.4.1.8888.5.2 max-onlineusers /bin/echo 10000
extend .1.3.6.1.4.1.8888.2.1 iostat /usr/local/share/snmp/get-iostat sda
extend .1.3.6.1.4.1.8888.2.2 iostat /usr/local/share/snmp/get-iostat sdb
extend .1.3.6.1.4.1.8888.2.3 iostat /usr/local/share/snmp/get-iostat sdc
extend .1.3.6.1.4.1.8888.3.1 iostat-bsd /usr/local/share/snmp/get-iostat-bsd
extend .1.3.6.1.4.1.8888.4.1 cpustat /usr/local/share/snmp/get-cpustat
extend .1.3.6.1.4.1.8888.5.1 onlineusers /usr/local/share/snmp/get-statinfo 5min delivery gdeliveryd OnlineUsers 3
extend .1.3.6.1.4.1.8888.5.2 max-onlineusers /bin/echo 10000
重启snmpd服务
systemctl restart snmpd
再次查看message日志,日志恢复正常
【Linux】snmp在message中报错: /etc/snmp/snmpd.conf: line 311: Error: ERROR: This output format has been de的更多相关文章
- Linux下安装redis报错信息
redis在Linux安装报错 标签: redislinuxcentos 2017-02-24 13:46 384人阅读 评论(0) 收藏 举报 分类: Linux安装工具(2) 版权声明:本文为 ...
- js 在myeclipse中报错
转myeclipse中的js文件报错 整理一下,希望帮到 遇到此问题的哥们.姐们. 方法一:myeclipse9 很特殊 和 myeclipse10 不一样,所以myeclipse9 不能使用该方 ...
- 转帖:解决jquery.js在myeclipse中报错的问题
转载地址:http://tieba.baidu.com/p/1993753087 从官方下载的jquery.js在myeclipse始终用个大大的红叉,看着很不爽,如何解决呢:jquery.js在my ...
- Linux下Oracle11G RAC报错:在安装oracle软件时报file not found一例
Linux下Oracle11G RAC报错:在安装oracle软件时报file notfound一例 1.现象 之前安装一切都比較顺利,安装oracle软件时,进度到30%时报错:file not f ...
- linux下面重启nfs报错:nfs-server.service:main process exited
linux下面重启nfs报错:nfs-server.service:main process exited [root@dhcp-66-83-39 images]# service rpcbind s ...
- linux 下 tomcat 运行报错 Broken pipe
linux 下 tomcat 运行报错 Broken pipe 感谢:http://hi.baidu.com/liupenglover/blog/item/4048c23ff19f1cd67d1e71 ...
- laravel框架中报错 DataTables warning: table id=xxx-table - Cannot reinitialise DataTable.
laravel框架中报错 DataTables warning: table id=xxx-table - Cannot reinitialise DataTable. 分析: initializin ...
- springboot项目中报错:listener does not currently know of SID given in connect descriptor
springboot项目中报错:listener does not currently know of SID given in connect descriptor 出现这个问题的原因是SID写错了 ...
- SNMP学习笔记之Centos7配置SNMP服务
0x00 安装yum源安装SNMP软件包 1.yum源安装SNMP服务: yum -y install net-snmp net-snmp-utils 2.查看SNMP版本号: snmpd -v 0x ...
随机推荐
- 关于大视频video播放的问题以及解决方案(m3u8的播放)
在HTML5里,提供了<video>标签,可以直接播放视频,video的使用很简单: <video width="320" height="240&qu ...
- 女朋友突然问我DNS是个啥....
女朋友突然问我DNS是个啥.... 今天晚上我正在床上躺着刷手机,然后我女朋友突然说她的电脑坏了.说连着WIFi上不了网,让我给她看一下.(这就是有个程序员男朋友的好处) 然后我拿到电脑看了一下发现访 ...
- Object not found! The requested URL was not found on this server.... 报错解决方案
服务器(centos6.5) lnmp 报错如下 Object not found! The requested URL was not found on this server. The link ...
- 浏览器小程序(Browser Applet)闪亮登场
2017 年 1 月 9 日,微信小程序横空出世.随后,支付宝小程序.今日头条小程序.百度智能小程序.360小程序等纷纷推出,自此国内软件功能扩展领域进入到了小程序时代,小程序为丰富其宿主软件的功能和 ...
- 【Harbor学习笔记】-教你快速搭建Docker私有仓库
目录 架构图 Harbor依赖的外部组件 Harbor自有组件 核心组件 安装 1. 下载离线安装包 2. 配置 harbor.cfg (harbor.yml) 3. 启动 Harbor 安装配置问题 ...
- ubuntu 16.04 编译安装 python3.9
下载 python包 wget https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz 解压 tar zxf Python-3.9.1.tgz ...
- chrome 开发者工具使用一例
今天搜到了一篇我想看的文章,某网站上又是弹出注册小窗遮挡,又是一堆漂浮广告,还把字体搞成灰色. 右键审查元素,找到几个div,删掉:原来那个字体的灰色,是个什么script做的遮罩,也删掉. 然后整个 ...
- js下 Day10、尺寸位置属性
一.元素尺寸信息 元素.offsetWidth: 元素的外宽高 width + padding + border 元素.offsetHeight: 元素的外宽高 height + padding + ...
- java_day03
一.this关键字的作用 昨天学了Java private 关键字 ,private关键字主要是为了 保护变量 ,感觉用着好像并不是特别方便 如果需要访问本类当中的成员变量,需要使用的格式: this ...
- Redisearch实现的全文检索功能服务
"检索"是很多产品中无法绕开的一个功能模块,当数据量小的时候可以使用模糊查询等操作凑合一下,但是当面临海量数据和高并发的时候,业界常用 elasticsearch 和 lucene ...