Commit graph

329 commits

Author SHA1 Message Date
nitzmahone
81c7630c01 fix statusio_maintenance exception handling 2016-06-20 13:13:09 -07:00
Benjamin Copeland
45ca94af0a Adding statusio_maintenance module (#1394) 2016-06-20 12:50:23 -04:00
Anders Ingemann
483c96681e Sensu subscription bugfixes (#2380)
* Fix syntax for exception catching

* Friendlier error message as per suggestion by @bcoca
2016-06-06 22:17:23 -04:00
Artem Alexandrov
5d900b7a77 zabbix_hostmacro: Fixed basic auth (#2330) (#2331) 2016-06-06 22:53:12 +02:00
Anders Ingemann
575fc6e87b Add sensu_subscription module (#205) 2016-06-06 10:56:33 -04:00
Toshio Kuratomi
4b4557eb97 Fix exception catching for python3 2016-05-25 11:58:49 -07:00
Benjamin Curtis
76cbe30645 Add honeybadger_deployment module 2016-05-25 11:58:49 -07:00
Hagai Kariti
7e08d01010 bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
2016-05-23 09:29:26 +02:00
Michael Scherer
c8864c3220 Use a python3 compatible notation for octal (#2238) 2016-05-17 10:33:12 -07:00
Adrian Likins
e880bc8f75 Merge pull request #2119 from hypergig/patch-2
message template variable fix
2016-05-16 10:43:51 -04:00
Lukáš Lalinský
3a90f78cca monitoring/zabbix_host: Fix (no) proxy handling
When updating a host with no proxy explicitly set,
the host was always reported as changed, because it was
comparing `"0"` and `None`.
2016-05-14 11:07:24 +02:00
Toshio Kuratomi
f953d5dc0c Docs fixes 2016-05-13 11:01:32 -07:00
Charles V Bock
371c411ac3 high_flap_threshold documentation correction
Changing description of high_flap_threshold to properly reflect its function.
2016-05-09 10:11:17 -07:00
René Moser
eab5892944 Merge pull request #1867 from Censio/rhunter-monit-startup
monit startup fix
2016-05-03 22:51:26 +02:00
Jordan Cohen
c0013af14c doc update to demostrate message template vars 2016-05-02 07:30:15 -04:00
René Moser
6049d03d3a Merge pull request #2089 from mscherer/fix_datadog
2 small fixes for datadog
2016-04-29 10:03:12 +02:00
Michael Scherer
e07a52b499 Mark api_key as no_log to avoid potential leaks (#2048) 2016-04-29 09:56:28 +02:00
Jordan Cohen
df055265d4 message template variable fix
Due to ansible/jinja2 templating, it is difficult to use the monitor message template variables as they need to be surrounded by `{{` and `}}`, this change addresses that issue by allowing the user to use `[[` and `]]` instead.
2016-04-27 12:32:27 -04:00
Markus Ostertag
d5ab3dc0f3 Change success status code to 202
As I already mentioned here: a1b1182662 (diff-d04a476e5d71372918cb6e7e5b39a683R120) @jimi-c added some "hidden" additional check in his urllib commit and broke the whole module for everybody as Datadog answers with an 202 in case of success (http://docs.datadoghq.com/api/#troubleshooting).
2016-04-26 14:39:00 +02:00
Michael Scherer
1b18c74918 Remove unused import of 'socket' module 2016-04-22 17:33:05 +02:00
Michael Scherer
ed4dd65057 Mark api_key as no_log, since that's supposed to be kept secret 2016-04-22 17:33:05 +02:00
Michael Scherer
ba74516640 Fix aibrake 2016-04-21 21:53:37 +02:00
Michael Scherer
14c323cc8e Fix default url in airbrake_deployment doc (#2078) 2016-04-21 13:24:19 +02:00
Michael Scherer
f9f00ef404 Mark the token as sensitive, since it shouldn't be printed (#2043) 2016-04-18 11:19:14 -04:00
Jordan Cohen
359b2abebc idempotency fix (#2024) 2016-04-16 14:10:49 +02:00
René Moser
ab656bb7dd Merge pull request #1866 from Jimdo/monitor_thresholds
Allow Datadog metric alerts to define multiple thresholds
2016-03-30 12:09:12 +02:00
Julien Recurt
cd1114a2bd Add option to use ZabbixApi via auth basic protection 2016-03-25 19:00:17 +01:00
René Moser
141e3f045c Merge pull request #1684 from foozmeat/patch-1
Added a source parameter for setting the JIT client name
2016-03-19 13:55:51 +01:00
René Moser
69b7175932 Merge pull request #1084 from ritzk/zabbix_inventory-mode
zabbix_host : add the ability to set inventory_mode #1005
2016-03-19 13:26:31 +01:00
René Moser
6e15dec236 Merge pull request #1853 from tomgoto/zabbix_host_delete_version
change zabbix host.delete() parameter for newer API
2016-03-19 01:24:19 +01:00
Paul Seiffert
2f0edbeccb Allow Datadog metric alerts to define multiple thresholds 2016-03-17 20:32:06 +01:00
René Moser
77552d780f Merge pull request #1692 from m4mnux/devel
Replace deprecated zabbix api method 'exists' to support zabbix 3.0
2016-03-16 22:25:50 +01:00
René Moser
eb9e57407e Merge pull request #1763 from eikef/zabbix30apiexistsremoval
Replace deprecated exists API for Zabbix 3.0 compatibility
2016-03-15 23:02:19 +01:00
René Moser
c6afbc9e17 Merge pull request #1761 from kepstin/zabbix-3-0
zabbix_maintenance: Stop using api removed in zabbix 3.0
2016-03-15 22:59:24 +01:00
t.goto
c19a721765 add exit_json
add exit_json code to succesfully exit, when you want to delete the already
deleted host.
Without this, playbook fails with
`Specify at least one group for creating host`
which is not correct message.
2016-03-15 16:19:08 +09:00
t.goto
f46e193718 change host.delete() parameter for newer ZBX api.
As of Zabbix API 2.4, host.delete() will not takes parameter with
`hostid` property but only the array of it.
https://www.zabbix.com/documentation/2.2/manual/api/reference/host/delete

fix #1800
2016-03-15 16:12:56 +09:00
Ritesh Khadgaray
1a29807e96 zabbix_host : add the ability to set inventory_mode 2016-03-14 22:27:44 +05:30
Brian Coca
083383a2c7 Merge pull request #1753 from eikef/issue1616
Fixes #1616, check whether interface-list exits before querying its length
2016-03-03 18:48:45 -05:00
Brian Coca
904b5938a0 Merge pull request #706 from eikef/devel
return as unchanged if macro update is unnecessary
2016-03-03 18:37:42 -05:00
Brian Coca
cb291d3f82 Merge pull request #1618 from plldp/devel
Update zabbix_host.py
2016-03-01 00:15:05 -05:00
Eike Frost
2810e6542a Replace deprecated exists API for Zabbix 3.0 compatibility 2016-02-29 22:58:23 +00:00
Calvin Walton
369af1c8c9 zabbix_maintenance: Stop using api removed in zabbix 3.0 2016-02-29 11:19:45 -05:00
Eike Frost
6acc369377 Check whether interface-list exits before querying its length 2016-02-28 20:12:01 +00:00
Eike Frost
47466242a3 Add explicit argument_spec types to avoid misinterpretation and subsequent errors (i.e. getting an int instead of the expected str) 2016-02-28 19:35:17 +00:00
Eike Frost
2a750bb8db return as unchanged if macro update is unnecessary 2016-02-25 01:52:34 +01:00
Miguel Martín
278b987017 Replace deprecated zabbix api method 'exists' to support zabbix 3.0 2016-02-19 20:01:08 +01:00
James Moore
a1af384274 Added a source parameter for setting the JIT client name 2016-02-17 18:04:39 -08:00
Ronny
7d79dff1d2 Update zabbix_host.py
Use existing proxy when updating a host unless proxy is specified. Before change proxy was always set to none(0) when updating.
2016-02-05 13:33:50 +01:00
Brian Coca
5b61c75fa5 added missing verison_added 2016-02-01 23:56:58 -05:00
Mstislav Bobakov
c4aa5ee024 Add custom parameter for a sensu_check. revert newline 2016-01-28 15:44:57 +03:00