一、安装snmp服务端,配置,启动(linux系统)
yum install net-snmp -y
vim /etc/snmp/snmpd.conf
com2sec notConfigUser default zwb
view systemview included .1
systemctl start snmpd
systemctl enable snmpd
二、zabbix-server安装snmp客户端,测试取值
yum install net-snmp-utils.x86_64 -y
snmpwalk -v 2c -c zwb 10.0.0.13 .1.3.6.1.4.1.2021.11.11.0
snmpwalk -v 2c -c zwb 10.0.0.13
三、web界面添加snmp监控
image.png image.png image.png一、安装snmp服务端,配置,启动(lwin10系统)
image.png image.png image.png image.png二、zabbix-server安装snmp客户端,测试取值
[root@zabbix-server templates]# snmpwalk -v 2c -c zwb 10.0.0.1 .1.3.6.1
SNMPv2-MIB::sysDescr.0 = STRING: Hardware: Intel64 Family 6 Model 142 Stepping 10 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 17134 Multiprocessor Free)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.311.1.1.3.1.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (425307) 1:10:53.07
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: admin-PC
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 76
IF-MIB::ifNumber.0 = INTEGER: 47
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
......
三、web界面添加snmp监控
image.png image.png image.png image.png
网友评论