OpenTSDB配置安装

centos7 opentsdb 安装与配置 CentOS Linux release 7.3.1611 (Core) 转载+原创 一、安装opentsdb前期准备 需要安装JDK,JDK安装教程 集群部署,集群配置和添加 注意:集群中的服务器,包括主节点,子节点都需要安装opentsdb 二、安装gnuplot 执行 yum -y install gnuplot 三、下载并安装opentsdb opentsdb... 阅读详情

OpenTSDB配置安装

 (2012-11-29 14:11:53)

转载▼

标签: 

it

 

opentsdb

 

linux

 

杂谈

分类: OpenTSDB

Getting Started

This page will walk you through the setup process to get OpenTSDB running. It assumes you've read and understood the overview. With no prior experience, it should take about 15 minutes to get OpenTSDB running, including the time needed to setup HBase on a single node.

此页面将引导你完成安装程序以使得OpenTSDB运行。假设你已经阅读并理解了概述(overview),在没有任何以往经验的情况下,这将花费大约15分钟去使用OpenTSDB运行,包括在单个节点上安装HBase的时间。

Setting up OpenTSDB

搭建OpenTSDB

OpenTSDB comes pre-packaged with all the necessary dependencies except the JDK and Gnuplot.
The runtime dependencies for OpenTSDB are:

OpenTSDB预先打包好了所以必须的信赖包除了JDK和Gnuplot。运行时需要的OpenTSDB信赖包有:

Additional compile-time dependencies:

附加的编译时间的信赖包:

  • GWT 2.4 (ASLv2)

Additional unit test dependencies:

附加的单元测试信赖包:

You need to have Gnuplot (custom open-source license) installed in your PATH version 4.2 minimum, 4.4 recommended.

你需要去安装Gnuplot (传统的开源牌照) 在你的路径下,最低要求4.2版本,推荐4.4版本。

Before getting started, you need an instance of HBase 0.92 (ASLv2) up and running. If you don't already have one, you can get started quickly with a single-node HBase instance.

在开始之前,你需要一个HBase启动和运行的实例。如果你没准备一个,你能使用一个单结点的HBase实例以快速开始。

Almost all the following instructions can be copy-pasted directly into a terminal on a Linux or Mac OS X (or otherwise POSIXy) machine. You will need to edit the placeholders which are typeset like-this. A Bourne shell (such as bash or zsh) is assumed. No special privileges are required.

以下所有的工具几乎都能直接复制粘贴至一个Linux 或Mac OS X 机器的中转站。你将需要去编辑像这样排版的占位符。假定的是bourne shell(如bash或zsh),不要求什么特殊的权限。

Checkout, compile & start OpenTSDB

确认,编译和开始OpenTSDB

OpenTSDB uses the usual build process that consists in running ./bootstrap (only once, when you first check out the code), followed by ./configure and make. There is a handy shell script namedbuild.sh that will take care of all of that for you, and build OpenTSDB in a new subdirectory named build:

OpenTSDB使用常用的包括在运行中的生成程序。./bootstrap (只要一次,当你第一次确认代码时),然后,./configure 和 make。有一个便利的shell脚本:build.sh,它能为你照顾好所有,以及在一个叫build的新的子目录下生成OpenTSDB.

git clone git://github.com/OpenTSDB/opentsdb.git

cd opentsdb

./build.sh

From there on, you can use the command-line tool by invoking ./build/tsdb or you can run make install to install OpenTSDB on your system. Should you ever change your mind, there is also make uninstall, so there are no strings attached.

从那里,你可以使用命令行工具调用./build/tsdb/,或你可以运行make install在您的系统上安装OpenTSDB。如果你改变主意,也可以运行make uninstall卸载之,没有任何附加条件。

If it's the first time you run OpenTSDB with your HBase instance, you first need to create the necessary HBase tables:

如果这是你第一次用你的HBase实例去运行OpenTSDB,你首先需要去创建必须的HBase表:

