Commit 77b2d49c authored by Daniel Stan's avatar Daniel Stan

munin: no diskstat plugin si iscsi

Car ça fait maaaaassssss graphes à tracer en plus, dyson souffre.
parent 2acb9418
......@@ -22,6 +22,9 @@ import tempfile
from hosts_plugins import hosts_plugins, general_plugins
from gestion.config.services import services
# Plugins munin classiques à ignorer
IGNORE_PLUGINS = (
'apt_all',
......@@ -39,6 +42,13 @@ IGNORE_PLUGINS = (
'vlan_',
)
if socket.gethostname() in services.services.get('iscsi', []):
IGNORE_PLUGINS += (
'diskstat',
'diskstats',
'diskstat_',
)
# Chemin d'accès aux plugins munin
MUNIN_PATH = "/usr/share/munin/plugins"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment