Commit Graph

15 Commits (390aa7a75f9f2614e55bce4a748df54b4019b949)

Author SHA1 Message Date
Charles V Bock 7802a3a8c9 high_flap_threshold documentation correction
Changing description of high_flap_threshold to properly reflect its function.
2016-12-08 11:34:13 -05:00
James Moore 0ecaea3ac1 Added a source parameter for setting the JIT client name 2016-12-08 11:33:57 -05:00
Brian Coca 91ff5ce256 added missing verison_added 2016-12-08 11:33:48 -05:00
Mstislav Bobakov dcc841d8d6 Add custom parameter for a sensu_check. revert newline 2016-12-08 11:33:47 -05:00
Mstislav Bobakov b649a15a97 Add custom parameter for a sensu_check. Fixes.
JSON replaced within dict.
Added more docs.
2016-12-08 11:33:47 -05:00
Mstislav Bobakov 1665254453 Add custom parameter for a sensu_check 2016-12-08 11:33:47 -05:00
Toshio Kuratomi ad0d2c1747 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-12-08 11:33:44 -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
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
Anders Ingemann 655fa27dc7 Add sensu_check module 2016-12-08 11:32:52 -05:00