Module: check_mk
Branch: master
Commit: dd4fdc1dc3770feb19f31dc1fae72521091e026b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dd4fdc1dc3770f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Dec 5 09:46:42 2014 +0100
Try to fix check_sql for Python 2.6 installations
---
doc/treasures/active_checks/check_sql | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/treasures/active_checks/check_sql
b/doc/treasures/active_checks/check_sql
index 846085e..51b7aa3 100755
--- a/doc/treasures/active_checks/check_sql
+++ b/doc/treasures/active_checks/check_sql
@@ -171,6 +171,7 @@ try:
database=opt_name, user=opt_user, password=opt_password )
elif opt_dbms == "oracle":
+ sys.path.append('/usr/lib/python2.6/site-packages')
sys.path.append('/usr/lib/python2.7/site-packages')
import cx_Oracle
db = cx_Oracle