James Cassell
bc4ef99533
standardize TLS connection properties ( #54315 )
...
* openstack: standardize tls params
* tower: tower_verify_ssl->validate_certs
* docker: use standard tls config params
- cacert_path -> ca_cert
- cert_path -> client_cert
- key_path -> client_key
- tls_verify -> validate_certs
* k8s: standardize tls connection params
- verify_ssl -> validate_certs
- ssl_ca_cert -> ca_cert
- cert_file -> client_cert
- key_file -> client_key
* ingate: verify_ssl -> validate_certs
* manageiq: standardize tls params
- verify_ssl -> validate_certs
- ca_bundle_path -> ca_cert
* mysql: standardize tls params
- ssl_ca -> ca_cert
- ssl_cert -> client_cert
- ssl_key -> client_key
* nios: ssl_verify -> validate_certs
* postgresql: ssl_rootcert -> ca_cert
* rabbitmq: standardize tls params
- cacert -> ca_cert
- cert -> client_cert
- key -> client_key
* rackspace: verify_ssl -> validate_certs
* vca: verify_certs -> validate_certs
* kubevirt_cdi_upload: upload_host_verify_ssl -> upload_host_validate_certs
* lxd: standardize tls params
- key_file -> client_key
- cert_file -> client_cert
* get_certificate: ca_certs -> ca_cert
* get_certificate.py: clarify one or more certs in a file
Co-Authored-By: jamescassell <code@james.cassell.me>
* zabbix: tls_issuer -> ca_cert
* bigip_device_auth_ldap: standardize tls params
- ssl_check_peer -> validate_certs
- ssl_client_cert -> client_cert
- ssl_client_key -> client_key
- ssl_ca_cert -> ca_cert
* vdirect: vdirect_validate_certs -> validate_certs
* mqtt: standardize tls params
- ca_certs -> ca_cert
- certfile -> client_cert
- keyfile -> client_key
* pulp_repo: standardize tls params
remove `importer_ssl` prefix
* rhn_register: sslcacert -> ca_cert
* yum_repository: standardize tls params
The fix for yum_repository is not straightforward since this module is
only a thin wrapper for the underlying commands and config. In this
case, we add the new values as aliases, keeping the old as primary,
only due to the internal structure of the module.
Aliases added:
- sslcacert -> ca_cert
- sslclientcert -> client_cert
- sslclientkey -> client_key
- sslverify -> validate_certs
* gitlab_hook: enable_ssl_verification -> hook_validate_certs
* Adjust arguments for docker_swarm inventory plugin.
* foreman callback: standardize tls params
- ssl_cert -> client_cert
- ssl_key -> client_key
* grafana_annotations: validate_grafana_certs -> validate_certs
* nrdp callback: validate_nrdp_certs -> validate_certs
* kubectl connection: standardize tls params
- kubectl_cert_file -> client_cert
- kubectl_key_file -> client_key
- kubectl_ssl_ca_cert -> ca_cert
- kubectl_verify_ssl -> validate_certs
* oc connection: standardize tls params
- oc_cert_file -> client_cert
- oc_key_file -> client_key
- oc_ssl_ca_cert -> ca_cert
- oc_verify_ssl -> validate_certs
* psrp connection: cert_trust_path -> ca_cert
TODO: cert_validation -> validate_certs (multi-valued vs bool)
* k8s inventory: standardize tls params
- cert_file -> client_cert
- key_file -> client_key
- ca_cert -> ca_cert
- verify_ssl -> validate_certs
* openshift inventory: standardize tls params
- cert_file -> client_cert
- key_file -> client_key
- ca_cert -> ca_cert
- verify_ssl -> validate_certs
* tower inventory: verify_ssl -> validate_certs
* hashi_vault lookup: cacert -> ca_cert
* k8s lookup: standardize tls params
- cert_file -> client_cert
- key_file -> client_key
- ca_cert -> ca_cert
- verify_ssl -> validate_certs
* laps_passord lookup: cacert_file -> ca_cert
* changelog for TLS parameter standardization
2019-03-28 00:19:28 -05:00
sky_joker
d0efe3d9fe
Added host inventory option to zabbix_host_facts module ( #54341 )
2019-03-26 02:31:42 -04:00
Richlv
ab47142fa0
minor typo fix in zabbix_action ( #54229 )
...
Changed 'operaration' to 'operation'
2019-03-22 17:49:43 +05:30
Ruben Tsirunyan
0df453bb5d
Zabbix action: Correcting 'notify_all_involved' for acknowledge operations ( #53197 )
2019-03-03 04:23:22 -05:00
Ruben Tsirunyan
befd5b2ff7
Zabbix action: Adding operation condition ( #53173 )
2019-03-01 11:14:06 -05:00
Ruben Tsirunyan
832a669104
[zabbix_action] Refactoring the argument spec ( #53106 )
...
* Refactoring the argument spec
* Adding subarguments for recovery and acknowledge operations
* Correcting the linting errors
2019-03-01 07:38:45 -05:00
Ruben Tsirunyan
1b338f917f
Fixing mediatype default value ( #53114 )
...
* Fixing mediatype default value
* Updating the documentation of media_type
2019-03-01 07:25:56 -05:00
Michael Miko
00efa26cdb
Do not delete duplicate host when fetching Zabbix Hosts ( #53160 )
2019-03-01 09:51:39 +00:00
Ruben Tsirunyan
13fa284946
zabbix_action: Adding an option for pausing operations while in maintenance ( #52500 )
...
* zabbix_action: Adding an option for pausing operations while in maintenance
* zabbix_action: Correcting linting errors
2019-02-19 03:44:00 -05:00
Pablo Piaggio
d1d4f4bd27
Add support for macro contexts that have colons ( #51853 )
...
Currently when used with macro contexts that have a colon inside,
macro_name gets truncated. A common case is contexts that represent a
Windows drive. Examples:
- 'C_DRIVE_THRESHOLD: "C:"'
- 'C_DRIVE_THRESHOLD: "D:"'
This happens because line 189 assumes there are only one colon in
macro_name, and thus two substrings to join.
To solve this, it is necessary considering that macro_name could have
more that one colon. After the split, the first element is the proper
Zabbix macro name. Then, the solution is joining all the remaining
substrings after that.
This is backwards compatible in the case macro_name have only one colon.
2019-02-18 17:51:35 +00:00
Richlv
81d688a7c7
clarify how users are specified ( #52260 )
...
##### SUMMARY
Clarify that usernames - which Zabbix API documentation calls "aliases" - are to be specified for recipients
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
2019-02-16 03:07:29 -05:00
Richlv
901ae2333e
acknowledge operations are update operations now ( #51304 )
...
Acknowledge operations are update operations since Zabbix 4.0
+label: docsite_pr
2019-01-29 09:51:18 -05:00
Richlv
d2eb7a6cc1
Document trigger_severity values ( #51331 )
...
* Document the valid values for trigger_severity.
* Minor typo fix.
+label: docsite_pr
2019-01-26 07:17:39 -05:00
Dusan Matejka
2133f0821a
zabbix_template: Fixed interactions between options and data within JSON object ( #51222 )
2019-01-26 13:15:32 +01:00
Richlv
6345ea2925
Fix example, clarify "macro_name" syntax ( #51129 )
...
* Fix the macro name in example to use allowed characters.
* Clarify on the syntax for the "macro_name" parameter.
2019-01-24 14:30:12 -06:00
Ruben Tsirunyan
18ee119a40
Adding 'eval_type' option for zabbix_action module ( #51266 )
2019-01-24 09:13:01 -05:00
Richlv
95f97bb8d6
Update zabbix_action.py ( #50548 )
...
* Update zabbix_action.py
Clarify when in/not in operators can be used.
2019-01-09 09:32:39 -06:00
mindrb
260285a73f
zabbix_host_facts: get list of templates ( #50007 )
...
Get list of templates among other items. It is useful because later one can edit this list using zabbix_host module.
2019-01-09 05:12:32 -05:00
René Moser
33d888210b
zabbix: fix author's github handle ( #50700 )
2019-01-09 10:45:31 +01:00
Richlv
c7f3829ad4
Update zabbix_action.py ( #50582 )
...
* Document "host_groups", "templates" and "inventory" operation parameters.
* Fix a couple of typos.
Fixes #50581
+label: docsite_pr
2019-01-08 10:11:48 -05:00
Richlv
9093ca1f3b
Improve style and fix typos in the Zabbix module titles and descriptions ( #50575 )
2019-01-06 01:33:54 +01:00
Richlv
ff4af614e1
Update zabbix_action.py ( #50490 )
...
* Add trailing dots for consistency.
* Document how the current host can be specified for "run_on_hosts".
+label: docsite_pr
2019-01-03 10:15:21 -05:00
Ruben Tsirunyan
09ba1f38f1
Zabbix Action: Idempotency fix ( #50297 )
2018-12-26 01:59:45 -05:00
Richlv
47e72063a3
Update zabbix_action.py ( #50149 )
...
Mostly typo/grammar fixes. "Zabbix Server" was changed to just "Zabbix", as it could be slightly confusing - some people might interpret this referencing the server process, although API matters. "capital-case" was changed, as it usually is one of "capital" or "upper-case".
+label: docsite_pr
2018-12-19 14:09:16 -05:00
Dag Wieers
05c6ff79f9
Convert to reduced list of known types ( #50010 )
2018-12-19 07:25:30 +10:00
Toshio Kuratomi
175f3b51e5
Ensure that current uses of BaseException are required
...
* In some cases, it appears that Exception should have been used instead
as there's no need to catch sys.exit KeyboardInterrupt and similar.
* In a few cases, it appears that BaseException is used because
a library we depend on calls sys.exit() contrary to good coding
design. Comment those so that we know that those have been audited
and found to be correct and change to use (Exception, SystemExit)
instead.
2018-12-16 15:03:19 -08:00
Ruben Tsirunyan
d62492e656
zabbix: New zabbix_action module ( #49189 )
2018-12-02 10:04:45 +01:00
Dusan Matejka
a9aa1053a8
zabbix_template: fixed idempotency issues ( #49188 )
2018-11-29 20:38:32 +01:00
Dusan Matejka
7190c73d50
zabbix_hostmacro: Fixed support for LLD type user macros and added missing validate_certs attribute ( #48730 )
2018-11-29 09:15:13 +01:00
AlexZolotarenko
91b7bee3da
-'templateLinkage' set to match Zabbix web interface defaults ( #45229 )
2018-11-27 09:17:05 -05:00
John R Barker
75407d3e43
Validate DOCUMENTATION.author ( #48993 )
...
* Validate DOCUMENTATION.author
Ensure that author line includes a GitHub account
2018-11-21 17:29:29 +00:00
John R Barker
8f41270a01
Bulk fix DOCUMENTATION.author (Part 3) ( #48990 )
2018-11-21 15:10:41 +00:00
John R Barker
97e2fa4953
Bulk module author 2 ( #48955 )
...
* Bulk fix DOCUMENTATION.author (Part 2)
2018-11-21 10:32:42 +00:00
John R Barker
3fcc564bbb
Bulk fix DOCUMENTATION.author (Part 1) ( #48934 )
...
* Bulk fix DOCUMENTATION.author
2018-11-20 19:31:35 +00:00
Anton Alekseyev
7eebec59b3
zabbix_map: Add module to create Zabbix maps based on data written in DOT language ( #23026 )
...
* Add zabbix_map module
* Fix PEP8 complainments
* Fix dict comprehension incompatible with python 2.6
* Support Zabbix 3.4 API changes
* Fix documentation
* Minor fixes
* Move zabbix_map to zabbix namespace
* Fix compatibility issue with Zabbix >= 3.4
* Support maps and triggers as map elements
2018-11-18 15:57:51 +01:00
Abhijeet Kasurde
3568dc512a
Misc typo fixes ( #47699 )
...
fixes requried to required
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-10-28 12:35:30 +05:30
Matthew Hellmer
2b52eadebb
zabbix_proxy: Fixed a typo ( #47698 )
...
changed requried to required
2018-10-27 11:07:24 +05:30
Yixin Xu
5a35907b71
zabbix_host: fix link template error ( #46521 )
...
* add host interface before link template
2018-10-05 10:40:30 -04:00
Dag Wieers
b6b36276a4
Clean up BOTMETA.yml ( #44574 )
...
This PR includes:
- Removal of maintainers that are listed as author in the module
- Removal of entries that do not extend the original author list
- Move ignored-statement to namespace/directory (where useful)
- In some cases, fix the authors-list or add missing github id
We end up with a list of exceptions/additions and a large set of
namespace/directory maintainers or team of maintainers.
Some entries could be further improved by discussing with some
maintainers.
2018-08-24 19:43:35 -04:00
Joren Vrancken
b954917761
Surround top-level function and class definitions with two blank lines.
2018-07-31 12:06:56 -07:00
Adrián Matellanes
c62d9a023a
Fix zabbix-template module error version comparison ( #39199 )
...
* Fix zabbix-template module error version comparison
* Fix zabbix-template module error version comparison
2018-07-27 00:18:02 -04:00
Vladimir Dobriakov
92ab566527
Make example work: "Import Zabbix Temlate" ( #40905 )
...
<!--- Small typo, but it was hard to find, why the ansible module execution failed -->
+label: docsite_pr
2018-07-27 00:12:20 -04:00
Dusan Matejka
d43b2b54d5
Fixed incompatible unicode and int comparison in zabbix_host module when using proxy option ( #43097 )
2018-07-22 07:19:21 -04:00
Paul
b21673b321
Update zabbix_screen.py limit screen columns ( #41487 )
...
* Update zabbix_screen.py limit screen columns
Add option graphs_in_row that allows to limit the count of columns on zabbix screen. When graphs_in_row columns is filled, begins to draw next row. If there is many hosts with many graphs each, draws all graphs for one host in an column each below each other
* fix remove whitespaces before and after brackets
Fixing ansible-test sanity --test pep8 errors
moved
* fix documentation parsing error
Fixing error: missing documentation (or could not parse documentation): expected string or buffer
2018-06-21 07:36:18 -04:00
Dusan Matejka
6ef2ffe310
Zabbix facts ( #41084 )
...
* added validate_certs option to zabbix_*_facts modules and fixed documentation to use doc fragment
* removed code duplication from zabbix_host_facts module
2018-06-04 16:41:09 -04:00
Michael Miko
1645db3cee
New module: Add monitoring/zabbix_host_facts module ( #39653 )
2018-05-29 07:32:26 +02:00
Michael Miko
a363406d27
New zabbix_group_facts module ( #39654 )
2018-05-15 20:05:27 +02:00
John R Barker
7c4b91844d
More validate module fixes ( #39097 )
...
* Fix type bool DOCUMENTATION issues
2018-04-24 18:05:50 +01:00
Selivanov Pavel
b47c04a70e
Fixes #38985 ( #39070 )
...
Changing interface dictionary while iterating over interface.keys() produced "RuntimeError: dictionary changed size during iteration"
2018-04-22 04:03:31 -04:00
Gaudenz Steinlin
0ea7329553
Fix zabbix_host for Zabbix Server versions < 3.0 ( #38665 )
...
The tls_* parameters are not present in Zabbix Server versions prior to
3.0. Thus the API response does not contain these keys and the
zabbix_host module failed. This commit adds checks if the parameters are
present in the API response and otherwise just completely ignores these
parameters. The documentation already states that they are not supported
for Zabbix Server versions below 3.0.
2018-04-16 17:57:57 -04:00