OK.

I was wrong with my previous post. It DOES look like ganglia will start to display my new metrics in the host view. But I'm still having some problems.

The main issue is that the rrd graphs for my metrics don't contain historical data.

For example they just say "now 1.00" which for my mysql_threads metric is totally correct since this is a test box that I'm setting these metrics up on and has no running servers connected (hence has only one thread).

The problem is that there is no graph data for the last hour of this data even though I run gmetric every two minutes via crontab.

I also setup a memcached gmetric script which connects to a memcached node, dumps all stats, and then runs gmetric across them.

There are about 15 stats that I want to log.

I'm having the same problem with the historical data for my memcached stats but a second problem is that 1/2 of the RRD files for my memcached nodes don't exist on disk.

The images come up as broken and then when I tail my Apache error log I get:

ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_bytes_written.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_cmd_get.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_curr_connections.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_curr_items.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_get_misses.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_get_hits.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_rusage_system.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_time.rrd': No such file or directory ERROR: opening '/var/lib/ganglia/rrds/db/10.0.0.12/memcached_total_connections.rrd': No such file or directory

Which explains a lot.

Also... besides the NOW consolidation function could I suggest 3 more?

AVG, MAX, and MIN. For a given time range these are VERY useful. It should just be a tweak of your rrdtool cmdline.

We use this internally but ironically don't use the NOW function which might be nice.

Also... it would be nice if there was documentation for this. When I get it all setup I'll write a HOWTO Setup GMetric with Ganglia to create custom metrics.

Kevin

--

Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an invite! Also see irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html

If you're interested in RSS, Weblogs, Social Networking, etc... then you should work for Rojo! If you recommend someone and we hire them you'll get a free iPod! Kevin A. Burton, Location - San Francisco, CA
      AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412


Reply via email to