用opscenterpipe理docker上的cassandra数据库

我有一个在Docker上运行的cassandra实例,我想知道(如果可能)使用datastax opscenter监视cassandra实例。

为了达到我的cassandra实例,我运行:

$ docker run -it --rm cassandra:3.0.2 bash $ cqlsh [MY_HOST] -u USERNAME -p PASSWORD 

安装opscenter我不知道要放在这里:

在这里输入图像说明

为了使用OpsCenter监控您的cassandra实例,您需要在cassandra实例上运行Datastax代理。 然后,将运行的cassandra实例的IP地址添加到您的post中的对话框中。 单击保存群集,OpsCenter将尝试连接到您的cassandra实例。

如果这是OpsCenter的免费版本,它将会有一些限制,比如只pipe理一个节点实例,但是我已经完成了你的要求,所以你应该能够连接到你的cassandra实例,并且它应该出现在opscenter中。

试试看,希望这有助于。 拍