To monitor remote servers, we can install Zabbix agent.
Installing Zabbix agent is quite straight forward
Here are my installation steps:
1. create user account for zabbix
# useradd zabbix2. download current stable version zabbix-2.0.8.tar.gz from www.zabbix.com
3. configure and install zabbix agent
# tar -zxpf zabbix-2.0.8.tar.gz4. modify /usr/local/zabbix/etc/zabbix_agentd.conf
# cd zabbix-2.0.8
# ./configure --enable-agent --prefix=/usr/local/zabbix
# make install
In previouse post, we installed zabbix server on 192.168.100.100, so modify the Server parameter
Server=192.168.100.1005. restart zabbix_agentd to reload the new configuration file
now we can monitor this host from zabbix server.
To monitor remote host, all the configuration are done in the Zabbix web interface.
1. open web browser, go to http://zabbix-server/zabbix
2. Configuration -> Hosts -> Create host
Enter the host name, IP address, choose "Linux servers" as the host group.
3. After saving, you will see the host linux-1 is monitored by zabbix now.
4. At the monitoring dashboard, you will see issues are shown in different colors
Reference: https://www.zabbix.com/documentation/2.0/manual/installation/install#from_the_sources
No comments:
Post a Comment