Created
January 12, 2019 12:14
-
-
Save richlv/35d71a7fc71fe258b1ed1eeee44dcf00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
failed: [target.host] (item=HS Template App App) => {"changed": false, "item": "HS Template App App", "module_stderr": "Shared connection to howl.incert.motive.com closed. | |
", "module_stdout": "Traceback (most recent call last): | |
File \"/tmp/ansible_LjKS35/ansible_module_zabbix_template.py\", line 555, in <module> | |
main() | |
File \"/tmp/ansible_LjKS35/ansible_module_zabbix_template.py\", line 540, in main | |
child_template_ids, macros) | |
File \"/tmp/ansible_LjKS35/ansible_module_zabbix_template.py\", line 270, in add_template | |
'macros': macros}) | |
File \"/usr/lib/python2.7/site-packages/zabbix_api.py\", line 329, in method | |
return self.universal(\"%s.%s\" % (self.data[\"prefix\"], name), opts[0]) | |
File \"/usr/lib/python2.7/site-packages/zabbix_api.py\", line 79, in wrapper | |
return self.do_request(self.json_obj(method, opts))['result'] | |
File \"/usr/lib/python2.7/site-packages/zabbix_api.py\", line 336, in do_request | |
return self.parent.do_request(req) | |
File \"/usr/lib/python2.7/site-packages/zabbix_api.py\", line 287, in do_request | |
raise ZabbixAPIException(msg, jobj['error']['code']) | |
zabbix_api.ZabbixAPIException: (u'Error -32602: Invalid params., Template \"HS Template App App\" cannot be without host group. while sending {\"params\": {\"templates\": null, \"macros\": null, \"host\": \"HS Template App App\", \"groups\": null}, \"jsonrpc\": \"2.0\", \"method\": \"template.create\", \"auth\": \"e3034a2d681979b79499b067c18b30a0\", \"id\": 2}', -32602) | |
", "msg": "MODULE FAILURE", "rc": 1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment