Thanks for the advice! I do export a lot via JMX already. But I couldn't find the equivalent of the Status column (Up/Down + Normal/Leaving/Joining/Moving) from the status output. Does anyone know if those are available via JMX?
Thank you. Best, x. On Wed, Jan 25, 2017 at 8:15 AM, Jonathan Haddad <j...@jonhaddad.com> wrote: > You're about to walk down an unfortunate path. I strongly recommend > getting the information you need for monitoring using JMX. That's actually > how nodetool gets all it's information. Instead of parsing output, if you > use JMX, you'll have access to a *ton* of useful (and some not so useful) > information. > > If you aren't familiar, run Cassandra locally and type "jconsole" in your > terminal. That'll bring up a decent GUI that you can use to browse all the > available metrics. > > You can export metrics a bunch of ways. Jolokia, mx4j, jmx_exporter (for > prometheus), and I know there's a collectd plugin but I haven't used it, > might be worth checking out or maybe someone else can weigh in. > > Jon > > On Wed, Jan 25, 2017 at 7:48 AM Xiaolei Li <xiao...@sumologic.com> wrote: > >> I'm planning to run "nodetool status -r" on every node every minute, >> storing the output in a file, and aggregating it somewhere else for >> monitoring. >> >> Is that a good idea? How expensive is it to be running status every >> minute. >> >> Best, >> x. >> >