Commit graph

285 commits

Author SHA1 Message Date
Lorenzo Luconi Trombacchi
838cd4123b added lower function for statuses 2015-05-12 10:56:22 +02:00
Matt Martz
e568032bc3 Fix up modules that have python24 syntax error 2015-05-11 09:51:48 -05:00
Nick Harring
c0ca227717 PEP-8 style fixes 2015-05-06 09:43:38 -07:00
Sébastien Fievet
4e21eb09db Typo 2015-05-05 16:58:25 +02:00
Nick Harring
dd02f24df9 Added Epic copyright notice, clarified examples. 2015-04-30 10:16:26 -07:00
Nick Harring
650b6e9b4f Initial public revision. 2015-04-29 14:26:16 -07:00
Brian Coca
1754c7a1ca fixed doc issues on zabbix_screen 2015-03-31 09:37:15 -04:00
Brian Coca
39cff86e7b fixed doc issues 2015-03-31 09:37:15 -04:00
Brian Coca
c875fa8f94 Merge pull request #352 from cove/zabbix_screen
remove superfluous defaults for required options from zabbix_screen
2015-03-29 17:09:48 -04:00
Brian Coca
d0d960c491 Merge pull request #351 from cove/zabbix_hostmacro
remove superfluous defaults for required options from zabbix_hostmacro
2015-03-29 17:09:32 -04:00
Brian Coca
4194d17788 Merge pull request #350 from cove/zabbix_host
remove superfluous defaults for required options from zabbix_host
2015-03-29 17:09:15 -04:00
Brian Coca
510b77ca0e minor documentation fixes 2015-03-29 16:51:30 -04:00
Cove Schneider
32878110d0 remove superfluous defaults 2015-03-29 13:41:52 -07:00
Cove Schneider
636e96fafc remove superfluous defaults 2015-03-29 13:41:07 -07:00
Cove Schneider
7c41002d93 remove superfluous defaults 2015-03-29 13:37:15 -07:00
Brian Coca
fa5cbcc17c Merge pull request #343 from cove/zabbix_screen
add zabbix_screen module
2015-03-29 16:06:55 -04:00
Brian Coca
4c01be7bf3 Merge pull request #344 from cove/zabbix_hostmacro
add zabbix_hostmacro module
same comments as for zabbix_host
2015-03-29 16:04:40 -04:00
Cove Schneider
092cb5b4cd add zabbix_screen 2015-03-28 08:18:25 -07:00
Cove Schneider
d0256c593a add zabbix_hostmacro 2015-03-28 00:46:49 -07:00
Cove Schneider
3b54e7b00e add zabbix_host 2015-03-28 00:07:01 -07:00
Todd Zullinger
aef5792772 monitoring/nagios: Allow comment to be specified
The default remains 'Scheduling downtime' but can be overridden.
2015-03-18 15:42:10 -04:00
Kevin Klinemeier
8084671e33 Updated tags example to an actual datadog tag 2015-03-15 21:42:35 -07:00
Brian Coca
312d59061c fixed logentries 2015-02-12 15:55:21 -05:00
Brian Coca
dbccdef198 minor fixes to logentries 2015-02-11 17:32:12 -05:00
Brian Coca
6e35506655 Merge pull request #98 from rubenvdb/devel
Added support for --name and --type arguments when following a new log
2015-02-11 17:26:53 -05:00
Michael Groening
e321d0f34d Merge remote-tracking branch 'master/devel' into devel 2015-01-27 16:26:29 +01:00
Rob White
13285765a8 Keep 'process' lowercase to protect against upstream changes 2015-01-22 11:26:00 +11:00
Rob White
0f45029827 Changed status() to be case-sensitive of process 2015-01-22 11:01:33 +11:00
Giovanni Tirloni
5ae3bbaf05 Fix dangerous use of empty list as default arg (mutable) 2015-01-20 12:35:13 -05:00
Jeroen Thora
899f1c0a0b Fixed small typo in zabbix group docs 2014-12-19 23:43:21 +01:00
Stein Inge Morisbak
c4af7a1324 Removed import of json. It is already imported in the common module. 2014-12-09 15:38:55 +01:00
Stein Inge Morisbak
5a2b80ccaa Fall back to simplejson if ImportError on json 2014-12-09 13:14:50 +01:00
Toshio Kuratomi
19e688b017 Fixes to documentation 2014-12-03 08:16:11 -08:00
Brian Coca
e8c316c08a Merge pull request #105 from nate-kingsley/devel
Adding Uptime Robot Module
2014-12-01 11:51:37 -05:00
Brian Coca
c9dadee7a7 Merge pull request #6 from resmo/feature/zabbix_group
zabbix_group: new module
2014-12-01 11:33:19 -05:00
nate-kingsley
d7183a3b67 Adding Uptime Robot Module
Added uptime robot module. This currently has the ability to start or
pause existing monitors. The ability to create or delete is forthcoming.
2014-11-11 10:48:29 -05:00
Michael Gröning
0fa856d467 fix bugs 2014-11-07 17:16:48 +01:00
Michael Gröning
ebda36bb50 improved docs 2014-11-07 15:00:57 +01:00
Michael Gröning
b0af1be84a divided between host an service downtimes 2014-11-07 14:36:04 +01:00
Michael Gröning
91d0b2c00f add function for servicegrup downtimes 2014-11-07 14:14:12 +01:00
Ruben Van den Bossche
f532ef1996 Added support for --name and --type arguments when following a new log 2014-11-01 18:30:40 +01:00
René Moser
8c16f9c39c zabbix_group: new module
Add or remove a host group to Zabbix.

