Ah... thanks for the pointer. This should indeed be musch simpler. Thanks.
-----Ursprüngliche Nachricht----- Von: Ryan King [mailto:r...@twitter.com] Gesendet: Mittwoch, 9. Februar 2011 18:11 An: dev@cassandra.apache.org Betreff: Re: Monitoring Cluster with JMX If you're using 0.7, I'd skip jmx and use the mx4j http interface then write scripts that convert the data to the format you need. -ryan On Wed, Feb 9, 2011 at 2:47 AM, Roland Gude <roland.g...@yoochoose.com> wrote: > Unfortunately not, as the nagios JMX check expects a numeric return value and > only allows for defining thresholds for issuing warnings or errors depending > on that value. It does not allow for post processing the return values. > > roland > > Von: Aaron Morton [mailto:aa...@thelastpickle.com] > Gesendet: Dienstag, 8. Februar 2011 21:32 > An: dev@cassandra.apache.org > Betreff: Re: Monitoring Cluster with JMX > > Can't you get the length of the list on the monitoring side of things ? > aaron > On 08 Feb, 2011,at 10:25 PM, Roland Gude <roland.g...@yoochoose.com> wrote: > Hello, > > we are trying to monitor our cassandra cluster with Nagios JMX checks. While > there are JMX attributes which expose the list of reachable/unreachable > hosts, it would be very helpful to have additional numeric attributes > exposing the size of these lists. This could be used to set thresholds (in > Nagios monitoring) i.e. at least 3 hosts must be reachable before Nagios > issues a warning. > This is probably not hard to do and we are willing to implement/supply > patches if someone could point us in the right direction on where to > implement it. > > Greetings, > roland > > -- > YOOCHOOSE GmbH > > Roland Gude > Software Engineer > > Im Mediapark 8, 50670 Köln > > +49 221 4544151 (Tel) > +49 221 4544159 (Fax) > +49 171 7894057 (Mobil) > > > Email: roland.g...@yoochoose.com<mailto:roland.g...@yoochoose.com> > WWW: > www.yoochoose.com<http://www.yoochoose.com/<http://www.yoochoose.com%3chttp:/www.yoochoose.com/>> > > YOOCHOOSE GmbH > Geschäftsführer: Dr. Uwe Alkemper, Michael Friedmann > Handelsregister: Amtsgericht Köln HRB 65275 > Ust-Ident-Nr: DE 264 773 520 > Sitz der Gesellschaft: Köln > -- -@rk