I have observed this kind of situation with 0 agents connected. Restarting the agents always helped so far. By the way, check the agent's logs and opscenterd logs, there may be some clues there.
On Tue, Dec 2, 2014 at 4:59 PM, Ian Rose <ianr...@fullstory.com> wrote: > Hi all - > > Just getting started setting up OpsCenter today. I have a 3 node > cassandra cluster and (afaict) the agent installed and running happily on > all 3 nodes. I also have OpsCenter up and running on a 4th node. I do not > have SSL enabled between these nodes. > > In the OpsCenter interface, I see "0 of 0 agents connected" and restarting > OpsCenter does not change this. However, in my cluster settings I have the > following entered for the "least one host / IP in the cluster" portion, and > these hostnames are all resolvable/pingable from the OpsCenter machine. > > cassandra-db-1 > cassandra-db-2 > cassandra-db-3 > > Also, from this post > <http://www.datastax.com/support-forums/topic/agents-running-without-error-but-not-connecting-to-opscenter> > I > found a suggestion to curl <cluster>/nodes/all and when I do that I (think > I) get results showing 3 nodes. > > Any suggestions? Thanks! > - Ian > > > curl http://localhost:8888/FullStory/nodes/all > > > [{"load": 0.0, "has_jna": false, "vnodes": true, "devices": > {"saved_caches": "sdb", "commitlog": "sdb", "other": ["sda"], "data": > ["sdb"]}, "task_progress": {}, "node_ip": "10.240.167.187", > "network_interfaces": ["eth0", "lo"], "ec2": {"instance-type": null, > "placement": null, "ami-id": null, "instance-id": null}, "node_version": > {"search": null, "jobtracker": null, "tasktracker": null, "spark": > {"master": null, "version": null, "worker": null}, "dse": null, > "cassandra": "2.0.9"}, "dc": "us-central1", "node_name": > "cassandra-db-3.c.fs-staging.internal", "num_procs": 1, "streaming": {}, > "token": "-3220529141950148793", "data_held": 54064133.0, "mode": "normal", > "rpc_ip": "10.240.167.187", "partitions": {"saved_caches": "/dev/sdb", > "commitlog": "/dev/sdb", "other": > ["/dev/disk/by_uuid/121fd70f_e625_4394_89ce_5e5eff3d25e0", "rootfs"], > "data": ["/dev/sdb"]}, "os": "linux", "rack": "f", "last_seen": 0}, > {"load": 0.0, "has_jna": false, "vnodes": true, "devices": {"saved_caches": > "sdb", "commitlog": "sdb", "other": ["sda"], "data": ["sdb"]}, > "task_progress": {}, "node_ip": "10.240.111.79", "network_interfaces": > ["eth0", "lo"], "ec2": {"instance-type": null, "placement": null, "ami-id": > null, "instance-id": null}, "node_version": {"search": null, "jobtracker": > null, "tasktracker": null, "spark": {"master": null, "version": null, > "worker": null}, "dse": null, "cassandra": "2.0.9"}, "dc": "us-central1", > "node_name": "cassandra-db-1.c.fs-staging.internal", "num_procs": 1, > "streaming": {}, "token": "6048217978730786970", "data_held": 54319361.0, > "mode": "normal", "rpc_ip": "10.240.111.79", "partitions": {"saved_caches": > "/dev/sdb", "commitlog": "/dev/sdb", "other": > ["/dev/disk/by_uuid/2795e34f_4e9b_46a9_9e39_e6cc0f1f1478", "rootfs"], > "data": ["/dev/sdb"]}, "os": "linux", "rack": "a", "last_seen": 0}, > {"load": 0.04, "has_jna": false, "vnodes": true, "devices": > {"saved_caches": "sdb", "commitlog": "sdb", "other": ["sda"], "data": > ["sdb"]}, "task_progress": {}, "node_ip": "10.240.129.185", > "network_interfaces": ["eth0", "lo"], "ec2": {"instance-type": null, > "placement": null, "ami-id": null, "instance-id": null}, "node_version": > {"search": null, "jobtracker": null, "tasktracker": null, "spark": > {"master": null, "version": null, "worker": null}, "dse": null, > "cassandra": "2.0.9"}, "dc": "us-central1", "node_name": > "cassandra-db-2.c.fs-staging.internal", "num_procs": 1, "streaming": {}, > "token": "4393271482730462700", "data_held": 51388793.0, "mode": "normal", > "rpc_ip": "10.240.129.185", "partitions": {"saved_caches": "/dev/sdb", > "commitlog": "/dev/sdb", "other": > ["/dev/disk/by_uuid/2795e34f_4e9b_46a9_9e39_e6cc0f1f1478", "rootfs"], > "data": ["/dev/sdb"]}, "os": "linux", "rack": "b", "last_seen": 0}] > -- Nikolai Grigoriev (514) 772-5178