License | Versioning | Build |
---|---|---|
Developer box for Zabbix agent.
Clone this repository and cd
:
$ git clone --recursive https://github.com/extra2000/zabbix-agent-box.git
$ cd zabbix-agent-box
Copy example pillar file for Zabbix agent. Optionally you may want to edit the values in the pillar file:
$ cp -v salt/roots/pillar/zabbix_agent.sls.example salt/roots/pillar/zabbix_agent.sls
Copy vagrant file from vagrant/examples/
and then create the vagrant box (you can change to --provider=libvirt
if you want to use Libvirt provider):
$ cp -v vagrant/examples/Vagrantfile.zabbix-agent-box.fedora-33.x86_64.example vagrant/Vagrantfile.zabbix-agent-box
$ vagrant up --provider=virtualbox
Provision the vagrant box:
$ vagrant ssh zabbix-agent-box -- sudo salt-call state.highstate
Deploy Zabbix Server, Web, Agent, and Postgres containers:
$ vagrant ssh zabbix-agent-box -- sudo salt-call state.sls zabbix_agent