Konstantin Manna
19da801665
bugfix: use correct function close calls
2016-12-08 11:33:21 -05:00
Brian Coca
c54f2c0a77
minor docfix
2016-12-08 11:33:20 -05:00
knakayama
f8306c76ed
Fix argument type for zabbix_screen
2016-12-08 11:33:20 -05:00
Brian Coca
1e40b86303
minor doc fixes nagios
2016-12-08 11:33:20 -05:00
vaupelt
e1fde967be
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.
2016-12-08 11:33:20 -05:00
Anders Ingemann
2737c891bc
Fix state & metric description
...
Also: add state=absent to last example
2016-12-08 11:33:19 -05:00
Anders Ingemann
21be3bceff
Add github ID to author field in sensu_check
...
As proposed by @gregdek in #983
2016-12-08 11:33:18 -05:00
Darren Worrall
0a2a10e395
Fix json loading in sensu_check
...
Fixes `AttributeError: 'str' object has no attribute 'read'` when the
check path exists
2016-12-08 11:33:18 -05:00
Darren Worrall
b40a8af999
Initialise `stream` variable
...
Fixes `UnboundLocalError: local variable 'stream' referenced before
assignment` when the check path doesnt exist
2016-12-08 11:33:18 -05:00
Tim Bielawa
45874daeb1
Fix capitalization in nagios 'services' parameter comment
2016-12-08 11:33:14 -05:00
Amanpreet Singh
3459f966d8
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
Amanpreet Singh
47235987b2
Add new module: pagerduty_alert - trigger, acknowledge or resolve pagerduty incidents
2016-12-08 11:33:14 -05:00
Brian Coca
deb36b00d0
added missing license headers fixes #508
2016-12-08 11:33:06 -05:00
Toshio Kuratomi
f13b063224
Port uptimerobot to fetch_url
2016-12-08 11:33:05 -05:00
Toshio Kuratomi
8be4ffd07c
Use fetch_url's basic auth instead of code specific to this module
2016-12-08 11:33:05 -05:00
Toshio Kuratomi
a0411ff0cd
Port librarto_annotation from urllib2 to fetch_url
2016-12-08 11:33:04 -05:00
Toshio Kuratomi
a4859e1087
Clean up unneeded urllib2 imports
2016-12-08 11:33:01 -05:00
Bruce Pennypacker
2aa148a746
changed 'deleted' to 'absent'
2016-12-08 11:32:58 -05:00
Bruce Pennypacker
07aa5bc09a
Updated 'ongoing' to also return properly formatted json
2016-12-08 11:32:58 -05:00
Bruce Pennypacker
461beed833
Fixed results & 'Changed'. Added 'deleted' action. Added ability to specify multiple services.
2016-12-08 11:32:57 -05:00
Eike Frost
754df8ff20
add zabbix proxy support to zabbix_host
2016-12-08 11:32:53 -05:00
Brian Coca
a4a17630cd
forgot finally 2.4 syntax
2016-12-08 11:32:53 -05:00
Brian Coca
bfa63e01e5
also fixed exceptions
2016-12-08 11:32:53 -05:00
Brian Coca
027aaed757
made sensu_check 2.4 friendly
2016-12-08 11:32:53 -05:00
Toshio Kuratomi
5afc244147
Modify a few more modules to not conditionalize urllib(2) import.
2016-12-08 11:32:52 -05:00
Toshio Kuratomi
16bd2c7357
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
2016-12-08 11:32:52 -05:00
Anders Ingemann
655fa27dc7
Add sensu_check module
2016-12-08 11:32:52 -05:00
Greg DeKoenigsberg
c65a612d1f
Changes to author formatting, remove emails
2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg
b9e57a794f
Adding author's github id
2016-12-08 11:32:49 -05:00
Jhonny Everson
78e256f5c1
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.
2016-12-08 11:32:49 -05:00
Jhonny Everson
7a10716ceb
Adds handler for error responses
2016-12-08 11:32:49 -05:00
Sebastian Kornehl
20b75901aa
docs: removed default when required is true
2016-12-08 11:32:48 -05:00
Sebastian Kornehl
6c143d62ba
Added datadog_monitor module
2016-12-08 11:32:48 -05:00
Lorenzo Luconi Trombacchi
7817b69a1f
status function was called twice
2016-12-08 11:32:47 -05:00
Lorenzo Luconi Trombacchi
83667961bb
fix a problem with status detection after unmonitor command
2016-12-08 11:32:47 -05:00
Lorenzo Luconi Trombacchi
9ee857180b
added lower function for statuses
2016-12-08 11:32:47 -05:00
Kevin Klinemeier
5742c4ae26
Updated tags example to an actual datadog tag
2016-12-08 11:32:47 -05:00
Brian Coca
b6cf79e061
push list nature of tags into spec to allow both for comma delimited strings and actual lists
2016-12-08 11:32:46 -05:00
Brian Coca
8a8ef770c7
updated docs for 2.0
2016-12-08 11:32:46 -05:00
Michael Gröning
3061a029d6
fix bugs
2016-12-08 11:32:46 -05:00
Michael Gröning
87f6507fee
improved docs
2016-12-08 11:32:46 -05:00
Michael Gröning
8015b8c979
divided between host an service downtimes
2016-12-08 11:32:45 -05:00
Michael Gröning
8a209ed30b
add function for servicegrup downtimes
2016-12-08 11:32:45 -05:00
Todd Zullinger
18d6d874e1
monitoring/nagios: Allow comment to be specified
...
The default remains 'Scheduling downtime' but can be overridden.
2016-12-08 11:32:45 -05:00
Greg DeKoenigsberg
0ecedfeb25
Revert "Added eval for pasting tag lists"
2016-12-08 11:32:45 -05:00
Sebastian Kornehl
9cca3a5d17
Added eval for pasting tag lists
2016-12-08 11:32:45 -05:00
Toshio Kuratomi
dd6436e398
Fix documentation formatting
2016-12-08 11:32:43 -05:00
Rene Moser
359ba023e3
zabbix_group: improve params
2016-12-08 11:32:43 -05:00
Rene Moser
a497a5a2a3
zabbix_group: add backword compatibility
...
* add alias host_group for host_groups
* add choices for param state
2016-12-08 11:32:43 -05:00
Rene Moser
d944e2e9ea
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.
2016-12-08 11:32:43 -05:00