Signed-off-by: René Moser <mail@renemoser.net>
2014-09-28 22:24:24 +02:00
René Moser
93c7084fa6 zabbix_maintenance: set state to be present by default
Signed-off-by: René Moser <mail@renemoser.net>
2014-09-28 20:49:05 +02:00
Michael DeHaan
110250d344 package files 2014-09-26 11:04:10 -04:00
Michael DeHaan
b1e789968b File extensions! 2014-09-26 10:40:16 -04:00
Michael DeHaan
50f105578a Restructuring. 2014-09-26 10:14:28 -04:00
Michael DeHaan
73123b69fa Move modules into subdirectory. 2014-09-26 09:23:50 -04:00
Hagai Kariti
472614c988 Don't return 'state' attr in bigpanda module
Fixes a double parameter being passed afterwards
2014-09-08 11:06:49 +03:00
Rene Moser
aa7e422fe8 zabbix_maintenance: move to new boilerplate 2014-09-01 20:13:34 +02:00
Michael DeHaan
16013a38a3 Updating version_added. 2014-08-08 14:24:57 -04:00
abulimov
6834ee7977 zabbix_maintenance small stylistic updates and ansible version bump 2014-08-08 14:24:57 -04:00
Alexander Bulimov
a8d5a3f849 zabbix_maintenance fixes and parameter names update 2014-08-08 14:24:57 -04:00
Alexander Bulimov
713ef83fd6 zabbix_maintenance examples fixes 2014-08-08 14:24:56 -04:00
Alexander Bulimov
3871ef5e92 Initial working version of zabbix_maintenance module 2014-08-08 14:24:56 -04:00
Michael DeHaan
9a04915723 update version added info 2014-08-08 13:38:59 -04:00
Michael DeHaan
05ca1f78fd Merge pull request #6301 from gitterHQ/devel
Pagerduty improvements
2014-08-08 13:36:40 -04:00
Michael DeHaan
a740bc5d49 Update version_added. 2014-08-08 11:42:35 -04:00
Hagai
6264957734 Documentation error 2014-08-08 11:42:35 -04:00
Shahar Kedar
b5544a1bd0 Rename source to source_system and remove it from the documentation. 2014-08-08 11:42:35 -04:00
Hagai
83e20b1484 Add some argument aliases 2014-08-08 11:42:35 -04:00
Hagai
77478efea1 Update docs for bigpanda 2014-08-08 11:42:35 -04:00
Hagai
522ebf684f Add bigpanda module to monitoring 2014-08-08 11:42:34 -04:00
Michael DeHaan
edcedfc06f Pagerduty corrected misleading blog post, so no problems with them being in core now. Thank you guys! 2014-07-24 15:21:53 -04:00
Michael DeHaan
24a7da1319 Pagerduty has advocated not using ansible for certain sizes of infrastructure. This module is removed until this is corrected.
http://blog.pagerduty.com/2014/06/10-common-ops-mistakes/?utm_source=twitter&utm_medium=social&utm_campaign=blog
2014-07-15 18:07:24 -04:00
Michael DeHaan
8c7cd604f0 Stackdriver module was in the wrong category, so moving. 2014-05-16 08:30:38 -04:00
James Cammarata
8db481d8de Fixing a typo in the monit module (status and not status()) 2014-05-08 16:46:32 -05:00
James Cammarata
bd9d8e8207 Merge branch 'devel' of https://github.com/brian-brazil/ansible into brian-brazil-devel 2014-05-08 16:11:18 -05:00
Chris Lamb
1259475e32 Fail if monit reload failed; don't mask the error.
This is necessary for the scenario when you push a new, broken monit
config out, and then set a state=reloaded handler - the error was
previously swallowed so you could end up with successful play but missing
monitoring (!).

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2014-05-08 18:18:28 +01:00
Brian Brazil
296bf6bd04 Use empty string rather than None to avoid TypeError
Improve error messages.
2014-04-25 13:30:19 +01:00
Andrew Newdigate
5a07456558 Added additional error checking to avoid HTTP400 responses from ansible. 2014-04-16 23:00:01 +01:00
Andrew Newdigate
34ec5076c3 Removing unused code 2014-04-16 22:44:34 +01:00
Andrew Newdigate
9a9924b975 Merge branch 'devel' of github.com:ansible/ansible into devel
Conflicts:
	library/monitoring/pagerduty
