ansible-zabbix-api
ansible-zabbix-api copied to clipboard
Ansible role to synchronize host data with Zabbix API
Found lack of TLS support in zabbix-api library. Here is my diff to add it. Usage example: local_action: module: zabbix_api action: sync_host hostname: "{{ inventory_hostname }}" ... tls_connect: 3 tls_accept:...
When adding zabbix host to zabbix-server agent port is hardcoded to 10050.
TASK: [add-host-to-zabbix | sync host with zabbix] **************************** failed: [XXX.XXX.XXX.XXX] => {"failed": true, "parsed": false} BECOME-SUCCESS-gwzstkkqbghamsvvynimornizrtlmckp Traceback (most recent call last): File "/home/user/.ansible/tmp/ansible-tmp-1434540025.65-71459539167281/zabbix-api", line 2217, in main() File "/home/user/.ansible/tmp/ansible-tmp-1434540025.65-71459539167281/zabbix-api", line...
We have different playbooks that match up with different templates in Zabbix. It would be really cool if it could be configured to not remove templates for servers that are...
Hi :)
I've find an issue and fixed it. The problem raises when running sync_host against already hosts, which already exists. `failed: [111.11.11.11] => {"failed": true, "parsed": false} Traceback (most recent call...