Python script which sync Zabbix IT Services with Cachet
This is python script which provide synchronisation between Zabbix IT Services and Cachet
The idea of Zabbix-Cachet is providing the easiest way to export Zabbix terms to Cachet. With this script you can maintain Cachet though Zabbix.
Zabbix-Cachet reads pre-configured Zabbix IT Services and automatically creates Cachet components. After that Zabbix-Cachet periodically checks Zabbix triggers (that linked to you IT Services) and manipulate with Cachet incidents and Component statuses based on triggers.
Zabbix-Cachet communicate with Zabbix and Cachet via API interface. To make it works you need a zabbix user with sufficient permissions to read triggers, items of services that is exported to Cachet and Cachet`s API key.
root_service
for zabbix-cachet script.Here are version that was successfully tested:
/etc/zabbix-cachet.yml
file based config-example.yml
.docker run --name zabbix-cachet -v /etc/zabbix-cachet.yml:/config.yml qk4l/zabbix-cachet
config-example.yml
to config.yml
and fill a file with your settings.requirements.txt
zabbix-cachet.py
add-apt-repository ppa:reg-tem4uk/zabbix-cachet
apt-get update
apt-get install zabbix-cachet
nano /etc/zabbix-cachet.yml
systemctl enable zabbix-cachet && systemctl restart zabbix-cachet
Settings are storing in config.yml
file which should be placed in script's working directory.
If you want to use another path for config.yml
use CONFIG_FILE
environment variable.