How to Configure LINUX Server in Zabbix

 

 

To configure Zabbix Agent, we require below two tools:

1.    Putty ( For login the Linux Machine)

2.    WinSCP ( For coping file from Desktop to Linux Machine)

3.    ICPM, 10050, 10051 should be allowed from Source IP(Proxy IP) to Destination IP(Client IP)

 

 

Step 1:-  Open putty

 

Step 2:- Login with credentials

 

 

 

Step 3:-  give sudo -i command to login root user.

Ex:   # sudo -i

 

 

Step 3:-  give sudo -i command to login root user.

Ex:   # sudo -i

 

 

Step 4:- Check the OS & architecture with below command.

Ex:- # cat /etc/issue

OR

       # arch

 

Step 5:-  Check Ping & Telnet

 

 

Step 6:-  Run below two command to directly install zabbix rpm packages from internet.

Ex:-

# rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-2.4.6-1.el6.x86_64.rpm

 

# rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-agent-2.4.6-1.el6.x86_64.rpm

 

Step 7:- Now run below command to install zabbix agent through “yum”

# yum install zabbix-agent –y

 

Step 8:-  Below command allows 10050  in iptable.

Ex:-

# iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 10050 -j ACCEPT

 

Step 9:-  Below command saves the rule which you have executed in “step-7”

# service iptables save

 

Step 10:- Now open zabbix configuration file and edit below three lines.

Ex:-

# vi /etc/zabbix/zabbix_agentd.conf

Server=x.x.x.x                                           àGive Proxy Server IP Address

ServerActive=x.x.x.x                               àGive Proxy Server IP Address

Hostname=hostname_x.x.x.x               àGive Hostname which we need to at frontend as well.

:wq!

NOTE:- under “Server” & “ServerActive” we have to give zabbix proxy IP and remember whatever you give the host name , same hostname have to give in the front end in zabbix.

 

Step 11:-  Now restart the zabbix agent.

Ex:-

# /etc/init.d/zabbix-agent restart

 

 

NOW WE HAVE FINISHED ZABBIX AGENT INSTALLAION AT CLIENT SERVER.

Now we have to add in Zabbix front end.

HOW TO ADD IN ZABBIX FRONTEND:

Login zabbix url.

Click on “configuration” à the click on “hostsà click on “create host

 

 

Under “Host” & “Template” we have to add details like below screen shot and the click on “update” to take effect in frontend.

 

 

Now check in zabbix front-end

ENJOYYY!!!!!

 

PLEASE WRITE A FEEDBACK OR SUGGESTIONS TO BELOW EMAIL ID’S.

prashantkumar.chawan@gmail.com

info@mytara.co.in