Commit graph

253 commits

Author SHA1 Message Date
knakayama
45f4568753 Fix argument type for zabbix_screen 2015-09-20 18:18:58 +09:00
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
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