-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
83 lines (61 loc) · 2.7 KB
/
README
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Changelog
=========
v1.3.5: Add a free space metric.
Correct metric name for root filesystem.
v1.3.4: Explicitly define some buffer sizes.
v1.3.3: Tweak README: requires ganglia headers > 3.3.1
v1.3.2: Adapt to use gm_file.h instead of local copies of Ganglia
helper functions (requires ganglia headers > 3.3.2)
v1.3.1: Tweak to build without a local copy of the full Ganglia source tree
v1.3.0: add filesystem capacity metrics
v1.2.0: improve multiCPU metric performance
v1.1.0: rename metric names for IO to follow ganglia-modules-solaris
conventions and units
v1.0.0: initial release with IO module code developed by JB Kim and
multiCPU code contributed to Ganglia by Brad Nicholes
Updated metric names and units
==============================
v1.0.0:
- metric names follow the original naming convention for mod_iostat
- values reported are in KB not Bytes, so you might see `K' twice in the
rrd graph (and if you see K twice, it means you are looking at MBytes)
v1.1.0:
- metric names follow the convention of ganglia-modules-solaris
(similar to names in kstat, e.g. io_nwrite = number of bytes written)
- values reported in unscaled units (bytes and seconds) rather than
in KB and milliseconds
When does a module belong in ganglia-modules-linux?
===================================================
Does a module belong in ganglia-modules-linux or in the main gmond
repository (monitor-core on Github)?
If the answers to these questions is YES, the module probably belongs
in this repository:
- does the module access files under /proc that only exist on Linux?
- does it depend on C libraries that only exist on Linux?
- does it use syscalls or special parameters to syscalls that only
exist on Linux?
If the C library calls made by the module are POSIX, then the module
probably belongs in the main monitor-core repository as it
may work for users on other platforms, even if you can't test
those platforms yourself.
modmulticpu
===========
This version of modmulticpu is based on the original module contributed
by Brad Nicholes to the main Ganglia tree.
It has been enhanced to access the array of CPU data in a more efficient
manner.
Building (if using code from git)
=================================
Prepare the tree with this command:
mkdir m4 && autoreconf --install
Then follow the steps below to build.
You will need the source code for the main monitor-core repository in
order to compile this code.
Building
========
Sample configure command for building the modules:
GANGLIA_INCLUDES="-I/some/path/to/monitor-core/include -I/some/path/to/monitor-core/lib"
./configure \
CFLAGS="`apr-1-config --cflags --includes` $GANGLIA_INCLUDES" \
--enable-shared --disable-static
make