public void execute() throws Exception
{
JSONObject json = new JSONObject();
NodeStatus nodeTool = nodeToolProvider.get();
json.put("version", VERSION);
json.put("current_time_ms", System.currentTimeMillis());
json.put("info", nodeTool.info());
json.put("is_joined", nodeTool.isJoined());
json.put("endpoint", nodeTool.getEndpoint());
json.put("exception_count", nodeTool.getExceptionCount());
json.put("live_nodes", nodeTool.getLiveNodes());
json.put("moving_nodes", nodeTool.getMovingNodes());
json.put("joining_nodes", nodeTool.getJoiningNodes());
json.put("unreachable_nodes", nodeTool.getUnreachableNodes());
json.put("operation_mode", nodeTool.getOperationMode());
json.put("gossip_info", nodeTool.getGossipInfo());
json.put("compaction_throughput", nodeTool.getCompactionThroughput());
json.put("active_processes", getActiveProcesses());
json.put("completed_processes", getCompletedProcesses());
storage.setValue(configuration, ROW_KEY, configuration.getThisHostName(), json.toString());
}