Module: check_mk
Branch: master
Commit: 85cd3c7835dae9d2bcf19006e793f8191422851c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=85cd3c7835dae9…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Nov 12 15:38:34 2014 +0100
oracle_jobs: Try to make check compatible to old plugin outputs
---
checks/oracle_jobs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/oracle_jobs b/checks/oracle_jobs
index e9a514c..cf5eb0d 100644
--- a/checks/oracle_jobs
+++ b/checks/oracle_jobs
@@ -111,7 +111,7 @@ def check_oracle_jobs(item, params, info):
state = max(state, 1)
output.append(txt)
- if job_runtime == '':
+ if job_runtime == '' or job_runtime == 'SCHEDULED':
last_duration = 0
else:
last_duration =
int(job_runtime.replace('.',',').split(',',1)[0])