Skip to content

Zabbix Build and Config

Sean Chen edited this page Dec 2, 2012 · 3 revisions

Table of Contents

Buildout Config File

The buildout config file is simple as following. (Markdown syntax using 4 whitespaces for code block).

    parts=
        zabbix-agentd-bin
        zabbix-server-bin
    
    [zabbix-server-conf-mysql]
    
    [zabbix-agentd-conf]
    server-ip = 127.0.0.1
    hostname = agentd.hostname

What's built?

How to Start

The zabbix-agentd-bin and zabbix-server-bin parts will generate shell scrips in bin folder:

    bin
      zabbix_server
      zabbix_agentd

Both parts are defined in file zabbix-conf.cfg. The bash name could be customized by using the variable command-name in each part. The defaul name are zabbix_server and zabbix_agentd.

How to Stop

To stop Zabbix server and agent, we need using the command killall.

    $ killall -9 zabbix_agentd
    $ killall -9 zabbix_server