/etc/ganglia/conf.d/multi_interface.pyconf is in ganglia-monitor-python 3.6.0-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | modules {
module {
name = "multi_interface"
language = "python"
# Leaving the interfaces value empty will result in all interfaces being
# used ie. anything you can see in /proc/net/dev. If you only want to
# monitor specific ones change value to space delimited list of
# network interfaces e.g. value = "eth0 eth1 bond0"
param interfaces {
value = ""
}
# Alternatively leave the interfaces list at value = "" then exclude
# specific interfaces e.g. dummy, lo etc.
param excluded_interfaces {
value = "dummy0 eth0_rename tunl0 gre0"
}
}
}
collection_group {
collect_every = 15
time_threshold = 45
metric {
name_match = "rx_(.+)"
value_threshold = 1.0
}
metric {
name_match = "tx_(.+)"
value_threshold = 1.0
}
}
|