cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Burroughs <chris.burrou...@gmail.com>
Subject 0.7.0 mx4j, get attribute
Date Wed, 02 Feb 2011 18:40:03 GMT
I'm using 0.7.0 and experimenting with the new mx4j support.

http://host:port/mbean?objectname=org.apache.cassandra.request%3Atype%3DReadStage

Returns a nice pretty html page.  For purposes of monitoring I would
like to get a single attribute as xml.  The docs [1] decribe a
"getattribute" endpoint.  But I have been unable to get anything other
than a blank response from that.  mx4j does not seem to include any
logging for troubleshooting.

Example:
http://host:port/getattribute?objectname=org.apache.cassandra.request%3atype%3dReadStage&attribute=PendingTasks

returns 200 OK with no data.

If anyone could point out what embarrassingly simple mistake I am making
I would be much obliged.


[1] http://mx4j.sourceforge.net/docs/ch05.html

Mime
View raw message