You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Iwona Bialynicka-Birula <iw...@atigeo.com> on 2011/09/24 00:55:34 UTC
Can't connect to MX4J endpoint on Ubuntu
Hello,
I am trying to monitor Cassandra 8.0 using MX4J as described in http://wiki.apache.org/cassandra/Operations#Monitoring_with_MX4J. I have mx4j-tools.jar in Cassandra's lib folder and when Cassandra starts in prints out:
HttpAdaptor version 3.0.1 started on port 8081
But when I try to open http://localhost:8081/ in my browser I get "unable to connect". I checked that Cassandra daemon (only) is listening on port 8081 and that there are no errors in the logs.
Any ideas, why Cassandra is not answering on the 8081 MX4J port?
Thanks,
Iwona
Re: Can't connect to MX4J endpoint on Ubuntu
Posted by Sorin Julean <so...@gmail.com>.
Hey,
Do a: grep -i mx4 system.log | less
and look for: Mx4jTool.java (line 67) mx4j successfuly loaded
Also make sure you have the latest mx4j-tool from:
http://sourceforge.net/projects/mx4j/files/MX4J%20Binary/3.0.2/
Kind regards,
Sorin
On Fri, Sep 23, 2011 at 11:55 PM, Iwona Bialynicka-Birula <
iwona.bb@atigeo.com> wrote:
> Hello,****
>
> ** **
>
> I am trying to monitor Cassandra 8.0 using MX4J as described in
> http://wiki.apache.org/cassandra/Operations#Monitoring_with_MX4J. I have
> mx4j-tools.jar in Cassandra’s lib folder and when Cassandra starts in prints
> out:****
>
> HttpAdaptor version 3.0.1 started on port 8081****
>
> ** **
>
> But when I try to open http://localhost:8081/ in my browser I get “unable
> to connect”. I checked that Cassandra daemon (only) is listening on port
> 8081 and that there are no errors in the logs.****
>
> ** **
>
> Any ideas, why Cassandra is not answering on the 8081 MX4J port?****
>
> ** **
>
> Thanks,****
>
> Iwona****
>
Re: Can't connect to MX4J endpoint on Ubuntu
Posted by Bart Swedrowski <ba...@timedout.org>.
On 23/09/2011 23:55, Iwona Bialynicka-Birula wrote:
> I am trying to monitor Cassandra 8.0 using MX4J
I was going through this stuff recently, as well.
Have a look at Jolokia[1] and Jmx4Perl[2]. It's quite trivial in
installation and will give you access too all of the stuff as MX4J does.
Especially Jmx4Perl has cacti and nagios plugins which are working
surprisingly well ;-)
[1]: http://www.jolokia.org/
[2]: http://search.cpan.org/dist/jmx4perl/