community.general/lib/ansible/modules/monitoring
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
..
zabbix Add support for macro contexts that have colons (#51853) 2019-02-18 17:51:35 +00:00
__init__.py Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
airbrake_deployment.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
bigpanda.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
circonus_annotation.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
datadog_event.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
datadog_monitor.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
grafana_dashboard.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
grafana_datasource.py Fix typo in ds_type in examples section (#50166) 2018-12-19 13:49:06 -05:00
grafana_plugin.py Assorted pylint fixes 2019-02-15 06:54:47 -08:00
honeybadger_deployment.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
icinga2_feature.py icinga2_feature: fix module in check_mode (#39853) 2018-05-14 16:14:42 +05:30
icinga2_host.py fix use_proxy option in icinga2_host (#47671) 2019-01-14 12:03:36 +01:00
librato_annotation.py BOTMETA.yml and module metadata: fix case authors (#46051) 2018-11-19 11:47:14 +00:00
logentries.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
logicmonitor.py Fix incorrect use of is for comparisons. 2019-02-12 16:33:13 -08:00
logicmonitor_facts.py Fix incorrect use of is for comparisons. 2019-02-12 16:33:13 -08:00
logstash_plugin.py Add logstash_plugin example for lower heap size 2018-10-01 12:01:24 -04:00
monit.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
nagios.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
newrelic_deployment.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
pagerduty.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
pagerduty_alert.py Update pagerduty modules to rest v2 (#42618) 2018-07-31 10:39:29 -04:00
pingdom.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
rollbar_deployment.py Explicitly pass HTTP method to fetch_url 2018-07-23 07:42:19 -07:00
sensu_check.py Fix incorrect use of is for comparisons. 2019-02-12 16:33:13 -08:00
sensu_client.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
sensu_handler.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
sensu_silence.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
sensu_subscription.py Fix incorrect use of is for comparisons. 2019-02-12 16:33:13 -08:00
spectrum_device.py Fix returned landscape value when using python3 2018-03-29 11:44:05 -07:00
stackdriver.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
statusio_maintenance.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
uptimerobot.py Fix non-HTTPS endpoint (#40601) 2018-05-23 22:42:33 +05:30