env COMPRESSION=none HBASE_HOME=path/to/hbase-0.92.X ./src/create_table.sh

 

This will create two tables: tsdb and tsdb-uid. If you're just evaluating OpenTSDB, don't worry about compression for now. In production / at scale, make sure you use COMPRESSION=lzoand have LZO enabled.

这将创建两张表:tsdb和tsdb-uid。如果你仅仅是评估一下OpenTSDB,现在不用担心压缩。在规模生产时,确认你用compression=lzo以及开启lzo。

Now start a TSD (Time Series Daemon):

现在开始一个TSD(时间序列守护进程):

tsdtmp=${TMPDIR-'/tmp'}/tsd # For best performance, make sure

mkdir -p "$tsdtmp" # your temporary directory uses tmpfs

./build/tsdb tsd --port=4242 --staticroot=build/staticroot --cachedir="$tsdtmp"

If you're using a real HBase cluster, you will also need to pass the --zkquorum flag to specify the comma-separated list of hosts serving your ZooKeeper quorum. The --cachedir can be purged periodically, e.g. by a cron job.

如果你用一个真正的HBase簇,你也需要通过-zkquorum标志去指定用逗号分隔的服务ZooKeeper的主机列表。--cachedir能被周期性地清除,例如通过一个cron作业。

At this point you can access the TSD's web interface through 127.0.0.1:4242 (if it's running on your local machine).

此时你能访问TSD的网络接口通过:127.0.0.1:4242 (假设这跑在你的主机上).

Using OpenTSDB

Create your first metrics

创建你的第一个指标

Metrics need to be registered before you can start storing data points for them.

./tsdb mkmetric mysql.bytes_received mysql.bytes_sent

This will create 2 metrics: mysql.bytes_receivedand mysql.bytes_sent

在你开始为指标存储数据点之前你需要去注册它们:

./tsdb mkmetric mysql.bytes_received mysql.bytes_sent

这里将创建两个指标:mysql.bytes_received和mysql.bytes_sent

New tags, on the other hand, are automatically registered whenever they're used for the first time. Right now OpenTSDB only allows you to have up to 224 = 16777216 different metrics, 16777216 different tag names and 16777216 different tag values. This is because each one of those is assigned a UID on 3 bytes. Metric names, tag names and tag values have their own UID spaces, which is why you can have 16777216 of each kind. The size of each space is configurable but there is no knob that exposes this configuration parameter right now. So bear in mind that using user ID or event ID as a tag value will not work right now if you have a large site.

另一方面,新的标签,每当它们在第一次使用时,都会被自动注册。现在OpenTSDB只能允许你有至多224 = 16777216个不同的指标,16777216个不同的标签名称和 16777216个不同的标签值,这是因为第一个指标、标签名称和标签值均会被分配一个3字节的UID。 指标名称、标签名称和标签值都有它们各自的UID空间,这就是为什么每一种都有16777216个不同值的原因。每个空间的大小都是可配置的,但是现在没有一个旋钮来调节这个配置参数。所以记住,如果你有一个大型的网站,你的作为标签值的用户ID或事件ID可能不能正常工作。

Start collecting data

开始收集数据

So now that we have our 2 metrics, we can start sending data do the TSD. Let's write a little shell script to collect some data off of MySQL and send it to the TSD (note: this is just an example, in practice you can use tcollector's MySQL collector.):

我们现在有了2个指标,那我们能开始发送数据去做TSD了。让我们写一个小shell脚本去从MySQL收集一些数据,然后发送至TSD(注意:这只是一个例子,实践中我们可以用tcollector的MySQL收集器)。

cat >mysql-collector.sh <<\EOF

#!/bin/bash

set -e

while true; do

mysql -u USER -pPASS --batch -N --execute "SHOW STATUS LIKE 'bytes%'" \

