Commit Graph

321 Commits (33f3612e5c089936603a58f9cb5f5688bec2e91b)

Author SHA1 Message Date
Brian Coca a6ceec998d corrected version_added for new monit timeout opt 9 years ago
Brian Coca 91df684902 Merge pull request #806 from gaqzi/monit/retry-option
monit: Add retry for pending/initializing services
9 years ago
Bruce Pennypacker 5abd7deab0 Remove extraneous space from end of command string in nagios_cmd 9 years ago
Michael Weber fba8c9f8a7 Fix error 'fail_json() takes exactly 1 argument'
Fixes bug #1257
9 years ago
Björn Andersson 72155d40a3 monit: Set a high timeout waiting for status changes
Instead of waiting for up to a certain number of retries we set a high
timeout and only re-check every five seconds. Certain services can
take a minute or more to start and we want to avoid waisting resources
by polling too often.
9 years ago
Björn Andersson 262f2e9048 monit: Add version_added and type for new argument 9 years ago
Björn Andersson 5835d06a4e monit: Wait for pending state changes for reloads
@mpeters reported that we're not checking that the named service is
actually there after a reload. And that sometimes monit doesn't actually
return anything at all after a reload.
9 years ago
Björn Andersson + SU Sheng Loong f8fe5a2fcd 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.
9 years ago
Jordan Cohen 20d6e3daaf support for event alert monitors 9 years ago
Brian Coca 875a055103 corrected choices which was meant to be type 9 years ago
Ritesh Khadgaray 5e103d604a allows user to not update zabbix host config if host is present. 9 years ago
Kerim Satirli 2ac53bf559 fixes a typo in Datadog Monitor docs 9 years ago
Konstantin Manna 97b7a7a7f8 bugfix: use correct function close calls 9 years ago
Brian Coca 6cd7399a71 minor docfix 9 years ago
Brian Coca 076ddc5266 Merge pull request #1002 from knakayama/bugfix/fix-argument-type-for-zabbix_screen
Fix argument type for zabbix_screen
9 years ago
Brian Coca c7c32ef86f minor doc fixes nagios 9 years ago
Brian Coca 5017c4483a Merge pull request #798 from vaupelt/patch-1
strange results with services=all

agreed, the doc issues are unrelated to this PR, will fix those independently
9 years ago
knakayama 45f4568753 Fix argument type for zabbix_screen 9 years ago
Anders Ingemann e0f513a903 Fix state & metric description
Also: add state=absent to last example
9 years ago
Anders Ingemann 9342c16e78 Add github ID to author field in sensu_check
As proposed by @gregdek in #983
9 years ago
Darren Worrall b0926125c2 Fix json loading in sensu_check
Fixes `AttributeError: 'str' object has no attribute 'read'` when the
check path exists
9 years ago
Darren Worrall 4ead053031 Initialise `stream` variable
Fixes `UnboundLocalError: local variable 'stream' referenced before
assignment` when the check path doesnt exist
9 years ago
Tim Bielawa c9785a6948 Fix capitalization in nagios 'services' parameter comment 9 years ago
Amanpreet Singh a0af060c25 Make pagerduty_alert module more inline with ansible modules
- use state parameter instead of event_type
- add support for check mode
9 years ago
Amanpreet Singh 0847bfecd6 Add new module: pagerduty_alert
- trigger, acknowledge or resolve pagerduty incidents
9 years ago
vaupelt 150d3ce0ee strange results with services=all
I issued a command with action=disable_alerts host=webserver services=all set and get this results:

    "nagios_commands": [
        "[1438593631] DISABLE_SVC_NOTIFICATIONS;webserver;a", 
        "[1438593631] DISABLE_SVC_NOTIFICATIONS;webserver;l", 
        "[1438593631] DISABLE_SVC_NOTIFICATIONS;webserver;l"
    ]

