Tcollect can be understood as the OPENTSDB data acquisition front-end, Tcollect is responsible for collecting monitoring data, and sent to the back-end of the OPENTSDB for storage.
Operating instructions:
before the installation of Tcollect to ensure the correct installation of OPENTSDB, the installation process, please refer to:installation and testing of opentsdb-2.0.1 RPM packages
Download Tcollector
git clone git://github.com/opentsdb/tcollector.git
Configure Tcollector
Modify the Tcollector/startstop file
tsd_host=localhost# Specifies the IP of the TSD or the hostname
Tcollector_path=/usr/hadoop/tcollector
preparation for first run
Opentsdb The data operation is, the metric is checked for data, because tcollect need to create a large number of metric first run, so the first time you run can specify OPENTSD run in--auto-metric模式下,该模式会自动创建metric
./build/tsdb TSD----auto-metric
After the first launch, in order to ensure the effectiveness of the metric, you can remove --auto-metric参数进行启动
Run Tcollector
CD Tcollector
./startstop Start
Validation
View HBase table Records
Scan ' Tsdb-uid '
Scan ' Tsdb
View the Opentsdb interface
Integration of Tcollect and OPENTSDB