Module: check_mk
Branch: master
Commit: 17d2f8969d82d8e634567373f7f044c4fbde8e4a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=17d2f8969d82d8…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Oct 27 13:02:49 2014 +0100
oracle_instance: Fixed if condition
---
checks/oracle_instance | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/oracle_instance b/checks/oracle_instance
index 664c468..d814312 100644
--- a/checks/oracle_instance
+++ b/checks/oracle_instance
@@ -104,7 +104,7 @@ def check_oracle_instance(item, params, info):
state, infotext = state_marker(state, infotext, 'logins',
logins, 'RESTRICTED')
# the new internal database _MGMTDB from 12.1.0.2 is always in
NOARCHIVELOG mode
- if name != '_MGMTDB' and db_unique_name != '_mgmtdb' and
sid != '-MGMTDB':
+ if name != '_MGMTDB' and sid != '-MGMTDB':
infotext += ', Log Mode %s' % (log_mode.lower())
state, infotext = state_marker(state, infotext, 'archivelog',
log_mode, 'ARCHIVELOG')
state, infotext = state_marker(state, infotext,
'noarchivelog',log_mode, 'NOARCHIVELOG')