在server端口执行如下命令 [root@localhost ~]# snmpwalk -v2c -c public 客户端ip ifIF-MIB::ifTable = No Such Object available on this agent at this OID 修改access  notConfigGroup ""      any       noauth    exact  systemviewnone none access  notConfigGroup "…
推荐阅读:零基础学习Nagios http://www.51ou.com/browse/nagios/52001.htmlNagios安装配置教程 http://www.51ou.com/browse/nagios/51988.htmllinux运维  http://www.51ou.com/browse/xitongguanli/52092.htmlzabbix安装教程 http://www.51ou.com/browse/linuxjk/33039.htmlnagios教程http://ww…
on debian 7&8 apt-get install snmp snmpd apt-get install cacti cacti-spine apt-get install moreutils  /etc/snmp/snmpd.conf 中 打开   rocommunity public  localhost service snmpd restart cacti 中选 SNMP Version 2 ============================================…
前言:cacti监控mysql服务器的大概50张graphs都弄出来了,也出图了,当中遇到一些问题,印象比較深刻的记录例如以下: (一):加入io监控 点击Create Graphs for this Host 进去创建IO的图,结果报错 This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode …
摘要:一. 装置yum源: 以网易yum源为例 1. 下载repo文件 下载地点:http://mirrors.163.com/.help/CentOS6-Base-163.repo 2.备份并调换体系的repo文件 #cd/etc/yum.repos.d/ #mvCentOS-Base.repoCentOS-Base.repo.bak #mv/root/Ce] http://www.ithao123.cn/content-2704700.html 一. 安装yum源: 以网易yum源为例 1.…
net-snmp的MIBs扩展 net-snmp的MIBs扩展 1 编译安装net-snmp 2 编写MIB文件 MIB文件描述 一个简单的示例 3 使自定义的MIB文件生效 4 实现agent代理程序 使用mib2c程序来生成.c和.h文件. 只读节点readObject.c和readObject.h的修改. 编译一下 运行测试一下 读写节点writeObject.c的修改 编译运行测试一下 MIB的相关概念 在SNMP网络管理中,管理信息库MIB(Management Information…
如果本地测试ok,远程测试出现如下报错: No Such Object available on this agent at this OID或No more variables left in this MIB View (It is past the end of the MIB tree) 修改snmpd.conf(/etc/snmp/snmpd.conf),并重启snmpd(service snmpd restart) access   notConfigGroup ""   …
客户端使用命令工具:snmpwalk 服务端开启服务 snmp service.下载安装 net-snmp. 最近做了一些工作,记性较差感觉还是记下来比较好,毕竟网上能查到的有用的资料太少了. 自定义OID (示例获取文件内容) 1.确认SNMP OID是否存在 首先我们需要找一个oid是否被系统占用,比如.1.3.6.1.4.1.2021.5000 # snmpwalk -v 2c -c public hostaddr .1.3.6.1.4.1.2021.5000 UCD-SNMP-MIB::…
点击返回:自学Zabbix之路 点击返回:自学Zabbix4.0之路 点击返回:自学zabbix集锦 自学Zabbix11.6 Zabbix SNMP自定义OID 为什么要自定义OID? 前面已经讲过zabbix如何使用snmp监控服务器,但是他有一个很明显的局限性:只能监控定义好的OID项目,假如我们想知道nginx进程是否在运行?在没有zabbix agent的情况下,我们该怎么做呢?接下来就用这个实力来讲解自定义OID 确认SNMP OID是否存在? 首先我们需要找一个oid是否被系统暂用…
一 建立RRD数据库(.rrd文件) $ rrdtool RRDtool Copyright - by Tobias Oetiker <tobi@oetiker.ch> Compiled Mar :: Usage: rrdtool [options] command command_options Valid commands: create, update, updatev, graph, graphv, dump, restore, last, lastupdate, first, inf…