| 1 |
modules { |
| 2 |
module { |
| 3 |
name = "multicpu_module" |
| 4 |
path = "modmulticpu.so" |
| 5 |
} |
| 6 |
} |
| 7 |
|
| 8 |
/* Multi CPU DSO metric */ |
| 9 |
|
| 10 |
/* Additional metrics should be added to the |
| 11 |
collection group to represent each CPU |
| 12 |
discovered on the system. See available |
| 13 |
discovered metrics through ./gmond -m command. */ |
| 14 |
|
| 15 |
collection_group { |
| 16 |
collect_every = 10 |
| 17 |
time_threshold = 50 |
| 18 |
|
| 19 |
/* If using PCRE, you can enable all metrics for all CPUs by |
| 20 |
uncommenting the following metric template */ |
| 21 |
/* |
| 22 |
metric { |
| 23 |
name_match = "multicpu_([a-z]+)([0-9]+)" |
| 24 |
value_threshold = 1.0 |
| 25 |
title = "CPU-\\2 \\1" |
| 26 |
} |
| 27 |
*/ |
| 28 |
|
| 29 |
/* Manually describe each metric for each core individually |
| 30 |
as shown by the following commented example */ |
| 31 |
/* |
| 32 |
metric { |
| 33 |
name = "multicpu_user0" |
| 34 |
value_threshold = 1.0 |
| 35 |
title = "CPU-0 User" |
| 36 |
} |
| 37 |
metric { |
| 38 |
name = "multicpu_nice0" |
| 39 |
value_threshold = 1.0 |
| 40 |
title = "CPU-0 Nice" |
| 41 |
} |
| 42 |
metric { |
| 43 |
name = "multicpu_system0" |
| 44 |
value_threshold = 1.0 |
| 45 |
title = "CPU-0 System" |
| 46 |
} |
| 47 |
metric { |
| 48 |
name = "multicpu_idle0" |
| 49 |
value_threshold = 1.0 |
| 50 |
title = "CPU-0 Idle" |
| 51 |
} |
| 52 |
metric { |
| 53 |
name = "multicpu_wio0" |
| 54 |
value_threshold = 1.0 |
| 55 |
title = "CPU-0 wio" |
| 56 |
} |
| 57 |
metric { |
| 58 |
name = "multicpu_intr0" |
| 59 |
value_threshold = 1.0 |
| 60 |
title = "CPU-0 intr" |
| 61 |
} |
| 62 |
metric { |
| 63 |
name = "multicpu_sintr0" |
| 64 |
value_threshold = 1.0 |
| 65 |
title = "CPU-0 sintr" |
| 66 |
} |
| 67 |
*/ |
| 68 |
} |