| awk -F"\t" -v now=`date +%s` -v host=`hostname` \

'{ print "put mysql." tolower($1) " " now " " $2 " host=" host }'

sleep 15

done | nc -w 30 host.name.of.tsd PORT

EOF

chmod +x mysql-collector.sh

nohup ./mysql-collector.sh &

Every 15 seconds, the script will collect 2 data points from MySQL and send them to the TSD. You can use a smaller sleep interval for more real-time monitoring, but remember you can't have sub-second precision, so you must sleep at least 1 second before producing another data point.

每15秒钟,脚本会从MySQL收集2个数据点,然后发送至TSD,你可以用一个更小的休眠时间间隔以获得更多的实时监控,但记住你不能使用低于秒级的精度,所以在产生另一个数据点之前必须间隔至少1秒钟。

What does the script do? If you're not a big fan of shell and awk scripting, it may not be obvious how this works. But it's simple. The set -e command simply instructs bash to exit with an error if any of the commands fail. This simplifies error handling. The script then enters an infinite loop. In this loop, we query MySQL to retrieve 2 of its status variables:

脚本在干什么呢?如果你不是一个shell和awk脚本的大粉丝,你将不会很明显地看到它们是怎么工作的。但这很简单。Set -e命令只是在任何命令失败的情况下,简单地使bash带着一个错误消息退出,这简化了错误处理。之后脚本进入一个无限循环,在这个循环里,我们查询MySQL去取出其2个状态变量:

$ mysql -u USER -pPASS --execute "SHOW STATUS LIKE 'bytes%'"

+-----------------+-------+

| Variable_name | Value |

+-----------------+-------+

| Bytes_received | 133 |

| Bytes_sent | 190 |

+-----------------+-------+

The --batch -N flags ask the mysql command to remove the human friendly fluff so we don't have to filter it out ourselves. Then the output is piped to awk, which is told to split fields on tabs (-F"\t") because with the --batchflag that's what mysqlwill use. We also create a couple of variables, one named now and initialize it to the current timestamp, the other named host and set to the hostname of the local machine. Then, for every line, we print put mysql., followed by the lower-case form of the first word, then by a space, then by the current timestamp, then by the second word (the value), another space, and finally host= and the current hostname. Rinse and repeat every 15 seconds. The -w 30 parameter given to nc simply sets a timeout on the connection to the TSD.

--batch -N标志请求Mysql命令去删除人为的友好的失误,所以我们不需要亲自去过滤之。然后用管道输出至awk,awk拆分标签的字段因为在—batch标志下那正是mysql将使用的。我们也创建一对变量,一个命名为now,初始化为当前的时间戳,另一个命名为host,设置为本地机器的主机名。然后,对每一行,我们打印put mysql.,随后是小写形式的第一个字,然后是一个空格、当前时间戳、第二个字(数值)、另一个空格,最后是host=当前主机名。每15秒钟更新和重复一次。Nc里的-w 30参数简单地设置了一个连接TSD超时的时间。

Bear in mind, this is just an example, in practice you can use tcollector's MySQL collector.

If you don't have a MySQL server to monitor, you can try this instead to collect basic load metrics from your Linux servers.

记住,这只是一个例子,实践中你能使用tcollector的MySQL收集器。如果你没有一个MySQL服务器去监控,你可以试试这个,而不是从你的Linux服务器收集基本的负荷指标。

cat >loadavg-collector.sh <<\EOF

#!/bin/bash

set -e

while true; do

awk -v now=`date +%s` -v host=`hostname` \

'{ print "put proc.loadavg.1m " now " " $1 " host=" host;

print "put proc.loadavg.5m " now " " $2 " host=" host }' /proc/loadavg

sleep 15

done | nc -w 30 host.name.of.tsd PORT

EOF

chmod +x loadavg-collector.sh

nohup ./loadavg-collector.sh &

