On this page
Required *.json file:
The following components are deployed on each Teamwork Cloud/Cassandra node:
Install with the command:
sudo yum install telegraf |
Edit the line with the urls = tag as follows:
urls = ["http://monitoringnode_ip:8086"] where monitoringnode_ip is the IP address of the node where infuxdb is installed (if it is located on the same machine, you may use 127.0.0.1). |
Enable the Telegraf service on startup:
sudo systemctl enable telegraf |
Start the Telegraf service:
sudo systemctl start telegraf |
Restart the Teamwork Cloud service:
sudo service twcloud-svc restart |
Change permissions to allow execution:
sudo chmod 755 metrics-graphite-3.1.2.jar |
Edit /etc/cassandra/default.conf/cassandra-env.sh, adding the following at the bottom:
# Enable metrics reporting to InfluxDB using the yammer library METRICS_REPORTER_CFG="metrics-reporter-graphite.yaml" JVM_OPTS="$JVM_OPTS -Dcassandra.metricsReporterConfigFile=$METRICS_REPORTER_CFG" |
Create a file /etc/cassandra/default.conf/metrics-reporter-graphite.yaml with the following content:
graphite: - period: 30 timeunit: 'SECONDS' prefix: 'HOST_NAME' hosts: - host: 'IP_ADDRESS' port: 2003 predicate: color: 'white' useQualifiedName: true patterns: - '^org.apache.cassandra.+' - '^jvm.+' |
Restart Cassandra:
sudo service cassandra restart |

Create the data sources, enter the information as in the following screenshots, and press Save & Test for each. After the data source gets created, click the Data Sources link to continue adding data sources.



















