2.3.1 Monitoring the Control Zone and Execution Zone

In order to monitor all hosts and  we recommend a tool called Zabbix.

When Zabbix has been installed and started, Zabbix agents will be running on every host collecting host statistics. The host statistics is reported to a Zabbix Server that will be running in [CZ]. When Zabbix has been started you can monitor the Control Zone and Execution Zone at http://<[CZ] host name or IP address>/zabbix :

Zabbix Monitoring Dashboard


Starting Zabbix

Zabbix has to be started on every host, starting with the [CZ].

To start Zabbix:

  1. Start a command line tool in the [CZ] host and log in as root user.
     

  2. Start the Zabbix server:

    $ service zabbix-server start
  3. Start the Zabbix agent:

    $ service zabbix-agent start
  4. Start a command line tool in one of the other hosts and log in as root user.
     

  5. Start the Zabbix agent:

    $ service zabbix-agent start
  6. Repeat steps 4 and 5 until the Zabbix agent has been started on all hosts.


Stopping Zabbix

Zabbix is stopped in reversed order compared to when starting Zabbix.

To stop Zabbix:

  1. Start a command line tool in one of the hosts, but save the [CZ] for last, and log in as root user.
     

  2. Stop the Zabbix agent:

    $ service zabbix-agent stop
  3. Repeat steps 1 and 2 until the Zabbix agent has been stopped on all hosts except [CZ].
     

  4. Start a command line tool in [CZ] and log in as root user.
     

  5. Stop the Zabbix server:

    $ service zabbix-server stop
  6. Stop the Zabbix agent:

    $ service zabbix-agent stop