r0bj / ansible-zabbix-api

Ansible role to synchronize host data with Zabbix API
GNU General Public License v2.0
22 stars 10 forks source link

Error when updating host, who already have macro #5

Open andyzasl opened 9 years ago

andyzasl commented 9 years ago

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 581, in main templates, File "/home/user/.ansible/tmp/ansible-tmp-1434540025.65-71459539167281/zabbix-api", line 392, in sync_host self.compare_macros(hostdump, macros_list) File "/home/user/.ansible/tmp/ansible-tmp-1434540025.65-71459539167281/zabbix-api", line 365, in compare_macros if dump_macro['macro'] + dump_macro['value'] not in keyvalues:

r0bj commented 9 years ago

Thanks @andyzasl It seems that there is missing last part of stack trace, could you please provide full version of error message generated?

andyzasl commented 9 years ago

No, this was all trace i've seen :(