You can get most info from Cluster(system).state or subscribe to cluster
events. There is one part of the JMX cluster status that is not exposed
there though. That is the detailed information about the failure detector
monitoring, which nodes that are considering other nodes unreachable. A
contribution that would add such cluster status as API to the Cluster
extension would be welcome.

Regards,
Patrik

On Mon, Feb 8, 2016 at 3:04 AM, Eugene Dzhurinsky <[email protected]>
wrote:

> Hello, what is the best way to get some status of the cluster?
> I use JMX bean to get the ClusterStatus object,
>
> echo "get -d akka -b type=Cluster ClusterStatus" | java -jar jmxterm.jar -l
> localhost:9999 | sed 's/ClusterStatus = //' | jq '.members | map({
> (.address) : .status })' | sed '/[{}]/d'
>
> but now I'd like to visualize this somewhere in the admin console on the
> webserver. Shall I use JMX calls or there's some better way?
>
> Thanks!
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to