On Fri, Sep 10, 2010 at 7:29 PM, aaron morton <email@example.com> wrote:
> Am going through the rather painful process of trying to monitor cassandra using Cacti (it's what we use at work). At the moment it feels like a losing battle :)
> Does anyone know of some cacti resources for monitoring the JVM or Cassandra metrics other than...
> - provides templates and data sources that require ssh and can monitor JVM heap and a few things.
> Coded for version 0.6* , have made some changes to stop it looking for stats that no longer exist. Missing some metrics I think but it's probably the best bet so far. If I get it working I'll contribute it back to them Most of the problems were probably down the how much effort it takes to setup cacti.
> Allows for command line access to JMX. I started down the path of writing a cacti data source to use this just to see how it worked. Looks like a lot of work.
> Thanks for any advice.
Setting up cacti is easy, the second time, and third time :)
As for cassandra-cacti-m6 (i am the author). Unfortunately, I have
been fighting the jmx switcharo battle for about 3 years now
In a nutshell there is ALWAYS work involved. First, is because as you
noticed attributes change/remove/add/renamed. Second it takes a human
to logically group things together. For example, if you have two items
"cache hits" and "cache misses". You really do not want two separate
graphs that will scale independently. You want one slick stack graph,
with nice colors, and you want a CDEF to calculate the cache hit
percentage by dividing one into the other and show that at the bottom.
If you want to have a 7.0 branch to cassandra-cacti-m6 I would love
the help. We are not on 7.0 yet so I have not had the time just to go
out and make graphs for a version we are not using yet :) but if you
come up with patches they are happily accepted.