Install Zabbix agent on Windows
Create Zabbix directory. We can create directory on any location. In my case I choose to create directory on desktop.
Open URL:http://www.zabbix.com/download.php on browser.
Under Zabbix pre-compiled agents heading Click on Download on Windows Platform.
Save the downloaded file to newly create Zabbix directory on Desktop.
Extract Zabbix_agents_2.4.4.win.zip
Enter bin directory and on basic of architecture of your OS enter win32 or win64
Copy all *.exe to Zabbix directory on Desktop.
Enter conf directory and copy zabbix_agentd.win.conf file to Zabbix directory on Desktop and rename it as zabbix_agentd.conf
Open the file and remove all the contents and paste following lines
Server=127.0.0.1,192.168.1.250
ServerActive=192.168.1.250
Remove all unnecessary files as bin,conf directories and even source leaving 3 .exe files and 1 .conf file
Open windows terminal(command) as user Administrator to install zabbix-agentd services
Change directory to Desktop/Zabbix
Execute Following command
zabbix_agentd.exe --install -c zannox_agentd.confAfter Successfully install zabbix-agentd service start with command below
net start "Zabbix Agent"
Install Zabbix agent on Linux
Go to http://www.zabbix.com/download.php
Under Zabbix Packages heading select required Distribution, Version and Architecture and click on Download.
Download the required version of the zabbix-agent.
wget http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-agent-2.4.7-1.el6.x86_64.rpm
Install zabbix-agent with command below
rpm -ivh zabbix-agent-2.4.7-1.el6.x86_64.rpmModify agent file. We need to modify Server, ServerActive and hostname parameters values.
vi /etc/zabbix/zabbix_agentd.confStart Zabbix-agentd with command below
/etc/init.d/zabbix-agent start
0 comments:
Post a Comment