Ganglia
From Wikitech
(Difference between revisions)
(no cluster-wide gmond.conf anymore) |
(version mismatch problem) |
||
| Line 4: | Line 4: | ||
**installed on each machine using <tt>ganglia-monitor-core-gmond-2.5.6-1.i386.rpm</tt> | **installed on each machine using <tt>ganglia-monitor-core-gmond-2.5.6-1.i386.rpm</tt> | ||
**<s><tt>/etc/gmond.conf</tt> on each machine '''MUST''' be a symlink to <tt>/home/wikipedia/gmond.conf</tt>. ''If the default gmond.conf is used, ganglia stats for the entire cluster will not be recorded in the right place and will be effectively lost.'' (But see ''merging RRDs'' below.)</s> | **<s><tt>/etc/gmond.conf</tt> on each machine '''MUST''' be a symlink to <tt>/home/wikipedia/gmond.conf</tt>. ''If the default gmond.conf is used, ganglia stats for the entire cluster will not be recorded in the right place and will be effectively lost.'' (But see ''merging RRDs'' below.)</s> | ||
| + | |||
| + | ==version mismatches== | ||
| + | *things go wrong when gmond and gmetad have different versions. or is it when peer gmonds have different versions? something like that anyway | ||
==zwinger== | ==zwinger== | ||
Revision as of 12:54, 27 February 2005
- gmetad
- installed on zwinger using ganglia-monitor-core-gmetad-2.5.6-1.i386.rpm
- gmond
- installed on each machine using ganglia-monitor-core-gmond-2.5.6-1.i386.rpm
/etc/gmond.conf on each machine MUST be a symlink to /home/wikipedia/gmond.conf. If the default gmond.conf is used, ganglia stats for the entire cluster will not be recorded in the right place and will be effectively lost. (But see merging RRDs below.)
Contents |
version mismatches
- things go wrong when gmond and gmetad have different versions. or is it when peer gmonds have different versions? something like that anyway
zwinger
RRDs (ganglia statistics, in this case) are in /home/wikipedia/rrds there is some old data in the default location, /var/lib/ganglia/rrds
system-wide ganglia restart
If something is amiss with the state of ganglia, and reconfiguring and restarting gmetad isn't enough, do this:
#!/bin/bash /etc/init.d/gmetad stop dsh -a /etc/init.d/gmond stop sleep 5 dsh -a /etc/init.d/gmond start /etc/init.d/gmetad start
merging RRDs
It is possible, in principle, to merge RRDs using a perl script which can be found on the net somewhere. Looks like a royal pain though.