1.安装和配置snmp a. yum install -y net-snmp net-snmp-utils b. chkconfig snmpd on c. chkconfig –list|grep snmpd d. vi /etc/snmp/snmpd.conf 将 view systemview included .1.3.6.1.2.1.1 改为 view systemview included .1.3.6.1.2.1 将 com2sec notConfigUser default
LR通过snmp监控linux下的mysql 在linux底下安装配置snmp: 1.使用系统盘安装rpm包(这种方式最好) 2.在www.net-snmp.org处下载net-snmp安装(安装后有可能找不到snmpd.conf文件) tar xzvf net-snmp-5.4.2.1.tar.gzcd net-snmp-5.4.2.1./configure这里会叫你输入一些信息,其中有一步(好像是第二步)是问要安装什么版本:1.2.3,输入2回车其它都直接回车就可以makemake in
1 要监视一台Linux主机,需要在被监控的主机上安装net-snmp相关软件包,CentOS安装可使用“yum -y install net-snmp”命令:# yum -y install net-snmpSetting up Install ProcessSetting up repositoriesReading repository metadata in from local filesParsing package install argumentsResolving Depend