New in version 2.5.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
description | Description of the proxy.. | |
http_login_password (added in 2.1) | Basic Auth password | |
http_login_user (added in 2.1) | Basic Auth login | |
interface | Default: {} | Dictionary with params for the interface when proxy is in passive mode Available values are: dns, ip, main, port, type and useip. Please review the interface documentation for more information on the supported properties |
login_password required | Zabbix user password. | |
login_user required | Zabbix user name. | |
proxy_name required | Name of the proxy in Zabbix. | |
server_url required | URL of Zabbix server, with protocol (http or https). url is an alias for server_url .aliases: url | |
state |
| State of the proxy. On present , it will create if proxy does not exist or update the proxy if the associated data is different.On absent will remove a proxy if it exists. |
status |
| Type of proxy. (4 - active, 5 - passive) |
timeout | Default: 10 | The timeout of API request (seconds). |
tls_accept |
| Connections from proxy. |
tls_connect |
| Connections to proxy. |
tls_issuer | Certificate issuer. | |
tls_psk | The preshared key, at least 32 hex digits. Required if either tls_connect or tls_accept has PSK enabled. | |
tls_psk_identity | PSK identity. Required if either tls_connect or tls_accept has PSK enabled. | |
tls_subject | Certificate subject. | |
validate_certs bool (added in 2.5) |
| If set to False, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
- name: Create a new proxy or update an existing proxies info local_action: module: zabbix_proxy server_url: http://monitor.example.com login_user: username login_password: password proxy_name: ExampleProxy description: ExampleProxy status: active state: present interface: type: 0 main: 1 useip: 1 ip: 10.xx.xx.xx dns: "" port: 10050
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/zabbix_proxy_module.html