This is not a big deal because i have just overlooked the action=silence command. Nevertheless a more predictable result would be a nice thing to have.
9 years ago
Brian Coca 27bf193483 added missing license headers
fixes #508
9 years ago
Toshio Kuratomi aa1b4caa8a Merge pull request #734 from ansible/fetch_url-uptimerobot
Port uptimerobot to fetch_url
9 years ago
Toshio Kuratomi 4a43f52437 Use fetch_url's basic auth instead of code specific to this module 9 years ago
Toshio Kuratomi 8aa490c638 Port uptimerobot to fetch_url 9 years ago
Toshio Kuratomi 626977f90e Port librarto_annotation from urllib2 to fetch_url 9 years ago
Toshio Kuratomi 79173ac18d Clean up unneeded urllib2 imports 9 years ago
Greg DeKoenigsberg d640fd95e9 Merge pull request #605 from bpennypacker/pagerduty_updates
monitoring/pagerduty module improvements, including specifying multiple services, fixing task output, adding 'delete'' action
10 years ago
Eike Frost 75e1e9fcda add zabbix proxy support to zabbix_host 10 years ago
Brian Coca 3f9e2fb4e6 Merge pull request #629 from bcoca/sensu_check_2.4
made sensu_check 2.4 friendly
10 years ago
Brian Coca 286bc3d9dc forgot finally 2.4 syntax 10 years ago
Brian Coca eeb9d34812 also fixed exceptions 10 years ago
Toshio Kuratomi dd6e8f354a Modify a few more modules to not conditionalize urllib(2) import. 10 years ago
Brian Coca 1659af1541 made sensu_check 2.4 friendly 10 years ago
Toshio Kuratomi 4b29146c4d be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
10 years ago
Brian Coca 8f31d84300 Merge pull request #203 from andsens/sensu-check
Add sensu_check module
10 years ago
Anders Ingemann 3f3a73da37 Add sensu_check module 10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Brian Coca 0d7332d550 minor docfix 10 years ago
Greg DeKoenigsberg 98abb6d2c9 Adding author's github id 10 years ago
Jhonny Everson 4b625bab34 Fixes the bug where it was using only the keys to determine whether a change was made, i.e. values changes for existing keys was reported incorrectly. 10 years ago
Jhonny Everson d722d6de97 Adds handler for error responses 10 years ago
Sebastian Kornehl fdaa4da447 docs: removed default when required is true 10 years ago
Sebastian Kornehl 1291f9a25a Added datadog_monitor module 10 years ago
Brian Coca 6050cc8e5d push list nature of tags into spec to allow both for comma delimited strings and actual lists 10 years ago
Brian Coca d5c581e9eb updated docs for 2.0 10 years ago
Brian Coca 04e43a9dcb added version added 10 years ago
Greg DeKoenigsberg 432477c14c Revert "Added eval for pasting tag lists" 10 years ago
Sebastian Kornehl 5b7b74eb66 Added eval for pasting tag lists 10 years ago
Lorenzo Luconi Trombacchi 51b11fd1af status function was called twice 10 years ago
Lorenzo Luconi Trombacchi 16db10958b fix a problem with status detection after unmonitor command 10 years ago
Lorenzo Luconi Trombacchi 2bcb0d4c08 added lower function for statuses 10 years ago
Todd Zullinger d604f56162 monitoring/nagios: Allow comment to be specified
The default remains 'Scheduling downtime' but can be overridden.
10 years ago
Kevin Klinemeier 49ab501be4 Updated tags example to an actual datadog tag 10 years ago
Michael Gröning f9041a1b29 fix bugs 10 years ago
Michael Gröning 304abbce85 improved docs 10 years ago
Michael Gröning 0b9863ed0e divided between host an service downtimes 10 years ago
Michael Gröning 8829b818b8 add function for servicegrup downtimes 10 years ago
Bruce Pennypacker 9285d0a1c7 changed 'deleted' to 'absent' 10 years ago
Bruce Pennypacker 51bba578b6 Updated 'ongoing' to also return properly formatted json 10 years ago
Bruce Pennypacker 6a89b92cda Fixed results & 'Changed'. Added 'deleted' action. Added ability to specify multiple services. 10 years ago
Brian Coca 2f967a949f minor docfix 10 years ago
Greg DeKoenigsberg ef7381f246 Adding author's github id 10 years ago
Jhonny Everson d517abf44b Fixes the bug where it was using only the keys to determine whether a change was made, i.e. values changes for existing keys was reported incorrectly. 10 years ago
Jhonny Everson f09389b179 Adds handler for error responses 10 years ago
Brian Coca 06c60ddc22 Merge pull request #575 from skornehl/devel
datadog_monitor module
10 years ago
Sebastian Kornehl df618c2d48 docs: removed default when required is true 10 years ago
Brian Coca e03ed0bd34 Merge pull request #481 from LorenzoLuconi/devel
2 bug fixes for monit module
10 years ago
Sebastian Kornehl 9ee29fa579 Added datadog_monitor module 10 years ago
Greg DeKoenigsberg d6dccfb269 Merge pull request #317 from agilekevin/patch-1
Updated tags example to an actual datadog tag
10 years ago
Brian Coca 5da651212f push list nature of tags into spec to allow both for comma delimited strings and actual lists 10 years ago
Brian Coca 3861904b02 updated docs for 2.0 10 years ago
Brian Coca 35a86c3423 Merge pull request #228 from michaelgroening/devel
enable setting downtimes for Service-Group services and hosts
10 years ago
Brian Coca 4b35db4932 added version added 10 years ago
Brian Coca 27bb709a73 Merge pull request #324 from tmzullinger/nagios-comment-support
monitoring/nagios: Allow comment to be specified
10 years ago
Greg DeKoenigsberg 223694ccf2 Revert "Added eval for pasting tag lists" 10 years ago
Greg DeKoenigsberg 9f9b50996e Merge pull request #512 from skornehl/devel
Added eval for pasting tag lists
10 years ago
Toshio Kuratomi 1276420a3a Fix documentation formatting 10 years ago
Brian Coca 0ff9bced72 Merge pull request #524 from resmo/feature/zabbix_group2
replace module zabbix_group
10 years ago
Toshio Kuratomi 8b62a45466 Fix docs - don't need quote anymore 10 years ago
Rene Moser d04e6b1d07 zabbix_maintenance: prevent to log password 10 years ago
Rene Moser 1eb6c37594 zabbix: improve module doc 10 years ago
Rene Moser 9d07fb9618 zabbix: improve arguments and prevent to log password 10 years ago
Rene Moser c9dfeb07c1 zabbix: remove redundant import of module_utils 10 years ago
Rene Moser c0fb48cd39 zabbix_group: improve params 10 years ago
Rene Moser 3f108732c5 zabbix_group: add backword compatibility
* add alias host_group for host_groups
* add choices for param state
10 years ago
Rene Moser 1c210abc69 zabbix_group: update version added to 1.8
Since we intent to replace the current module, we add the version the current module was added.
10 years ago
Rene Moser f0eb372e99 zabbix_group: update authors to new format 10 years ago
Cove Schneider 8175bd2f78 remove superfluous defaults 10 years ago
Cove Schneider 30832ab4d9 add zabbix_group module 10 years ago
Rene Moser 2d35caf68b zabbix_group: remove current module in favor of PR #346 10 years ago
Toshio Kuratomi 24390f1ac6 Merge pull request #514 from stansonhealth/newrelic_updates
Newrelic documentation, argspec updates
10 years ago
Tim Bielawa 9ae04256fe Allow nagios module to be licensed as gpl v2 or newer 10 years ago
tedder c9e02dd7d8 use newer required_one_of syntax; unsure why there's app_name vs appname, so leaving it alone. 10 years ago
tedder 4cc8c6b340 they call it a key, not a token 10 years ago