1. Login to Zabbix with admin, http://112.121.148.102/zabbix
2. Go to Configuration | Hosts
3. Click Create Host
4. Set Name, IP, Groups and add relative templates, then save it.
By default, zabbix windows template did not include network interface monitor, we need to add internet monitor by ourselves manually, Following is the steps to add internet monitor
1. check and have a look the monitor items you can add
run cmd.exe, type in typeperf -qx > c:\perfcounters.txt
open perfcounters.txt, you can get all monitor items you can add
the other way, click Start | Administrative Tools | Performance Monitor | Performance | Monitoring Tools | Performance Monitor, (following take internet as sample)
Click Performance Monitor | add, select Network Interface and Instances of selected object, Click add, then Click OK.
Select and right click, select Properties, under Data label you can get the monitor items like following size:
\Network Interface(Broadcom BCM5716C NetXtreme II GigE [NDIS VBD Client] _36)\Bytes Sent/sec
2. Add this monitor item to zabbix_agentd.win.conf of the Windows server you want to monitor:
PerfCounter = NetOut,"\Network Interface(Broadcom BCM5716C NetXtreme II GigE [NDIS VBD Client] _36)\Bytes Sent/sec",60
3. Test whether can get data from agent server and zabbix server server,
test at windows agent server
run cmd.exe , and type in
C:\>zabbix\bin\win64\zabbix_agentd.exe -c "c:\zabbix\conf\zabbix_agentd.win.conf
" -t NetIn
" -t NetIn
test at zabbix server server
root@zabbix-server:/etc/zabbix# /usr/bin/zabbix_get -s 203.117.155.190 -p 10050 -k NetIn
757.566205
root@zabbix-server:/etc/zabbix#
757.566205
root@zabbix-server:/etc/zabbix#
4. Add monitor item to windows template;
Click Configuration | Host groups | templates, go to windows_template
Click Items, then click Create Item button, type in description, type, key, etc. then save it.
5. Go to Windows server, active this item.





No comments:
Post a Comment