File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ vm_stats
2+ ===============
3+
4+ Python module for ganglia 3.1.
5+
6+ This module allows you to collect VM metrics.
7+ are values that are collected from
8+
9+ /proc/vmstat
10+
11+
12+ Install
13+ ===============
14+
15+ Copy vm_stats.py from python_modules to your python modules directory e.g.
16+
17+ /usr/lib64/ganglia/python_modules
18+
19+ and vm_stats.pyconf to
20+
21+ /etc/ganglia/conf.d/
22+
23+ If you would like only specific metrics emitted you will need to comment out the name_match section
24+
25+ metric {
26+ name = "vm_numa_interleave"
27+ title = "NUMA interleave"
28+ value_threshold = 1.0
29+ }
30+
31+ Restart Gmond and you are done.
32+
33+ ## AUTHOR
34+
35+ Author: Vladimir Vuksan https://github.com/vvuksan
Original file line number Diff line number Diff line change 1+ modules {
2+ module {
3+ name = "vm_stats"
4+ language = "python"
5+ }
6+ }
7+
8+ collection_group {
9+ collect_every = 30
10+ time_threshold = 45
11+
12+ metric {
13+ name_match = "vm_(.+)"
14+ value_threshold = 1.0
15+ }
16+
17+ }
You can’t perform that action at this time.
0 commit comments