Munin plugins for apache cassandra.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md add README note about CF customization May 19, 2010
compactions_bytes.conf add "ops" graphs combining read, write totals May 18, 2010
compactions_pending.conf add flushes pending, compaction bytes May 18, 2010
flush_stage_pending.conf r/m copy/pasted Keyspace1 text; update README May 18, 2010
hh_pending.conf add hh_pending May 24, 2010
jmx_ add cassandra munin plugins and dependencies May 4, 2010
jmxquery.jar
jvm_cpu.conf rename things by subsystem; add standard1_latency May 12, 2010
jvm_memory.conf rename things by subsystem; add standard1_latency May 12, 2010
ops_pending.conf add hh_pending May 24, 2010
standard1_keycache.conf rename things by subsystem; add standard1_latency May 12, 2010
standard1_latency.conf add write latency graph May 13, 2010
standard1_livesize.conf add compaction, sstable, stage metrics May 13, 2010
standard1_ops.conf add "ops" graphs combining read, write totals May 18, 2010
standard1_rowcache.conf rename things by subsystem; add standard1_latency May 12, 2010
standard1_sstables.conf add compaction, sstable, stage metrics May 13, 2010
storageproxy_latency.conf add compaction, sstable, stage metrics May 13, 2010
storageproxy_ops.conf add "ops" graphs combining read, write totals May 18, 2010

README.md

Cassandra Munin Plugins

These plugins are configurations for something called jmxquery that I found somewhere. Unfortunately, though, I forget where.

Installation

Make sure all the files from this repo are in the same directory and that jmx_ is executable. Then in /etc/munin/plugins, create a symlink named after each of the plugin configurations to the jmx_ executable. The symlink needs to be an absolute path, not relative, or jmx_ won't be able to parse it correctly.

Copy and modify the standard1* metrics for the columnfamlies you wish to monitor. (These should include system.HintsColumnFamily, in production.)

If you take a look at the .conf files, it should be fairly straightforward to figure out how to create your own.

If you have JMX running on a non-standard port (something other than 8080), you can set it in your munin config like this:

[cassandra_] env.jmxurl service:jmx:rmi:///jndi/rmi://localhost:YOURPORTHERE/jmxrmi

Credits

Configs by James Golick and Jonathan Ellis. I wish I knew who wrote jmxquery so I could credit them here.