One, adding SNMP in Windows
Add public and accept server IP addresses to the service.
Ii. Installing the NET-SNMP software in the Zabbix-server server
1. Modify the configuration file
[Email protected] tools]# vi/etc/snmp/snmpd.conf
# Third, create a view for us to let the group has rights to:# make on least snmpwalk-v 1 localhost-c public system Fast again.# name incl/excl subtree mask (optional) view SystemView included . 1.3.6.1.2.1.1view systemview included 1.3.6.1.2.1.25.1.1view systemview included . 1 #增加这行proc mountd #找到这些配置, remove the note, the following lines are the same proc NTALKD 4proc sendmail 1disk/10000load
#重启服务
[[Email protected] snmp]# service snmpd startstarting snmpd (via Systemctl): [ OK ]
2. Test the client to see if it can connect
#有数据返回, this indicates that the configuration was successful. [[email protected] snmp]# snmpwalk-v 1-c public 192.168.30.141ipv6-mib::ipv6addrpfxlength.13. ' .............? W. '. integer:64 = bitsipv6-mib::ipv6addrpfxlength.15. ' ......... 0.7..\. '. 213 = integer:64 bitsipv6-mib::ipv6addrtype.1. ' ... '. 1 = integer:stateless (1) ipv6-mib::ipv6addrtype.11. '. '.. ' ......... 1...Ue. '. 158 = integer:stateless (1) ipv6-mib::ipv6addrtype.12. ' ......... 141 = integer:stateless (1) ipv6-mib::ipv6addrtype.13. ' ". .... 8.<, ...? W. '. = integer:stateless (1) ipv6-mib::ipv6addrtype.13. ' .............? W. '. = integer:stateless (1) ipv6-mib::ipv6addrtype.15. ' ......... 0.7..\. '. 213 = integer:stateless (1) ipv6-mib::ipv6addranycastflag.1. ' ... '. 1 = integer:false (2) ipv6-mib::ipv6addranycastflag.11. '. '.. ' ......... 1...Ue. '. 158 = Integer:false (2) ipv6-mib::ipv6addranycastflag.12. ' ......... 141 = Integer:false (2) ipv6-mib::ipv6addranycastflag.13. ' ". .... 8.<, ...? W. '. = Integer:false (2) ipv6-mib::ipv6addranycastflag.13. ' .............? W. '. = Integer:false (2) ipv6-mib::ipv6addranycastflag.15. ' ......... 0.7..\. '. 213 = Integer:false (2) ipv6-mib::ipv6addrstatus.1. ' ... '. 1 = integer:preferred (1) ipv6-mib::ipv6addrstatus.11. '. '.. ' ......... 1...Ue. '. 158 = integer:preferred (1) ipv6-mib::ipv6addrstatus.12. ' ......... 141 = integer:inaccessible (4) ipv6-mib::ipv6addrstatus.13. ' ". .... 8.<, ...? W. '. = integer:preferred (1) ipv6-mib::ipv6addrstatus.13. ' .............? W. '. = integer:preferred (1) ipv6-mib::ipv6addrstatus.15. ' ......... 0.7..\. '. 213 = integer:inaccessible (4) ipv6-mib::ipv6routenumber.0 = gauge32:10ipv6-mib::ipv6discardedroutes.0 = counter32:0
3. Create a host in Zabbix-server
Add a template, remember to click Add, then click Update
Waiting to get data
View the monitor chart
zabbix-3.2.6 SNMP mode to monitor windows