Module: check_mk
Branch: master
Commit: 6772adc92a665d1d97f00344f9f3a1a982f540dc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6772adc92a665d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 25 19:27:10 2011 +0100
Fixed var typo in drbd check
A var typo in the drbd check prevented the inventory of the general drbd
check. The typo has been fixed now.
Reported-by: Andreas.Behler <Andreas.Behler(a)gkvi.de>
Signed-off-by: Lars Michelsen <lm(a)mathias-kettner.de>
---
checks/drbd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/drbd b/checks/drbd
index c9af72e..dd2cf5a 100644
--- a/checks/drbd
+++ b/checks/drbd
@@ -173,7 +173,7 @@ def inventory_drbd(checktype, info):
if parsed['cs'] == 'Unconfigured':
continue
- if checktye == 'drbd':
+ if checktype == 'drbd':
levels = '( [ "%s", "%s" ], [ "%s",
"%s" ] )' % \
(parsed['ro'][0], parsed['ro'][1],
parsed['ds'][0], parsed['ds'][1])