Module: check_mk
Branch: master
Commit: 0e41d37800df84b70ae655804c6a7c723adad9c1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0e41d37800df84…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue May 9 15:11:50 2017 +0200
minor cleanup
Change-Id: I36309eeef0a1e025df6cf3ea61f5371f7a2d48b0
---
checks/oracle_tablespaces | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/checks/oracle_tablespaces b/checks/oracle_tablespaces
index 93ab8d4..a2a9a5b 100644
--- a/checks/oracle_tablespaces
+++ b/checks/oracle_tablespaces
@@ -279,9 +279,8 @@ def check_oracle_tablespaces(item, params, parsed):
if incsize == datafile["block_size"]:
uses_default_increment = True
- incs = free_extension / incsize
- num_increments += incs
- increment_size += incsize * incs
+ num_increments += (free_extension / incsize)
+ increment_size += free_extension
if db_version >= 11:
# Newer versions of Oracle uses every time the remaining space of
the