From ad72f36baa169cecbaf24a98b26859136ef5cda7 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Thu, 6 Aug 2015 22:42:27 +0200 Subject: [PATCH] munin: switchs en fqdn --- Python/etc/munin/munin.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Python/etc/munin/munin.conf b/Python/etc/munin/munin.conf index b19395d..91431df 100755 --- a/Python/etc/munin/munin.conf +++ b/Python/etc/munin/munin.conf @@ -49,10 +49,9 @@ munin_cgi_graph_jobs 6 #============================== Les switchs ================================ #Il ne s'agit pas de clients bcfg2 et ne sont par ailleurs pas des nœuds munin """) -switchs = [ x[:x.rindex('.crans.org')] for x in annuaires_pg.all_switchs(hide=[]) ] -for host in switchs: +for host in annuaires_pg.all_switchs(hide=[]): out('[switchs.crans.org;%s]' % (host,)) - out(' address localhost\n') + out(' address localhost') out("""