2014-04-16 22:43:01 +01:00
Brian Brazil
32a67999b6 Fix race conditions where a process gets in state "Running"
between the restart/start command and the summary command.

Refactor to avoid repeating the status, and fail if a given call to monit fails.
2014-04-16 18:04:19 +01:00
James Tanner
3f2a100e64 Fix version_added for url in airbrake_deployment module 2014-04-07 22:30:53 -04:00
James Tanner
721d493f81 Fix librato_annotation docstring 2014-03-30 22:28:31 -04:00
Michael DeHaan
1da0f24089 Documentation fixes + add missing license header 2014-03-28 17:20:20 -04:00
Seth Edwards
2463b21d91 add librato annotation module 2014-03-28 17:20:20 -04:00
Michael DeHaan
c072e08cbc changelog and version bump 2014-03-28 17:04:31 -04:00
Michael DeHaan
eea9ef4404 Merge branch 'add_rollbar_rollbar_deployment_module' of git://github.com/kavu/ansible into devel 2014-03-28 17:03:59 -04:00
Michael DeHaan
17785ea11e Documentation updates / changelog. 2014-03-28 15:03:04 -04:00
Michael DeHaan
2a776f0701 Merge branch 'added-logentries-module' of git://github.com/ivanvanderbyl/ansible into devel 2014-03-28 15:01:49 -04:00
Max Riveiro
0b3a70797a Add rollbar_deployment module
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2014-03-23 00:38:53 +04:00
Michael DeHaan
376237d9d9 Fixup shell handling in monit module. 2014-03-12 17:43:31 -04:00
James Cammarata
c68be8b418 Remove validate_certs parameter from fetch_url calls 2014-03-12 10:31:01 -05:00
James Cammarata
72217c297d Adding validate_certs to all modules that use fetch_url 2014-03-12 10:19:54 -05:00
Michael DeHaan
f2a288adbb Missing comma in argument spec. 2014-03-10 19:37:34 -04:00
James Cammarata
a1b1182662 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
2014-03-10 16:06:52 -05:00
Andrew Newdigate
cd1722b743 Added 'version_added' attributes for new fields.
Also added missing fields to documentation and added some more examples.
2014-03-06 09:18:38 +00:00
Andrew Newdigate
7c34399630 Added support for setting up maintenance windows of under an hour.
Added support for using tokens instead of usernames and passwords.
2014-03-05 22:22:56 +00:00
Michael DeHaan
ad31e1446d Merge pull request #5039 from bpennypacker/airbrake
airbrake: Made the reporting URL an optional parameter
2014-02-12 12:32:28 -05:00
Jens Rantil
71590827ab module(nagios): don't catch SystemExit
If we do this, we risk outputting two JSON payloads, which will be
unparsable.
2013-12-04 13:57:55 +01:00
James Tanner
4f9aadcc07 Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Bruce Pennypacker
cdf10d3a31 use new airbrake API URL 2013-11-20 16:52:15 +00:00
Bruce Pennypacker
3857d65431 Made URL an optional parameter 2013-11-07 15:39:41 +00:00
ryanaudiencepi
350db0cacf Monit fix - Use case insensitive comparison 2013-10-03 02:46:35 +08:00
ryanaudiencepi
3b89891dfe Fix monit module. Monit restart bug 2013-10-01 03:41:17 +08:00
ryanaudiencepi
2b4f53c455 Fix monit module. Use lowercase letters check instead of uppercase 2013-10-01 03:39:43 +08:00
Shuhao Wu
a17610f7c6 Fixed monit restarted error.
Errors everytime...
2013-09-16 19:14:17 -04:00
Ivan Vanderbyl
62c1fa3c05 Fixed unfollow logic 2013-08-30 12:43:27 +10:00
Ivan Vanderbyl
d8a464a241 Added LogEntries module 2013-08-30 12:20:57 +10:00
Brian Coca
a3a833cb82 now missing dep gives nicer error and docs disambiguate as several libs
out there have same name.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-08-15 21:26:35 -04:00
Michael DeHaan
a5db8257da Newline at end of file. 2013-08-03 14:55:22 -04:00
Michael DeHaan
d658a89003 Fix PEP8 commenting, but comment seems obvious so just remove it. 2013-08-03 14:55:01 -04:00
Michael DeHaan
864cb8fca9 Discussed datadog module at OSCON with DD folks, does not make sense to send
event types for anything other than myapps here.
2013-08-03 14:52:06 -04:00
Michael DeHaan
e3d5937bcf Merge pull request #3272 from curtisgithub/devel
A module to create and delete boundary.com meters
2013-08-03 11:20:51 -07:00
Curtis
327dd256fc changed apikey and apiid to api_key and api_id and noted that it is boundary tags not ansible tags as per mpdehaan 2013-07-23 11:16:30 -06:00
Michael DeHaan
eb560fb7b8 Trim old style var references. 2013-07-19 09:38:31 -04:00
Andrew Todd
bd9d3d4fdd Changed shebangs that use /usr/bin/env to use /usr/bin/python and therefore be compatible with the ansible_python_interpreter variable. 2013-07-17 16:37:04 -04:00
Cristobal Rosa
8304d5d060 Remove unnecesary call 2013-07-06 22:12:30 +02:00
Cristobal Rosa
d2c7f30048 Fixed monit module. Ignore uppercase letters 2013-07-05 05:49:07 +02:00
Curtis
8e9d610b5a as per mpdehaan, change string formatting to something that will work with python 2.4 2013-07-02 09:41:11 -06:00
Curtis
a5ecde9ccf fixup appearances of config_directory, remove slash, remove hardcoded /etc/bprobe 2013-06-25 14:40:14 -06:00
Curtis
b3df566399 made changes as requested by mpdehaan and added code to remove key and cert pem files on removal of meter 2013-06-24 16:20:36 -06:00
Curtis
7983139383 initial commit of boundary_meter module 2013-06-19 16:01:47 -06:00
Michael DeHaan
9f97a1b208 Merge pull request #3264 from arturaz/devel
datadog_event module requires urllib2, not httplib2.
2013-06-19 08:27:13 -07:00
Arturas Slajus
ce8c3a5685 datadog_event module requires urllib2, not httplib2. 2013-06-19 11:17:05 +03:00
Michael DeHaan
0a51cdbe1f Merge pull request #3219 from arturaz/devel
datadog_event module: submit your events to DataDog service.
2013-06-18 17:31:52 -07:00
Jan-Piet Mens
98c1423269 Docs: consistently format playbook EXAMPLES 2013-06-17 08:53:46 +02:00
Jan-Piet Mens
3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Arturas Slajus
1508a49a66 datadog_event module: submit your events to DataDog service. 2013-06-14 18:36:14 +03:00
Michael DeHaan
344257481d Fix version added field in modules. 2013-05-29 18:56:48 -04:00
Michael DeHaan
e811f77716 Fix docs build causing parse error message. 2013-05-29 18:37:31 -04:00
Michael DeHaan
81d26340d0 use EXAMPLES vs examples (easier to format) 2013-05-29 18:35:47 -04:00
Michael DeHaan
edc1c4cb2f use EXAMPLES vs inline examples (easier to format) 2013-05-29 18:35:47 -04:00
Michael DeHaan
bba849b11e Merge pull request #3046 from dstoflet/devel
Adding monit module to start/stop/monitor/unmonitor process via monit
2013-05-29 15:32:59 -07:00
Michael DeHaan
d970a3f8a6 Merge pull request #3032 from thaumos/devel
Pagerduty and Pingdom modules for core
2013-05-29 15:30:51 -07:00
Darryl Stoflet
5c72f379cb Adding monit modules to start/stop/monitor/unmonitor process via monit 2013-05-28 23:22:34 -07:00
Dylan Silva
70c066d7b5 Pagerduty and Pingdom modules for core 2013-05-27 11:55:29 -07:00
Bruce Pennypacker
43b1d36cd8 new airbrake_deployment module 2013-05-24 14:40:37 -04:00
Bruce Pennypacker
3926f76644 Fixed handling of urlopen result to work properly under both python 2.4 and python 2.6 2013-05-21 13:59:42 -04:00
Michael DeHaan
539aa02de3 Update version_added 2013-05-11 16:38:17 -04:00
Michael DeHaan
4f1d310b6a update changelog, move newrelic to monitoring category 2013-05-11 15:16:16 -04:00
Jan-Piet Mens
7fb28a0c43 spacing in nagios module docs 2013-05-11 16:10:56 +02:00
Michael DeHaan
cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00