Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 98192 invoked from network); 12 Sep 2010 20:40:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Sep 2010 20:40:37 -0000 Received: (qmail 90927 invoked by uid 500); 12 Sep 2010 20:40:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90781 invoked by uid 500); 12 Sep 2010 20:40:34 -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 90773 invoked by uid 99); 12 Sep 2010 20:40:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 20:40:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a42.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 20:40:29 +0000 Received: from homiemail-a42.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTP id D0B4C68C06B for ; Sun, 12 Sep 2010 13:40:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=to:cc:from :subject:date:message-id:content-type:mime-version:in-reply-to; q=dns; s=thelastpickle.com; b=G+35oviZ553V8AyHweCogU+ImwfYhdxrz HLgxie8ki6F685lkPjK7v0n2017fKROoNakIFqJ9gga/HX6/EHZ8IK4IPRGbZf12 eKfrF1rWP1SXBcbVzK5CLVnHxOlcresOg7PNJjP5kEIMumTpXe8LhE0HZi2of9km wcsk9jvct8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=to:cc :from:subject:date:message-id:content-type:mime-version: in-reply-to; s=thelastpickle.com; bh=FvoOF6WbgabhDQbFeL9E1S8iG10 =; b=P6RTO7Xy0ZlGd0PF4ZpuIs56yYRCwf+SGyNrts7VcOJfxUaHpaj4MhJH0pT SfyWLP7/0GjLZZBxyGbAj8bF7IdygmJE9IDb3qQPjNIdIBXsdDP4ni0yaeQXnOpC nA/BRwL0yUaE0+HDZTXb06Zid5uuxewSTQYIFw08HsMyMFv0= Received: from localhost (webms.mac.com [17.148.16.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTPSA id B102E68C065; Sun, 12 Sep 2010 13:40:04 -0700 (PDT) To: user@cassandra.apache.org Cc: user@cassandra.apache.org From: Aaron Morton Subject: Re: Monitoring with Cacti Date: Sun, 12 Sep 2010 20:40:03 GMT X-Mailer: MobileMe Mail (1C3202) Message-id: <06fd0407-ab5c-4671-b967-ccd380b8f9fa@me.com> Content-Type: multipart/alternative; boundary=Apple-Webmail-42--aeddf03e-7b15-4eb8-a434-8f87c8592faa MIME-Version: 1.0 In-Reply-To: --Apple-Webmail-42--aeddf03e-7b15-4eb8-a434-8f87c8592faa Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 i= t with a clearer head, part of my annoyance was probably trying to rush it= through on a Friday and it's somewhat taxing configuration.=A0=0A=0AOver = the weekend I was thinking about going with some python (our in house=A0fa= vorite) in front of the jmxterm jar.=A0=0A=0AI'll also try to learn a bit = more about cacti, it cannot be as hard as it seemed on Friday.=A0=0A=0AI'l= l email you out of the list this week if I make some progress.=A0=0A=0AAar= on=0A=0A=0AOn 11 Sep, 2010,at 03:31 PM, Edward Capriolo wrote:=0A=0AOn Fri, Sep 10, 2010 at 7:29 PM, aaron morton wrote:=0A> 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 :)=0A>=0A> Does anyone know of some = cacti resources for monitoring the JVM or Cassandra metrics other than...=0A= >=0A> mysql-cacti-templates=0A> http://code.google.com/p/mysql-cacti-templ= ates/=0A> - provides templates and data sources that require ssh and can m= onitor JVM heap and a few things.=0A>=0A> Cassandra-cacti-m6=0A> http://ww= w.jointhegrid.com/cassandra/cassandra-cacti-m6.jsp=0A> Coded for version 0= 6* , have made some changes to stop it looking for stats that no longer e= xist. 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.=0A>=0A> jm= xterm=0A> http://www.cyclopsgroup.org/projects/jmxterm/=0A> Allows for com= mand line access to JMX. I started down the path of writing a cacti data s= ource to use this just to see how it worked. Looks like a lot of work.=0A>= =0A> Thanks for any advice.=0A> Aaron=0A>=0A>=0A=0ASetting up cacti is eas= y, the second time, and third time :)=0AAs for cassandra-cacti-m6 (i am th= e author). Unfortunately, I have=0Abeen fighting the jmx switcharo battle = for about 3 years now=0Ahadoop/hbase/cassandra/hornetq/vserver=0A=0AIn a n= utshell there is ALWAYS work involved. First, is because as you=0Anoticed = attributes change/remove/add/renamed. Second it takes a human=0Ato logical= ly group things together. For example, if you have two items=0A"cache hits= " and "cache misses". You really do not want two separate=0Agraphs that wi= ll scale independently. You want one slick stack graph,=0Awith nice colors= , and you want a CDEF to calculate the cache hit=0Apercentage by dividing = one into the other and show that at the bottom.=0A=0AIf you want to have a= 7.0 branch to cassandra-cacti-m6 I would love=0Athe help. We are not on 7= 0 yet so I have not had the time just to go=0Aout and make graphs for a v= ersion we are not using yet :) but if you=0Acome up with patches they are = happily accepted.=0A=0AEdward=0A --Apple-Webmail-42--aeddf03e-7b15-4eb8-a434-8f87c8592faa Content-Type: multipart/related; type="text/html"; boundary=Apple-Webmail-86--aeddf03e-7b15-4eb8-a434-8f87c8592faa --Apple-Webmail-86--aeddf03e-7b15-4eb8-a434-8f87c8592faa Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1;
This is my first encounter with cacti, and it's feels a lot like havi= ng 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 ru= sh it through on a Friday and it's somewhat taxing configuration. 

Over the weekend I was thinking about going with so= me python (our in house favorite) in front of the jmxterm jar. <= /div>

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:

<= blockquote type=3D"cite">
On Fri, Sep 10, 2010= at 7:29 PM, aaron morton <aaron@thelastpickle.com> wrote:
=0A>= ; Am going through the rather painful process of trying to monitor cassand= ra using Cacti (it's what we use at work). At the moment it feels like a l= osing battle :)
=0A>
=0A> Does anyone know of some cacti resou= rces for monitoring the JVM or Cassandra metrics other than...
=0A><= br>=0A> mysql-cacti-templates
=0A> http://code.google.com/p/mysql-cacti-templates/
=0A= > - provides templates and data sources that require ssh and can monito= r JVM heap and a few things.
=0A>
=0A> Cassandra-cacti-m6
=0A= > http://www.jointhegrid.com/cassandra/cassandra-cacti-m6.jsp
=0A&= gt; 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 probabl= y 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.
=0A>
=0A> jmxterm
=0A> http://www.cyclopsgroup.org/projects/jmxterm/<= br>=0A> 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. Look= s like a lot of work.
=0A>
=0A> Thanks for any advice.
=0A&= gt; Aaron
=0A>
=0A>
=0A
=0ASetting up cacti is easy, the= second time, and third time :)
=0AAs for cassandra-cacti-m6 (i am the = author). Unfortunately, I have
=0Abeen fighting the jmx switcharo battl= e for about 3 years now
=0Ahadoop/hbase/cassandra/hornetq/vserver
=0A=
=0AIn a nutshell there is ALWAYS work involved. First, is because as y= ou
=0Anoticed attributes change/remove/add/renamed. Second it takes a h= uman
=0Ato logically group things together. For example, if you have tw= o items
=0A"cache hits" and "cache misses". You really do not want two = separate
=0Agraphs that will scale independently. You want one slick st= ack graph,
=0Awith nice colors, and you want a CDEF to calculate the ca= che hit
=0Apercentage by dividing one into the other and show that at t= he bottom.
=0A
=0AIf you want to have a 7.0 branch to cassandra-cact= i-m6 I would love
=0Athe help. We are not on 7.0 yet so I have not had = the time just to go
=0Aout and make graphs for a version we are not usi= ng yet :) but if you
=0Acome up with patches they are happily accepted.=
=0A
=0AEdward
=0A
--Apple-Webmail-86--aeddf03e-7b15-4eb8-a434-8f87c8592faa-- --Apple-Webmail-42--aeddf03e-7b15-4eb8-a434-8f87c8592faa--