from check_jobsd.baculaconf import check_findlogsderror, findlogsderror
import yaml
def __run__(params):
try:
fileconf=params.get('fileconf')
filejson=params.get('filejson')
return check_findlogsderror(filejson)
except Exception, e:
return [1, 'Critical - %s' % repr(e)]