#!/usr/bin/env python # -*- coding: utf-8 -*- """Graphe des membres actifs présents à la Kfet""" import sys sys.path.append('/usr/scripts') from gestion.tools import whokfet action = ''.join(sys.argv[1:2]) if action == 'autoconfig': print "yes" elif action == 'config': whokfet.munin_config() else: whokfet.munin(whokfet.get_state())