guys-i've just uploaded a working 2.6.0 snapshot. there are some rough edges that i need to clean up but all the guts are there. gmond now collects and send metrics.
you can download the snapshot from http://matt-massie.com/ganglia/ganglia-2.6.0.200501141540.tar.gzif i had the energy, i'd update conf.pod and write more documentation but here is the short of it.
after you open the tarball and configure && make take a look at the gmond.conf. the format is the same as in previous snapshots but there is now a couple collection_groups defined.
collection_group {
collect_once = true
time_threshold = 20
metric {
name = "heartbeat"
}
}
collection_group {
collect_every = 2
time_threshold = 60
metric {
name = "cpu_user"
}
metric {
name = "cpu_system"
}
metric {
name = "cpu_idle"
}
metric {
name = "cpu_nice"
}
}
collection_group {
collect_every = 5
metric {
name = "mem_free"
}
metric {
name = "mem_total"
}
}
the first group is the host heartbeat message that is set to send every 20 seconds. the next two groups are self-explanatory.
each collection_group has a "collect_once" or "collect_every" attribute which tells gmond how often to collect all the metrics in the group.
each collection_group has a "time_threshold" which tells gmond the maximum about of time that can pass before all the metrics in the group are sent.
each metric has a "value_threshold" attribute (not shown above) which if surpassed will cause gmond to send all metrics in the group to be sent (even if only one member surpassed the threshold).
in the future (not now.. yemi might snap :) ) we can add per metric attributes like "absolute_max", "alert_max", "warning_max" etc. the new config file format opens up tons of possibilities for the future.
btw, i'm sitting here watching gmond running on my windows box. this snapshot will run happily on w2k/cygwin (and i assume most other windows versions). the data is accurate too (go figure).
this version of gmond will use dramatically less memory.i need to add support for gmetric data... process GMOND_STARTED data from heartbeat... process LOCATION info... and some other odds and ends.. setup/register the platform specific metrics.
i'll send more details early next week. i want to get a beta cleaned up and ready to go asap.
-matt
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E F40B 242A 5984 ACBC 91D3'
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
--Benjamin Franklin, Historical Review of Pennsylvania, 1759
signature.asc
Description: OpenPGP digital signature
