Commit graph

28 commits

Author SHA1 Message Date
Julien Recurt
cd1114a2bd Add option to use ZabbixApi via auth basic protection 2016-03-25 19:00:17 +01:00
René Moser
69b7175932 Merge pull request #1084 from ritzk/zabbix_inventory-mode
zabbix_host : add the ability to set inventory_mode #1005
2016-03-19 13:26:31 +01:00
René Moser
6e15dec236 Merge pull request #1853 from tomgoto/zabbix_host_delete_version
change zabbix host.delete() parameter for newer API
2016-03-19 01:24:19 +01:00
René Moser
77552d780f Merge pull request #1692 from m4mnux/devel
Replace deprecated zabbix api method 'exists' to support zabbix 3.0
2016-03-16 22:25:50 +01:00
t.goto
c19a721765 add exit_json
add exit_json code to succesfully exit, when you want to delete the already
deleted host.
Without this, playbook fails with
`Specify at least one group for creating host`
which is not correct message.
2016-03-15 16:19:08 +09:00
t.goto
f46e193718 change host.delete() parameter for newer ZBX api.
As of Zabbix API 2.4, host.delete() will not takes parameter with
`hostid` property but only the array of it.
https://www.zabbix.com/documentation/2.2/manual/api/reference/host/delete

fix #1800
2016-03-15 16:12:56 +09:00
Ritesh Khadgaray
1a29807e96 zabbix_host : add the ability to set inventory_mode 2016-03-14 22:27:44 +05:30
Brian Coca
083383a2c7 Merge pull request #1753 from eikef/issue1616
Fixes #1616, check whether interface-list exits before querying its length
2016-03-03 18:48:45 -05:00
Brian Coca
cb291d3f82 Merge pull request #1618 from plldp/devel
Update zabbix_host.py
2016-03-01 00:15:05 -05:00
Eike Frost
6acc369377 Check whether interface-list exits before querying its length 2016-02-28 20:12:01 +00:00
Eike Frost
47466242a3 Add explicit argument_spec types to avoid misinterpretation and subsequent errors (i.e. getting an int instead of the expected str) 2016-02-28 19:35:17 +00:00
Miguel Martín
278b987017 Replace deprecated zabbix api method 'exists' to support zabbix 3.0 2016-02-19 20:01:08 +01:00
Ronny
7d79dff1d2 Update zabbix_host.py
Use existing proxy when updating a host unless proxy is specified. Before change proxy was always set to none(0) when updating.
2016-02-05 13:33:50 +01:00
Brian Coca
875a055103 corrected choices which was meant to be type 2015-11-15 14:31:34 -08:00
Ritesh Khadgaray
5e103d604a allows user to not update zabbix host config if host is present. 2015-11-09 20:21:28 +05:30
Eike Frost
75e1e9fcda add zabbix proxy support to zabbix_host 2015-06-21 21:59:36 +02:00
Toshio Kuratomi
8b62a45466 Fix docs - don't need quote anymore 2015-05-26 15:40:20 -07:00
Rene Moser
1eb6c37594 zabbix: improve module doc 2015-05-26 15:34:35 +02:00
Rene Moser
9d07fb9618 zabbix: improve arguments and prevent to log password 2015-05-26 15:33:50 +02:00
Rene Moser
c9dfeb07c1 zabbix: remove redundant import of module_utils 2015-05-26 15:28:50 +02:00
Greg DeKoenigsberg
def8ae9c47 Adding author's github id
...though the real author is perhaps a mystery.
2015-05-13 16:13:31 -04:00
Greg DeKoenigsberg
81b696ca97 Adding author's github id 2015-05-13 16:11:01 -04:00
Toshio Kuratomi
e5022ba87b Add python >= 2.6 to documented deps 2015-05-12 08:43:31 -07:00
Brian Coca
39cff86e7b fixed doc issues 2015-03-31 09:37:15 -04:00
Brian Coca
4194d17788 Merge pull request #350 from cove/zabbix_host
remove superfluous defaults for required options from zabbix_host
2015-03-29 17:09:15 -04:00
Brian Coca
510b77ca0e minor documentation fixes 2015-03-29 16:51:30 -04:00
Cove Schneider
7c41002d93 remove superfluous defaults 2015-03-29 13:37:15 -07:00
Cove Schneider
3b54e7b00e add zabbix_host 2015-03-28 00:07:01 -07:00