Commit Graph

13 Commits (1084bb31b802e05c722e7114c24184c1d7b541a9)

Author SHA1 Message Date
Brian Coca 5b61c75fa5 added missing verison_added 9 years ago
Mstislav Bobakov c4aa5ee024 Add custom parameter for a sensu_check. revert newline 9 years ago
Mstislav Bobakov 6ef3697c52 Add custom parameter for a sensu_check. Fixes.
JSON replaced within dict.
Added more docs.
9 years ago
Mstislav Bobakov 8e35db0e38 Add custom parameter for a sensu_check 9 years ago
Toshio Kuratomi d6af6f8477 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
9 years ago
Anders Ingemann e0f513a903 Fix state & metric description
Also: add state=absent to last example
9 years ago
Anders Ingemann 9342c16e78 Add github ID to author field in sensu_check
As proposed by @gregdek in #983
9 years ago
Darren Worrall b0926125c2 Fix json loading in sensu_check
Fixes `AttributeError: 'str' object has no attribute 'read'` when the
check path exists
9 years ago
Darren Worrall 4ead053031 Initialise `stream` variable
Fixes `UnboundLocalError: local variable 'stream' referenced before
assignment` when the check path doesnt exist
9 years ago
Brian Coca 286bc3d9dc forgot finally 2.4 syntax 10 years ago
Brian Coca eeb9d34812 also fixed exceptions 10 years ago
Brian Coca 1659af1541 made sensu_check 2.4 friendly 10 years ago
Anders Ingemann 3f3a73da37 Add sensu_check module 10 years ago