Re: Syntax for using JMX term to connect to Cassandra

2015-01-29 Thread Robert Coli
On Thu, Jan 29, 2015 at 5:04 PM, Jan cne...@yahoo.com wrote: Thanks Robert, your example got me going in the right direction. Right on, glad to hear it, that was my goal. :D =Rob

Syntax for using JMX term to connect to Cassandra

2015-01-29 Thread Jan
HI Folks;  I am trying to use JMXterm,  a command line based tool to script monitor C* cluster. Would anyone on this forum know the exact syntax to connect to Cassandra Domain using JMXterm  ?Please give me an example.  I do 'not'   intend to use OpsCenter or any other UI based tool. thanksJan 

Re: Syntax for using JMX term to connect to Cassandra

2015-01-29 Thread Jan
Thanks Rob;  here is what I am looking for :  java -jar  /home/user/jmxterm-1.0-alpha-4-uber.jar 10.30.41.52:7199 -O org.apache.cassandra.internal:type=FlushWriter -A CurrentlyBlockedTask It does Not work since there is something wrong with my syntax.  However once working, it would be scripted

Re: Syntax for using JMX term to connect to Cassandra

2015-01-29 Thread Jan
Here is the answer :        Put the following into a shell script it would yield the results :  JMXTERM_CMD=get -b org.apache.cassandra.db:type=StorageService -s Loadecho $JMXTERM_CMD |  java -jar  /home/xyz/jmxterm-1.0-alpha-4-uber.jar  -l 10.32.22.45:7199 -v silent -n  Variables are : -b    

Re: Syntax for using JMX term to connect to Cassandra

2015-01-29 Thread Robert Coli
On Thu, Jan 29, 2015 at 3:27 PM, Jan cne...@yahoo.com wrote: I am trying to use JMXterm, a command line based tool to script monitor C* cluster. Would anyone on this forum know the exact syntax to connect to Cassandra Domain using JMXterm ? Here's an example from an old JIRA at my shop :