community.general/lib/ansible/modules/monitoring/zabbix
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
..
__init__.py move zabbix modules into their own namespace below monitoring/ (#31992) 2017-10-21 10:07:51 +02:00
zabbix_action.py clarify how users are specified (#52260) 2019-02-16 03:07:29 -05:00
zabbix_group.py Improve style and fix typos in the Zabbix module titles and descriptions (#50575) 2019-01-06 01:33:54 +01:00
zabbix_group_facts.py zabbix: fix author's github handle (#50700) 2019-01-09 10:45:31 +01:00
zabbix_host.py Improve style and fix typos in the Zabbix module titles and descriptions (#50575) 2019-01-06 01:33:54 +01:00
zabbix_host_facts.py zabbix_host_facts: get list of templates (#50007) 2019-01-09 05:12:32 -05:00
zabbix_hostmacro.py Add support for macro contexts that have colons (#51853) 2019-02-18 17:51:35 +00:00
zabbix_maintenance.py Ensure that current uses of BaseException are required 2018-12-16 15:03:19 -08:00
zabbix_map.py Improve style and fix typos in the Zabbix module titles and descriptions (#50575) 2019-01-06 01:33:54 +01:00
zabbix_proxy.py Improve style and fix typos in the Zabbix module titles and descriptions (#50575) 2019-01-06 01:33:54 +01:00
zabbix_screen.py Improve style and fix typos in the Zabbix module titles and descriptions (#50575) 2019-01-06 01:33:54 +01:00
zabbix_template.py zabbix_template: Fixed interactions between options and data within JSON object (#51222) 2019-01-26 13:15:32 +01:00