CentOS 6
Sponsored Link

Zabbix : Add monitoring target(CentOS)2015/02/05

 
Add Monitoring Target Host. Add a CentOS 6 server as an example on here.
[1] Install Zabbix Agent on the server you'd like to add for monitoring target.
[root@www01 ~]#
yum -y install http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm

[root@www01 ~]#
yum -y install zabbix-agent
[root@www01 ~]#
vi /etc/zabbix/zabbix_agentd.conf
# line 85: specify Zabbix server

Server=
10.0.0.30
# line 126: specify Zabbix server

ServerActive=
10.0.0.30
# line 137: change to the own hostname

Hostname=
www01.srv.world
[root@www01 ~]#
/etc/rc.d/init.d/zabbix-agent start

Starting ZABBIX agent:
[ OK ]

[root@www01 ~]#
chkconfig zabbix-agent on

[2] Login to Zabbix admin site with admin user and move to [Configuration]-[Hosts] tab, and then click "Create Host" button.
[3] Input a hostname for "Hostname" field, input any name you like for "Visible name" field, select a group or add a new group for "Groups" field, input IP address and DNS name for "Agent interfaces" field. For other fields are optional. If it's OK all, move to "Templates" tab.
[4] Click "Select" button.
[5] Select "Template OS Linux" and click "Select" button.
[6] Click "Add" link.
[7] Confirm the template added and click "Add" button.
[8] New monitoring target is added.
[9] After few minutes later, monitoring data is collected like follows.
Matched Content