Commit graph

303 commits

Author SHA1 Message Date
Anders Ingemann
e0f513a903 Fix state & metric description
Also: add state=absent to last example
2015-09-17 12:12:54 +02:00
Anders Ingemann
9342c16e78 Add github ID to author field in sensu_check
As proposed by @gregdek in #983
2015-09-17 12:04:04 +02:00
Darren Worrall
b0926125c2 Fix json loading in sensu_check
Fixes `AttributeError: 'str' object has no attribute 'read'` when the
check path exists
2015-09-15 16:43:26 +01:00
Darren Worrall
4ead053031 Initialise stream variable
Fixes `UnboundLocalError: local variable 'stream' referenced before
assignment` when the check path doesnt exist
2015-09-15 16:40:01 +01:00
Tim Bielawa
c9785a6948 Fix capitalization in nagios 'services' parameter comment 2015-08-31 13:14:05 -04:00
Amanpreet Singh
a0af060c25 Make pagerduty_alert module more inline with ansible modules
- use state parameter instead of event_type
- add support for check mode
2015-08-27 18:05:46 +05:30
Amanpreet Singh
0847bfecd6 Add new module: pagerduty_alert
- trigger, acknowledge or resolve pagerduty incidents
2015-08-27 18:00:17 +05:30
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.
2015-08-03 12:38:16 +02:00
Brian Coca
27bf193483 added missing license headers
fixes #508
2015-07-30 14:48:59 -04:00
Toshio Kuratomi
aa1b4caa8a Merge pull request #734 from ansible/fetch_url-uptimerobot
Port uptimerobot to fetch_url
2015-07-28 11:21:08 -07:00
Toshio Kuratomi
4a43f52437 Use fetch_url's basic auth instead of code specific to this module 2015-07-28 10:51:13 -07:00
Toshio Kuratomi
8aa490c638 Port uptimerobot to fetch_url 2015-07-20 23:22:33 -07:00
Toshio Kuratomi
626977f90e Port librarto_annotation from urllib2 to fetch_url 2015-07-20 23:09:59 -07:00
Toshio Kuratomi
79173ac18d Clean up unneeded urllib2 imports 2015-07-20 23:04:27 -07:00
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
2015-07-04 15:40:23 -04:00
Eike Frost
75e1e9fcda add zabbix proxy support to zabbix_host 2015-06-21 21:59:36 +02:00
Brian Coca
3f9e2fb4e6 Merge pull request #629 from bcoca/sensu_check_2.4
made sensu_check 2.4 friendly
2015-06-19 12:22:59 -04:00
Brian Coca
286bc3d9dc forgot finally 2.4 syntax 2015-06-19 12:13:43 -04:00
Brian Coca
eeb9d34812 also fixed exceptions 2015-06-19 12:10:14 -04:00
Toshio Kuratomi
dd6e8f354a Modify a few more modules to not conditionalize urllib(2) import. 2015-06-19 09:07:04 -07:00
Brian Coca
1659af1541 made sensu_check 2.4 friendly 2015-06-19 12:05:50 -04:00
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
2015-06-19 09:01:08 -07:00
Brian Coca
8f31d84300 Merge pull request #203 from andsens/sensu-check
Add sensu_check module
2015-06-19 11:17:42 -04:00
Anders Ingemann
3f3a73da37 Add sensu_check module 2015-06-19 09:58:14 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Brian Coca
0d7332d550 minor docfix 2015-06-16 11:33:16 -04:00
Greg DeKoenigsberg
98abb6d2c9 Adding author's github id 2015-06-16 11:33:16 -04:00
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. 2015-06-16 11:33:16 -04:00
Jhonny Everson
d722d6de97 Adds handler for error responses 2015-06-16 11:33:15 -04:00
Sebastian Kornehl
fdaa4da447 docs: removed default when required is true 2015-06-16 11:33:14 -04:00
Sebastian Kornehl
1291f9a25a Added datadog_monitor module 2015-06-16 11:33:14 -04:00
Brian Coca
6050cc8e5d push list nature of tags into spec to allow both for comma delimited strings and actual lists 2015-06-16 11:33:14 -04:00
Brian Coca
d5c581e9eb updated docs for 2.0 2015-06-16 11:33:13 -04:00
Brian Coca
04e43a9dcb added version added 2015-06-16 11:33:13 -04:00
Greg DeKoenigsberg
432477c14c Revert "Added eval for pasting tag lists" 2015-06-16 11:33:13 -04:00
Sebastian Kornehl
5b7b74eb66 Added eval for pasting tag lists 2015-06-16 11:33:11 -04:00
Lorenzo Luconi Trombacchi
51b11fd1af status function was called twice 2015-06-16 11:33:10 -04:00
Lorenzo Luconi Trombacchi
16db10958b fix a problem with status detection after unmonitor command 2015-06-16 11:33:10 -04:00
Lorenzo Luconi Trombacchi
2bcb0d4c08 added lower function for statuses 2015-06-16 11:33:10 -04:00
Todd Zullinger
d604f56162 monitoring/nagios: Allow comment to be specified
The default remains 'Scheduling downtime' but can be overridden.
2015-06-16 11:33:09 -04:00
Kevin Klinemeier
49ab501be4 Updated tags example to an actual datadog tag 2015-06-16 11:33:09 -04:00
Michael Gröning
f9041a1b29 fix bugs 2015-06-16 11:33:08 -04:00
Michael Gröning
304abbce85 improved docs 2015-06-16 11:33:08 -04:00
Michael Gröning
0b9863ed0e divided between host an service downtimes 2015-06-16 11:33:08 -04:00
Michael Gröning
8829b818b8 add function for servicegrup downtimes 2015-06-16 11:33:08 -04:00
Bruce Pennypacker
9285d0a1c7 changed 'deleted' to 'absent' 2015-06-14 20:20:36 +00:00
Bruce Pennypacker
51bba578b6 Updated 'ongoing' to also return properly formatted json 2015-06-12 19:58:57 +00:00
Bruce Pennypacker
6a89b92cda Fixed results & 'Changed'. Added 'deleted' action. Added ability to specify multiple services. 2015-06-12 18:36:23 +00:00
Brian Coca
2f967a949f minor docfix 2015-06-10 12:58:59 -04:00
Greg DeKoenigsberg
ef7381f246 Adding author's github id 2015-06-09 12:58:45 -04:00
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. 2015-06-09 09:44:34 -03:00
Jhonny Everson
f09389b179 Adds handler for error responses 2015-06-08 17:46:53 -03:00
Brian Coca
06c60ddc22 Merge pull request #575 from skornehl/devel
datadog_monitor module
2015-06-05 21:47:15 -04:00
Sebastian Kornehl
df618c2d48 docs: removed default when required is true 2015-06-04 06:54:02 +02:00
Brian Coca
e03ed0bd34 Merge pull request #481 from LorenzoLuconi/devel
2 bug fixes for monit module
2015-06-03 08:48:47 -04:00
Sebastian Kornehl
9ee29fa579 Added datadog_monitor module 2015-06-03 13:15:59 +02:00
Greg DeKoenigsberg
d6dccfb269 Merge pull request #317 from agilekevin/patch-1
Updated tags example to an actual datadog tag
2015-06-02 13:52:19 -04:00
Brian Coca
5da651212f push list nature of tags into spec to allow both for comma delimited strings and actual lists 2015-06-02 08:37:45 -04:00
Brian Coca
3861904b02 updated docs for 2.0 2015-06-01 12:36:49 -04:00
Brian Coca
35a86c3423 Merge pull request #228 from michaelgroening/devel
enable setting downtimes for Service-Group services and hosts
2015-06-01 12:31:41 -04:00
Brian Coca
4b35db4932 added version added 2015-06-01 12:31:34 -04:00
Brian Coca
27bb709a73 Merge pull request #324 from tmzullinger/nagios-comment-support
monitoring/nagios: Allow comment to be specified
2015-06-01 12:26:50 -04:00
Greg DeKoenigsberg
223694ccf2 Revert "Added eval for pasting tag lists" 2015-06-01 12:07:23 -04:00
Greg DeKoenigsberg
9f9b50996e Merge pull request #512 from skornehl/devel
Added eval for pasting tag lists
2015-06-01 09:17:20 -04:00
Toshio Kuratomi
1276420a3a Fix documentation formatting 2015-05-28 16:00:43 -07:00
Brian Coca
0ff9bced72 Merge pull request #524 from resmo/feature/zabbix_group2
replace module zabbix_group
2015-05-28 08:02:26 -04:00
Toshio Kuratomi
8b62a45466 Fix docs - don't need quote anymore 2015-05-26 15:40:20 -07:00
Rene Moser
d04e6b1d07 zabbix_maintenance: prevent to log password 2015-05-26 15:41:37 +02:00
Rene Moser
1eb6c37594 zabbix: improve module doc 2015-05-26 15:34:35 +02:00
Rene Moser
9d07fb9618 zabbix: improve arguments and prevent to log password 2015-05-26 15:33:50 +02:00
Rene Moser
c9dfeb07c1 zabbix: remove redundant import of module_utils 2015-05-26 15:28:50 +02:00
Rene Moser
c0fb48cd39 zabbix_group: improve params 2015-05-22 15:25:13 +02:00
Rene Moser
3f108732c5 zabbix_group: add backword compatibility
* add alias host_group for host_groups
* add choices for param state
2015-05-22 15:25:13 +02:00
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.
2015-05-22 15:25:12 +02:00
Rene Moser
f0eb372e99 zabbix_group: update authors to new format 2015-05-22 15:25:12 +02:00
Cove Schneider
8175bd2f78 remove superfluous defaults 2015-05-22 15:25:12 +02:00
Cove Schneider
30832ab4d9 add zabbix_group module 2015-05-22 15:25:12 +02:00
Rene Moser
2d35caf68b zabbix_group: remove current module in favor of PR #346 2015-05-22 14:33:56 +02:00
Toshio Kuratomi
24390f1ac6 Merge pull request #514 from stansonhealth/newrelic_updates
Newrelic documentation, argspec updates
2015-05-20 20:09:54 -07:00
Tim Bielawa
9ae04256fe Allow nagios module to be licensed as gpl v2 or newer 2015-05-20 14:43:51 -04:00
tedder
c9e02dd7d8 use newer required_one_of syntax; unsure why there's app_name vs appname, so leaving it alone. 2015-05-19 10:59:49 -07:00
tedder
4cc8c6b340 they call it a key, not a token 2015-05-19 10:31:01 -07:00
tedder
a58e5a0efc fix 404'd url. There's no perfect replacement, but this is okay. 2015-05-19 10:30:18 -07:00
Sebastian Kornehl
fa2f250f14 Added eval for pasting tag lists 2015-05-19 15:05:31 +02:00
Toshio Kuratomi
576d94e8d4 Update module_utils "import" to the new-style
Fixes #505
2015-05-18 12:08:15 -07:00
Toshio Kuratomi
88eff11c04 Many more doc fixes 2015-05-15 12:12:26 -07:00
Brian Coca
08445418aa more string corrections 2015-05-14 10:45:32 -04:00
Brian Coca
edf519a0c2 moar quotes 2015-05-14 09:37:00 -04:00
Brian Coca
bceeba224f fix doc parsing by correctly quoting author 2015-05-14 09:19:24 -04:00
Greg DeKoenigsberg
66c83e7ae3 Adding author's github id 2015-05-13 16:16:54 -04:00
Greg DeKoenigsberg
a000653292 Adding author's github id 2015-05-13 16:15:54 -04:00
Greg DeKoenigsberg
feb71e82e3 Adding author's github id 2015-05-13 16:14:21 -04:00
Greg DeKoenigsberg
def8ae9c47 Adding author's github id
...though the real author is perhaps a mystery.
2015-05-13 16:13:31 -04:00
Greg DeKoenigsberg
81b696ca97 Adding author's github id 2015-05-13 16:11:01 -04:00
Greg DeKoenigsberg
13200d4c78 Adding author's github id 2015-05-13 16:06:43 -04:00
Greg DeKoenigsberg
0f5d8abdc9 Adding author's github id 2015-05-13 15:55:15 -04:00
Greg DeKoenigsberg
afc4e16551 Adding author's github id 2015-05-13 15:54:35 -04:00
Greg DeKoenigsberg
0738aafebd Adding author's github id 2015-05-13 15:53:59 -04:00
Greg DeKoenigsberg
f7a616f202 Formatting fix in author list 2015-05-13 15:51:34 -04:00
Greg DeKoenigsberg
d3615bc8d4 Adding author's github id 2015-05-13 15:51:08 -04:00