incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dunphy <>
Subject cassandra monitoring
Date Sun, 29 Dec 2013 13:21:43 GMT
Hi all,

I'm attempting to configure datastax agent so that opscenter can monitor
cassandra. I am running cassandra 2.0.3 and opscenter-4.0.1-2.noarch
running. Cassandra is running on a centos 5.9 host and the opscenter host
is running on centos 6.5

A ps shows the agent running

[root@beta:~] #ps -ef | grep datastax | grep -v grep
root      2166     1  0 03:31 ?        00:00:00 /bin/bash
106       2187     1  0 03:31 ?        00:01:37
/etc/alternatives/javahome/bin/java -Xmx40M -Xms40M
-Dlog4j.configuration=/etc/datastax-agent/ -jar

And the service itself claims that it is running:

[root@beta:~] #service datastax-agent status
datastax-agent (pid  2187) is running...

On the cassandra node I have ports 61620 and 61621 open on the firewall.

But if I do an lsof and look for those ports I see no activity there.

[root@beta:~] #lsof -i :61620
[root@beta:~] #lsof -i :61621

And a netstat turns up nothing either:
[root@beta:~] #netstat -tapn | egrep "(datastax|ops)"

So I guess it should come as no surprise that the opscenter interface
reports the node as down.

And trying to reinstall the agent remotely by clicking the 'fix' link
errors out:

g is null

If you need to make changes, you can press "Retry" and the installations
will be retried.

And also I got on another attempt:

"Cannot call method 'getRequstStatus' of null.

I'm really wondering why I'm doing wrong here, and how I can work my way
out of this quagmire. It would be beyond awesome to actually get this

I've also attempted to get Cassandra Cluster Admin working. JMX is doing
it's thing on the cassandra node and is running on port 8081. CCA is
running on the same host as the opscenter.

But cca gives me this error once I log in:

Cassandra Cluster Admin <>
Logout <>

*Fatal error*: Uncaught exception 'TTransportException' with message
'TSocket: timed out reading 4 bytes from' in
Stack trace: #0
TSocket->read(4) #1
TTransport->readAll(4) #2
TFramedTransport->readFrame() #3
TFramedTransport->read(4) #4
TTransport->readAll(4) #5
TBinaryProtocol->readI32(NULL) #6
TBinaryProtocol->readMessageBegin(NULL, 0, 0) # in
*/var/www/Cassandra-Cluster-Admin/include/thrift/transport/TSocket.php* on
line *268*

Any advice I could get on my CCA problem and /or my Opcenter problem would
be great and appreciated.


GPG me!!

gpg --keyserver --recv-keys F186197B

View raw message