Hello all. A project I completed for a company I work for has been released on github. It uses terraform, salt, consul, and various other components to build a cluster of riak servers and uses zabbix for monitoring. One of the zabbix components is a python script that uses the zabbix API to pre-configure the zabbix server and set it up for each of client machines to auto-register. I thought I'd throw it out there for other people to learn from, adapt, and use, and for those more experienced than I to critique and tell me what I could have done better. I am -not- much of a python programmer, and I'm sure that'll be obvious once you peruse it.
The zabbix bits are all found under salt/states/common/zabbix* and salt/states/profiles/monitor.
The zabbix bits are all found under salt/states/common/zabbix* and salt/states/profiles/monitor.