Opscenter had indentified the 3 nodes from the cluster, but it is unable to connect to the agent running in the cassandra node and shows No Data Avaiable for all metics in the dashboard.
# tail opscenterd.log
2012-01-31 15:08:24-0500 [] DEBUG: Getting nodelist over thrift
2012-01-31 15:08:54-0500 [] DEBUG: Getting nodelist over thrift
2012-01-31 15:09:22-0500 [] DEBUG: Average opscenterd CPU usage: 0.58%, memory usage: 0 MB
2012-01-31 15:09:24-0500 [] DEBUG: Collecting topology info for node 10.##.##.76
2012-01-31 15:09:24-0500 [] ERROR: Error collecting datacenter: No agents available to query.
2012-01-31 15:09:24-0500 [] DEBUG: Collecting topology info for node 10.##.##.49
2012-01-31 15:09:24-0500 [] ERROR: Error collecting datacenter: No agents available to query.
2012-01-31 15:09:24-0500 [] DEBUG: Collecting topology info for node 10.##.##.77
2012-01-31 15:09:24-0500 [] ERROR: Error collecting datacenter: No agents available to query.
2012-01-31 15:09:54-0500 [] DEBUG: Getting nodelist over thrift
# netstat -anp | grep 616
tcp 0 0 127.0.0.1:61619 0.0.0.0:* LISTEN 6403/python2.6
tcp 0 0 127.0.0.1:61620 0.0.0.0:* LISTEN 6403/python2.6
tcp 0 0 127.0.0.1:61619 127.0.0.1:64691 ESTABLISHED 6403/python2.6
tcp 0 0 127.0.0.1:64691 127.0.0.1:61619 ESTABLISHED 6403/python2.6
# ps -ef | grep opsc
root 6403 1 0 13:29 ? 00:00:48 /usr/bin/python2.6 ./bin/twistd -oy bin/start_opscenter.py
logs at the agent
# tail agent.log
ERROR [StompConnection receiver] 2012-01-31 15:06:58,335 failed connecting to 10.##.##.36:61620:java.net.ConnectException: Connection refused
INFO [StompConnection receiver] 2012-01-31 15:06:58,335 Reconnecting in 60s.
ERROR [StompConnection receiver] 2012-01-31 15:07:58,391 failed connecting to 10.##.##.36:61620:java.net.ConnectException: Connection refused
INFO [StompConnection receiver] 2012-01-31 15:07:58,391 Reconnecting in 60s.
ERROR [StompConnection receiver] 2012-01-31 15:08:58,402 failed connecting to 10.##.##.36:61620:java.net.ConnectException: Connection refused
INFO [StompConnection receiver] 2012-01-31 15:08:58,403 Reconnecting in 60s.
ERROR [StompConnection receiver] 2012-01-31 15:09:58,414 failed connecting to 10.##.##.36:61620:java.net.ConnectException: Connection refused
INFO [StompConnection receiver] 2012-01-31 15:09:58,415 Reconnecting in 60s.
ERROR [StompConnection receiver] 2012-01-31 15:10:58,425 failed connecting to 10.##.##.36:61620:java.net.ConnectException: Connection refused
INFO [StompConnection receiver] 2012-01-31 15:10:58,425 Reconnecting in 60s.
opscenter is listening in the localhost IP with 61620 - how to modify this?
Thanks
meymey
