Commit Graph

29 Commits (cd2dbed79c0815d1303d57006e0858e780897207)

Author SHA1 Message Date
Lukáš Lalinský 3a90f78cca monitoring/zabbix_host: Fix (no) proxy handling
When updating a host with no proxy explicitly set,
the host was always reported as changed, because it was
comparing `"0"` and `None`.
9 years ago
Julien Recurt cd1114a2bd Add option to use ZabbixApi via auth basic protection 9 years ago
René Moser 69b7175932 Merge pull request #1084 from ritzk/zabbix_inventory-mode
zabbix_host : add the ability to set inventory_mode #1005
9 years ago
René Moser 6e15dec236 Merge pull request #1853 from tomgoto/zabbix_host_delete_version
change zabbix host.delete() parameter for newer API
9 years ago
René Moser 77552d780f Merge pull request #1692 from m4mnux/devel
Replace deprecated zabbix api method 'exists' to support zabbix 3.0
9 years ago
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.
9 years ago
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
9 years ago
Ritesh Khadgaray 1a29807e96 zabbix_host : add the ability to set inventory_mode 9 years ago
Brian Coca 083383a2c7 Merge pull request #1753 from eikef/issue1616
Fixes #1616, check whether interface-list exits before querying its length
9 years ago
Brian Coca cb291d3f82 Merge pull request #1618 from plldp/devel
Update zabbix_host.py
9 years ago
Eike Frost 6acc369377 Check whether interface-list exits before querying its length 9 years ago
Eike Frost 47466242a3 Add explicit argument_spec types to avoid misinterpretation and subsequent errors (i.e. getting an int instead of the expected str) 9 years ago
Miguel Martín 278b987017 Replace deprecated zabbix api method 'exists' to support zabbix 3.0 9 years ago
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.
9 years ago
Brian Coca 875a055103 corrected choices which was meant to be type 9 years ago
Ritesh Khadgaray 5e103d604a allows user to not update zabbix host config if host is present. 9 years ago
Eike Frost 75e1e9fcda add zabbix proxy support to zabbix_host 10 years ago
Toshio Kuratomi 8b62a45466 Fix docs - don't need quote anymore 10 years ago
Rene Moser 1eb6c37594 zabbix: improve module doc 10 years ago
Rene Moser 9d07fb9618 zabbix: improve arguments and prevent to log password 10 years ago
Rene Moser c9dfeb07c1 zabbix: remove redundant import of module_utils 10 years ago
Greg DeKoenigsberg def8ae9c47 Adding author's github id
...though the real author is perhaps a mystery.
10 years ago
Greg DeKoenigsberg 81b696ca97 Adding author's github id 10 years ago
Toshio Kuratomi e5022ba87b Add python >= 2.6 to documented deps 10 years ago
Brian Coca 39cff86e7b fixed doc issues 10 years ago
Brian Coca 4194d17788 Merge pull request #350 from cove/zabbix_host
remove superfluous defaults for required options from zabbix_host
10 years ago
Brian Coca 510b77ca0e minor documentation fixes 10 years ago
Cove Schneider 7c41002d93 remove superfluous defaults 10 years ago
Cove Schneider 3b54e7b00e add zabbix_host 10 years ago