Module: check_mk
Branch: master
Commit: 28f56214f4a61309082139b3e77d4a28a6b72850
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=28f56214f4a613…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Sep 2 11:35:05 2014 +0200
logwatch: Fixed inventory
---
checks/logwatch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/logwatch b/checks/logwatch
index bd4065e..549ea5a 100644
--- a/checks/logwatch
+++ b/checks/logwatch
@@ -83,7 +83,7 @@ def inventory_logwatch(info):
if groups:
continue
else:
- inventory.append((logfile, None))
+ inventory.append((logfile, []))
return inventory
@@ -283,7 +283,7 @@ def inventory_logwatch_groups(info):
for group in groups:
if group not in added_groups:
added_groups.append(group)
- inventory.append((group, None ))
+ inventory.append((group, [] ))
return inventory
def check_logwatch_groups(item, params, info):