Skip to content

rerorero/zabbicook-ansible-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is an example to show how to use Zabbicook with Ansible.

You can easily run a Zabbix server with the Docker image.

docker run \
    -d \
    --name zabbix-test-db \
    --env="MARIADB_USER=zabbix" \
    --env="MARIADB_PASS=my_password" \
    monitoringartist/zabbix-db-mariadb

docker run \
    -d \
    --name zabbix-test \
    -p 8080:80 \
    -p 10051:10051 \
    -v /etc/localtime:/etc/localtime:ro \
    --link zabbix-test-db:zabbix.db \
    --env="ZS_DBHost=zabbix.db" \
    --env="ZS_DBUser=zabbix" \
    --env="ZS_DBPassword=my_password" \
    --env="XXL_zapix=true" \
    --env="XXL_grapher=true" \
    monitoringartist/zabbix-xxl:3.2.1

Run the playbook with the Zabbix server running.

pip install ansible
ansible-playbook playbook.yml

About

Zabbicook example with Ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published