community.general/lib/ansible/modules/extras/monitoring
Björn Andersson + SU Sheng Loong 469bf9ebd0 monit: Add retry for pending/initializing services
If there are already ongoing actions for a process managed by monit, the
module would exit unsuccessfully. It could also give off false positives
because it did not determine whether the service was started/stopped
when it was in a pending state. Which might be turning the service off,
but the action was to start it.

For example "Running - pending stop" would be regarded as the service
running and "state=enabled" would do nothing.

This will make Ansible wait for the state to finalize, or a timeout decided
by the new `max_retries` option, before it decides what to do.

This fixes issue #244.
2016-12-08 11:33:38 -05:00
..
__init__.py package files 2016-12-08 11:32:18 -05:00
airbrake_deployment.py be explicit about urllib import and remove conditional urllib(2) import 2016-12-08 11:32:52 -05:00
bigpanda.py added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
boundary_meter.py bugfix: use correct function close calls 2016-12-08 11:33:21 -05:00
circonus_annotation.py added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
datadog_event.py added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
datadog_monitor.py fixes a typo in Datadog Monitor docs 2016-12-08 11:33:33 -05:00
librato_annotation.py Use fetch_url's basic auth instead of code specific to this module 2016-12-08 11:33:05 -05:00
logentries.py Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
monit.py monit: Add retry for pending/initializing services 2016-12-08 11:33:38 -05:00
nagios.py Remove extraneous space from end of command string in nagios_cmd 2016-12-08 11:33:38 -05:00
newrelic_deployment.py be explicit about urllib import and remove conditional urllib(2) import 2016-12-08 11:32:52 -05:00
pagerduty.py added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
pagerduty_alert.py Make pagerduty_alert module more inline with ansible modules - use state parameter instead of event_type - add support for check mode 2016-12-08 11:33:14 -05:00
pingdom.py added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
rollbar_deployment.py be explicit about urllib import and remove conditional urllib(2) import 2016-12-08 11:32:52 -05:00
sensu_check.py Fix state & metric description 2016-12-08 11:33:19 -05:00
stackdriver.py added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
uptimerobot.py added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
zabbix_group.py Fix documentation formatting 2016-12-08 11:32:43 -05:00
zabbix_host.py corrected choices which was meant to be type 2016-12-08 11:33:34 -05:00
zabbix_hostmacro.py zabbix: improve module doc 2016-12-08 11:32:42 -05:00
zabbix_maintenance.py Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
zabbix_screen.py minor docfix 2016-12-08 11:33:20 -05:00