/etc/ganglia/conf.d/example.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 | modules {
module {
name = "example"
language = "python"
enabled = "no"
param RandomMax {
value = 600
}
param ConstantValue {
value = 112
}
}
}
#/* Collection groups for the
# example python module */
collection_group {
collect_every = 10
time_threshold = 50
metric {
name = "PyRandom_Numbers"
value_threshold = 1.0
}
}
collection_group {
collect_once = yes
time_threshold = 20
metric {
name = "PyConstant_Number"
}
}
|