This will store a reading of the 1-minute and 5-minute load average of your server in OpenTSDB by sending simple "telnet-style commands" to the TSD:

这将存储一个读数为1分钟和5分钟的你的OpenTSDB服务器的平均负载,通过简单的“远程登录”风格的命令发送到TSD:

 

put proc.loadavg.1m 1288946927 0.36 host=foo

put proc.loadavg.5m 1288946927 0.62 host=foo

put proc.loadavg.1m 1288946942 0.43 host=foo

put proc.loadavg.5m 1288946942 0.62 host=foo

Batch imports

批量导入

Let's imagine that you have a cron job that crunches gigabytes of application logs every day or every hour to extract profiling data. For instance, you could be logging the time taken to process a request and your cron job would compute an average for every 30 second window. Maybe you're particularly interested in 2 types of requests handled by your application, so you'll compute separate averages for those requests, and an another average for every other request type. So your cron job may produce an output file that looks like this:

让我们想象一下你有一个cron作业,每天或每几个小时不断地分析千兆字节的应用程序日志中提取分析数据。例如,你可以记录处理请求所花费的时间,你的cron作业计算平均每30个第二个窗口。也许你特别感兴趣的是2种处理你的应用程序的请求类型,所以你单独计算这些请求的平均值,再计算所有其他请求类型的每一种类型的平均值。所以你的cron作业可能产生一个输出文件,它看起来像这样:

1288900000 42 foo

1288900000 51 bar

1288900000 69 other

1288900030 40 foo

1288900030 59 bar

1288900030 80 other

The first column is a timestamp, the second the average latency for that 30 second window, and the third the type of request we're talking about. If you run your cron job on a day worth of logs, you'll end up with 8640 such lines. In order to import those into OpenTSDB, you need to adjust your cron job slightly to produce its output in the following format:

第一列是一个时间戳,第二列是30个第二窗口的平均延迟,第三列正是我们在讨论的请求类型。如果你在值得记录日志的一天跑你的cron作业,你最终达到8640这样的行。为了把它们导入到OpenTSDB,你需要去稍微调整你的cron作业以产生以下这种格式的输出:

myservice.latency.avg 1288900000 42 reqtype=foo

myservice.latency.avg 1288900000 51 reqtype=bar

myservice.latency.avg 1288900000 69 reqtype=other

myservice.latency.avg 1288900030 40 reqtype=foo

myservice.latency.avg 1288900030 59 reqtype=bar

myservice.latency.avg 1288900030 80 reqtype=other

Notice we're simply associating each data point with the name of a metric (myservice.latency.avg) and naming the tag that represents the request type. If each server has its own logs and you process them separately, you may want to add another tag to each line like the host=foo tag we saw in the previous section. This way you'll be able to plot the latency of each server individually, in addition to your average latency across the board and/or per request type.

请注意,我们只是简单地用指标的名称(myservice.latency.avg) 关联每个数据点,命名代表请求类型的标签。如果每台服务器有它自己的日志并且你能分别处理它们,你可能想去添加另一条标签到每一行,就如我们在前部分看到的host=foo标签。以这样的方式你可以去单独地绘制每台服务器的延迟,以及你全部和(或)每一个请求类型的平均延迟。

In order to import a data file in the format above (metric timestamp value tags) simply run the following command:

为了在上述格式(metric timestamp value tags) 中导入一个数据文件,只需要跑下面的命令:

./tsdb import your-file

If your data file is large, consider gzip'ing it first. This can be as simple as piping the output of your cron job to gzip -9 >output.gz instead of writing directly to a file. The import command is able to read gzip'ed files and it greatly helps performance for large batch imports.

如果你的数据文件很大,先考虑压缩它,这简单得可以这么做:让你的cron作业添加一条管道命令gzip-9> output.gz,而不是直接写入到一个文件中。导入命令能够读压缩后的文件,这极大地帮助了大批量导入的工作。

Self monitoring

自我监控

