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
2016-01-11 13:06:22 -08: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
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
Brian Coca
1659af1541
made sensu_check 2.4 friendly
2015-06-19 12:05:50 -04:00
Anders Ingemann
3f3a73da37
Add sensu_check module
2015-06-19 09:58:14 +02:00