Module: check_mk
Branch: master
Commit: 1eddd4058c5092c7fef102f8638eb8031699c5e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1eddd4058c5092…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Wed Oct 23 19:45:01 2013 +0200
FIX: port handling when using oracle dbms used the wrong data type
---
doc/treasures/active_checks/check_sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/treasures/active_checks/check_sql
b/doc/treasures/active_checks/check_sql
index 4d803ed..d8d17cf 100755
--- a/doc/treasures/active_checks/check_sql
+++ b/doc/treasures/active_checks/check_sql
@@ -158,7 +158,7 @@ try:
db = cx_Oracle
if opt_port == None:
opt_port=1521
- cstring =
opt_user+"/"+opt_password+"@"+opt_hostname+":"+opt_port+"/"+opt_name
+ cstring =
opt_user+"/"+opt_password+"@"+opt_hostname+":"+str(opt_port)+"/"+opt_name
db_connection = db.connect(cstring)
else:
print "UNKNOWN - dbms not found"