/etc/ganglia/conf.d/cpu_stats.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 | modules {
module {
name = "cpu_stats"
language = "python"
}
}
collection_group {
collect_every = 10
time_threshold = 45
metric {
name = "procs_blocked"
title = "Processes blocked"
value_threshold = 0.0
}
metric {
name = "procs_created"
title = "Processes/Threads created"
value_threshold = 0.0
}
metric {
name_match = "softirq_(.+)"
value_threshold = 1.0
}
metric {
name_match = "cpu_(.+)"
value_threshold = 1.0
}
}
|