Each TSD exports some stats about itself through the simple stats command. You can collect those stats and feed them back to the TSD every few seconds. First, create the necessary metrics:

每一个TSD通过简单的stats命令输出一些它自身的状态,你能收集这些状态,然后每隔几秒钟反馈给TSD,首先,创建必要的指标:

echo stats | nc -w 1 localhost 4242 \

| awk '{ print $1 }' | sort -u \

| xargs ./tsdb mkmetric

This requests the stats from the TSD (assuming it's running on the local host and listening to port 4242), extract the names of the metrics from the stats and assigns them UIDs.

这从TSD那边请求状态信息(假设它跑在本地主机上,监听4242端口),从状态信息中提取指标名称并给它们分配UID。

Then you can use this simple script to collect stats and store them in OpenTSDB:

然后你能使用简单的脚本去收集状态信息然后保存在OpenTSDB:

#!/bin/bash

INTERVAL=15

while :; do

echo stats || exit

sleep $INTERVAL

done | nc -w 30 localhost $1 \

| sed 's/^/put /' \

| nc -w 30 localhost $1

This way you will collect and store stats from the TSD every 15 seconds.

这样子每隔15秒钟你将从TSD收集状态信息然后保存。

openTSDB分布式集群安装配置 1 安装 1.1下载openTSDB,地址如右:https://github.com/OpenTSDB/opentsdb/releases 下载tar.gz包。 1.2 解压缩:tar -zxvf opentsdb-2.3.0.tar.gz -C /usr/local 1.3 开始编译opentsdb,./build.sh会报错: 解决方法: opentsdb目录下,mkdir build cp -r third_party ./build ./bu... 阅读详情

相关推荐

OpenTSDB2.3.0安装部署

一、简介         OpenTSDB是基于HBase存储时间序列数据的一个开源数据库,但只是一个HBase的应用而已。也即是在HBase之上加了一层外壳,用于更好的处理时序数据库,真实的数据存储还是在HBase。          时序数据是基于时间的一系列的数据。在有时间的坐标中将这些数据点连成线,往过去看可以做成多纬度报表,揭示其趋势性、规律性、异常性;往未来看可以做大数据分析,机器

ez scope 1万+

OpenTSDB使用总结-(2)

API 写入数据 可以在一次请求中将多个数据写入OpenTSDB,每个数据都会被单独处理,且单数据出错不会影响其他数据的写入。建议每个请求中最大数据点数不超过50. URI URI格式 写入数据 POST {OpenTSDB URL}/api/put 写入数据并返回概要信息 POST {OpenTSDB URL}/api/put?summary 写入数据并返回详细信息 PO...

zclhit 4030

我看MFC的过去、现在和未来

首先说句题外话,虽然我现在的“主业”是Qt,但自己扪心自问,对MFC的熟悉程度要超过Qt。正是由于有了对MFC的熟悉,才能在使用Qt时,比较清醒的认清两者的优劣之处,在此暂且不提。 这个话题也可以说是由来已久,众说纷纭,今时我也谈谈自己的感悟。 一、对MFC的总体看法 首先看看云风在其《游戏之旅-我的编程感悟》一书中对MFC的看法: “我所见到的程序员中,很多把C+

qter_wd007的专栏 6115

Opentsdb 2.3 Writing data(二)

Opentsdb 2.3 Writing data(二)

qq_31806205的博客 1184

DataWorks数据安全治理最佳实践

DataWorks基于数据安全治理的常见思路,针对资产梳理、技术体系建设和运营体系建设,提供了一系列数据安全产品能力,您可通过“基础防护建设、数据安全防护措施及策略增强建设、数据安全持续运营”三个阶段在DataWorks上落地数据安全治理项目。参考本文启动数据安全治理项目前,建议您先了解DataWorks数据安全产品相关能力了解DataWorks数据安全产品能力后,您可参考如下三个阶段在DataWorks上落地数据安全治理项目。

soso1968的博客 1438

GT-suite v2016的下载和安装

1 写在前面 GT-suite 是一款用来做内燃机仿真的软件。在安装过程中遇到很多问题,网上的安装教程也大都抄来抄去,试着安装了几遍都没有成功。最终在贴吧一个老哥的帖子里找到了解决办法,但是老哥的帖子也不是很详细,所以做了这个详细版本的教程。 GT-suite v2016安装包: 链接:https://pan.baidu.com/s/1JZPgJ8_-J-L8rV84-eHedQ 提取码:uj...

kisssshot的博客 3万+

【亲测免费】 OpenTSDB下载与安装教程

OpenTSDB是当今流行的分布式时间序列数据库,它构建在HBase之上,专为满足大规模下计算机系统(如网络设备、操作系统、应用程序)的指标收集需求而设计。OpenTSDB能够处理来自成千上万台主机和应用的高速数据流(每几秒一次),并且不会删除或降采样数据,轻松存储数以百亿计的数据点。该库支持LGPLv2.1+和GPLv3+许可协议,并可通过[官方网站](http://opentsdb.net/)...

gitblog_01277的博客 1万+

SAP中关于预测需求的重要载体:计划独立需求

预测,就是为了调节客户需求的波动、不平衡,使企业的生产计划、物料计划尽量平稳、有序的必备工具。计划独立需求,Planned Independent Requirement(PIR)是SAP系统中最常见的预测需求。

saplakes的博客 1879

TSDB时序数据库-OpenTSDB

TSDB时序数据库,openTSDB

醉卧雕龙舫,的博客 1242

火焰烟雾识别系统【数据集+源码+UI界面】

数据集准备:收集并标注火焰与烟雾数据。YOLOv10训练:训练YOLOv10模型来识别火焰和烟雾。实时检测:通过摄像头视频流进行实时检测,并显示检测结果。UI界面设计:用Tkinter设计简易界面,显示检测结果。完成以上步骤后,可以实现一个完整的火焰烟雾识别系统,具备实时检测与友好的用户界面。

2201_76125393的博客 1135

如何使用Python爬取并保存网页上的所有附件

爬虫(Crawler)是一种自动化程序,它通过模拟人工访问网页并下载网页上的数据或文件,常用于数据采集和分析。爬虫通常以“爬取”的形式自动浏览和提取网页中的各种信息。本文详细介绍了如何使用Python爬取并保存网页中的附件文件,涵盖了网页解析、文件下载、多线程与异步优化等内容。希望通过本文的讲解,能够帮助你理解并掌握附件爬取的技巧。在实际应用中,爬虫开发不仅需要解决技术问题,还要遵守网络道德和法律法规,避免不当使用爬虫造成负面影响。

2201_76125261的博客 967

安装opentsdb

安装opentsdb

u011250186的博客 541

自适应控制 (Adaptive Control) 算法详解及案例分析

自适应控制是一种能够在线调整控制器参数以适应系统动态变化的控制方法。其核心思想是通过实时估计系统参数或调整控制器参数,使系统在不确定性或动态变化的环境中仍能保持稳定性和性能。

闲人编程的博客 4085

java opentsdb 链接 池_OpenTSDB安装配置

安装$ cd /tmp$ wget https://github.com/OpenTSDB/opentsdb/releases/download/v2.2.1/opentsdb-2.2.1_all.deb$ sudo dpkg -i opentsdb-2.2.1_all.deb$ sudo apt-get install -f配置文件类型路径配置文件/etc/opentsdb执行文件/usr/sh...

weixin_39993623的博客 258

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

OpenTSDB安装,配置,数据存储介绍

1.什么是OpenTSDB 2.OpenTSDB是用什么语言编写和构建的? 3.如何安装OpenTSDB? 1. OpenTSDB介绍 OpenTSDB用HBase存储所有的时序(无须采样)来构建一个分布式、可伸缩的时间序列数据库。它支持秒级数据采集所有metrics,支持永久存储,可以做容量规划,并很容易的接入到现有的报警系统里。OpenTSDB可以从大规模的集群(包括集

挖矿的小强的博客 5659

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

开源时间序列数据库OpenTSDB详细安装与配置指南

OpenTSDB是一款分布式、可扩展的时间序列数据库(TSDB),它构建于HBase之上,旨在解决一个普遍需求:在大规模环境下存储、索引并提供来自计算机系统(包括网络设备、操作系统、应用程序)的指标数据,并使这些数据易于访问和可视化。由于依赖HBase的可扩展性,OpenTSDB能够处理从数以万计主机和应用中高频率(每几秒一次)收集的成千上万种指标,且不会删除或降采样数据,轻松存储数百亿个数据点。...

gitblog_01276的博客 1271

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

Centos安装配置opentsdb高可用集群(keepalived+nginx+opentsdb)

主机列表: IP地址 服务 10.246.129.30 hbase、zookeeper 10.246.129.31 hbase、zookeeper 10.246.129.32 hbase、zookeeper 10.246.129.33 hbase、zookeeper 10.246.129.34 hbase、zookeeper 10.255.49.63 opentsdb(写) 10.255.49.64

一点浩然气 919

OpenTsdb的eclipse配置与 linux安装

不容易啊,笔记如下备忘 编译期: MainClass:com.google.gwt.dev.Compiler Arguments:-war staticroot  QueryUi,其中staticroot是编译后的静态文件的存放目录; QueryUi是QueryUi.gwt.xml的名字,必须放在src目录下。 Eclipse的debug configuration中的cla

【洪波@阿里云】 1万+

Opentsdb安装与配置

1、介绍openTSDB(见图)使用hbase作为存储中心,它无须采样,可以完整的收集和存储上亿的数据点,支持秒级别的数据监控,得益于hbase的分布式列式存储,hbase可以灵活的支持metrics的增加,可以支持上万机器和上亿数据点的采集。在openTSDB中,TSD是hbase对外通信的daemon程序,没有master/slave之分,也没有共享状态,因此利用这点和h...

weixin_34146805的博客 269

OpenTSDB 安装流程

依赖环境 A Linux system (or Windows with manual building) Java Runtime Environment 1.6 or later HBase 0.92 or later GnuPlot 4.2 or later HBase 安装 https://blog.youkuaiyun.com/qiaojialin/article/details/88117780...

乔的博客 1370

opentsdb的安装与配置(centos6.2)

1.介绍 开源监控系统OpenTSDB,用hbase存储所有的时序(无须 采样)来构建一个分布式、可伸缩的时间序列数据库。它支持秒级数据采集所有metrics,支持永久存储,可以做容量规划,并很容易的接入到现有的报警系统里。OpenTSDB可以从大规模的集群(包括集群中的网络设备、操作系统、应用程序)中获取相应的metrics并进行存储、索引以及服务,从而使得这些数据更容易让人理解,如web化,

卤蛋爱编程 2586

OpenTSDB 2.3+及TCollector 1.3+安装配置排错

其实不太想用opentsdb,一直以来用influxdb+grafana挺方便的,而且tsdb依赖hbase,虽说容量和速度有保证,但是分布式系统对于一个监控平台来说,终归还是有些重了,出问题定位更繁琐,但领导说用那就用吧。在这里必须吐一下OpenTSDB和Tcollector的文档更新,太落后,看官方文档根本找不到配置文件的位置。最后还得看源码,尤其是TCollector,这个tsdb官方推出的...

weixin_33797791的博客 294
上一篇: 通过例子剖析 OpenTSDB 的 Rowkey 及列名设计
下一篇: 用sqoop将mysql的数据导入到hive表中
王树民
博客等级 码龄10年 912粉丝 560原创
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值