Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 43662 invoked from network); 13 Sep 2010 15:53:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 15:53:50 -0000 Received: (qmail 60463 invoked by uid 500); 13 Sep 2010 15:53:48 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 60320 invoked by uid 500); 13 Sep 2010 15:53:44 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 60305 invoked by uid 99); 13 Sep 2010 15:53:44 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 15:53:44 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of JEREMIAH.JORDAN@morningstar.com designates 216.228.224.32 as permitted sender) Received: from [216.228.224.32] (HELO mx85.morningstar.com) (216.228.224.32) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Sep 2010 15:53:22 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB535B.BE98E993" Subject: RE: Monitoring with Cacti Date: Mon, 13 Sep 2010 10:53:02 -0500 Message-ID: <05CEA178DD88EE4FA89EED77C245F84907BFCDD7@msex85.morningstar.com> In-Reply-To: <06fd0407-ab5c-4671-b967-ccd380b8f9fa@me.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Monitoring with Cacti Thread-Index: ActSusHudmh8UcLYQ26dwYPf0DPQGwAoLpyw References: <06fd0407-ab5c-4671-b967-ccd380b8f9fa@me.com> From: "Jeremiah Jordan" To: X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01CB535B.BE98E993 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Have you checked out the munin scripts? If you want a starting point for something that pulls data out of jmx and prints it out (so you can catch and graph it). It is very easy to setup this to get any jmx value you want. =20 http://github.com/jamesgolick/cassandra-munin-plugins =20 =20 ________________________________ From: Aaron Morton [mailto:aaron@thelastpickle.com]=20 Sent: Sunday, September 12, 2010 3:40 PM To: user@cassandra.apache.org Cc: user@cassandra.apache.org Subject: Re: Monitoring with Cacti =20 This is my first encounter with cacti, and it's feels a lot like having a cactus violently inserted in me :) Hopefully this week I can get back to it with a clearer head, part of my annoyance was probably trying to rush it through on a Friday and it's somewhat taxing configuration.=20 =20 Over the weekend I was thinking about going with some python (our in house favorite) in front of the jmxterm jar.=20 =20 I'll also try to learn a bit more about cacti, it cannot be as hard as it seemed on Friday.=20 =20 I'll email you out of the list this week if I make some progress.=20 =20 Aaron On 11 Sep, 2010,at 03:31 PM, Edward Capriolo wrote: On Fri, Sep 10, 2010 at 7:29 PM, aaron morton 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... > > mysql-cacti-templates > http://code.google.com/p/mysql-cacti-templates/ > - provides templates and data sources that require ssh and can monitor JVM heap and a few things. > > Cassandra-cacti-m6 > http://www.jointhegrid.com/cassandra/cassandra-cacti-m6.jsp > 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. > > jmxterm > http://www.cyclopsgroup.org/projects/jmxterm/ > 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. > Aaron > > =09 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 hadoop/hbase/cassandra/hornetq/vserver =09 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. =09 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. =09 Edward ------_=_NextPart_001_01CB535B.BE98E993 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Have you checked out the munin = scripts?  If you want a starting point for something that pulls data out of jmx = and prints it out (so you can catch and graph it).  It is very easy to = setup this to get any jmx value you want.

 

http://git= hub.com/jamesgolick/cassandra-munin-plugins<= /p>

 

 


From: Aaron = Morton [mailto:aaron@thelastpickle.com]
Sent: Sunday, September = 12, 2010 3:40 PM
To: = user@cassandra.apache.org
Cc: = user@cassandra.apache.org
Subject: Re: Monitoring = with Cacti

 

This is my first encounter with cacti, and it's feels a lot like = having a cactus violently inserted in me :) Hopefully this week I can get back = to it with a clearer head, part of my annoyance was probably trying to rush it through on a Friday and it's somewhat taxing = configuration. 

 

Over the weekend I was thinking about going with some python = (our in house favorite) in front of the jmxterm = jar. 

 

I'll also try to learn a bit more about cacti, it cannot be as = hard as it seemed on Friday. 

 

I'll email you out of the list this week if I make some = progress. 

 

Aaron



On 11 Sep, 2010,at 03:31 PM, Edward Capriolo = <edlinuxguru@gmail.com> wrote:

On Fri, Sep 10, 2010 at 7:29 PM, aaron morton <aaron@thelastpickle.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...
>
> mysql-cacti-templates
> http://code= .google.com/p/mysql-cacti-templates/
> - provides templates and data sources that require ssh and can = monitor JVM heap and a few things.
>
> Cassandra-cacti-m6
> http://www.jointhegrid.com/cassandra/cassandra-cacti-m6.jsp
> 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.
>
> jmxterm
> http://www.cyc= lopsgroup.org/projects/jmxterm/
> 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.
> Aaron
>
>

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
hadoop/hbase/cassandra/hornetq/vserver

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.

Edward

------_=_NextPart_001_01CB535B.BE98E993--