From c54149c7905c6731ee849bf2377f819cace99836 Mon Sep 17 00:00:00 2001 From: Brice Dubost Date: Thu, 19 Mar 2009 20:45:17 +0100 Subject: [PATCH] [audimat] Le script marche quand les uplink sont mal renseignes darcs-hash:20090319194517-c9953-2630550c32528296c59b09045dccf073663b38dc.gz --- munin/audimat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/munin/audimat b/munin/audimat index fad5d707..a855d650 100644 --- a/munin/audimat +++ b/munin/audimat @@ -83,7 +83,9 @@ if 'generate' in sys.argv : else : bat = switch[-3].lower() sw_num = int(switch[-1]) - + + if bat not in uplink_prises: #Adg fait de la merde avec l'annuaire + continue for ip, liste in sw.multicast().items() : stats.setdefault(ip,[]) for port in liste :