Zabbix is a CS structure monitoring system, support PING,SNMP and many other monitoring, but most of the monitoring tasks require the support of the client agentd to use. The server side listens on port 10051, and the client listens on port 10050.
1. Mounting Media
Zabbix Client
Http://www.zabbix.com/downloads/2.0.6/zabbix_agents_2.0.6.win.zip
Environment and constraints
Operating system: Windows 2003
2. Installation process
1) Unzip the Zabbix folder and place it in C \
2) Create a new Zabbix_agent.log file under C:\zabbix\
3) Configure the Zabbix_agentd.win.conf file (located in C:\zabbix\conf\), where you need to modify:
Logfile= C:\zabbix\zabbix_agent.log
server=x.x.x.x
hostname=x.x.x.x
Note:
Lserver is the IP address of the Zabbix server
Llogfile is the location of the Zabbix_agentd.log file for logging events, where Zabbix_agentd.log fill in the location of your new log file
Lhostname needs to match the host name populated by the server-side configuration host, otherwise the "host{hostname}not found" error will be reported in the log
4) Open the CMD command line and note the file path execution:
C:\zabbix\bin\win32\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-i
C:\zabbix\bin\win32\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-s
5) in "Run" input "services.msc", find "ZABBIX AGENT" inside, and start the service. To the Windows System Services list to see the status of zabbixagent, under normal circumstances will see zabbixagent already exist in the system service, and is automatically started, install agent and register the service, see Figure 1.
Figure 1:zbbix Agent Service
This completes the installation and configuration of the Zabbix Windows agent.
6) Configuration commands
Lc:\zabbix\bin\win32\zabbix_agentd-c C:\zabbix\conf\zabbix_agentd.win.conf-i
-C: Specify all configuration file locations
-I: Installing the Client
-S: Start the client
-X: Stop the Client
-D: Uninstalling the Client
7) Confirm the zabbix/conf/zabbix_agentd.win.conf file about the network card parameter setting
Obtain the NIC parameter list on the client:
TYPEPERF-QX | Find "Network Interface" | Find "Bytes"
Confirm the following:
# # Option:network
Perfcounter=netin, "\networkinterface (Red Hat VirtIO Ethernet Adapter) \bytes received/sec", 15
Perfcounter=netout, "\network Interface (Red Hat VirtIO Ethernet Adapter) \bytes sent/sec", 15
Perfcounter=nettotal, "\network Interface (Red Hat VirtIO Ethernet Adapter) \bytes total/sec", 15
Where the "" section is taken from the NIC parameters in, Netin,netout and Nettotal are key when configured in Zabbix.
The last 15 refers to the value time, in units of "seconds"
8) Run the Install and start command
64 guests
C:\zabbix\bin\win64\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-i
C:\zabbix\bin\win64\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-s
32 Guests
C:\zabbix\bin\win32\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-i
C:\zabbix\bin\win32\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-s
Help
C:\zabbix\bin\win32\zabbix_agentd.exe-c C:\zabbix\conf\zabbix_agentd.win.conf-h
4. Other issues and solutions
1) Firewall restrictions, configuration not successful
If the machine has a firewall, please shut down, otherwise it may not be configured successfully, or the port used by the Zabbix to open. Open firewall Port 10050