/etc/ganglia/conf.d/traffic1.pyconf.disabled 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 38 39 40 41 42 43 44 45 46 47 48 | modules {
module {
name = "traffic1"
language = "python"
param target_device {
value = "bond0.2"
}
param spoof_host {
value = "10.10.0.1:lvs"
}
}
}
collection_group {
collect_every = 15
time_threshold = 90
metric {
name = "recv_bytes_bond0.2"
title = "Received bytes/sec"
value_threshold = 0.0
}
metric {
name = "recv_pkts_bond0.2"
title = "Received pkts/sec"
value_threshold = 0.0
}
metric {
name = "recv_errs_bond0.2"
title = "Received error pkts/sec"
value_threshold = 0.0
}
metric {
name = "trans_bytes_bond0.2"
title = "Transmitted bytes/sec"
value_threshold = 0.0
}
metric {
name = "trans_pkts_bond0.2"
title = "Transmitted pkts/sec"
value_threshold = 0.0
}
metric {
name = "trans_errs_bond0.2"
title = "Transmitted error pkts/sec"
value_threshold = 0.0
}
}
|