diff --git a/knot_ b/knot_ index fadf50c..3322d45 100755 --- a/knot_ +++ b/knot_ @@ -67,7 +67,6 @@ def proto(stats, config): if __name__ == '__main__': # Retrieve datas : file = getenv('stats_file_path') - munin_time = getenv('munin_time', 300) with open(file, "r") as stats_file: stats = yaml.safe_load(stats_file) if "mod-stats" not in stats: @@ -77,8 +76,8 @@ if __name__ == '__main__': else: config = False if "responses" in argv[0]: - responses(stats, config, munin_time) + responses(stats, config) elif "proto" in argv[0]: - proto(stats, config, munin_time) + proto(stats, config) else: pass # Nothing happens if no "munin underscore args"