influxd安装

#安装

rpm -ivh influxdb-1.2.0.x86_64.rpm

修改配置文件

[[graphite]]

Determines whether the graphite endpoint is enabled.

enabled = false

database = "graphite"

retention-policy = ""

bind-address = ":2003"

protocol = "tcp"

consistency-level = "one"

These next lines control how batching works. You should have this enabled

otherwise you could get dropped metrics or poor performance. Batching

will buffer points in memory if you have many coming in.

Flush if this many points get buffered

batch-size = 5000

number of batches that may be pending in memory

batch-pending = 10

Flush at least this often even if we haven‘t hit buffer limit

batch-timeout = "1s"

UDP Read buffer size, 0 means OS default. UDP listener will fail if set above OS max.

udp-read-buffer = 0

This string joins multiple matching ‘measurement‘ values providing more control over the final measurement name.

separator = "."

or by tags extracted from metric

tags = ["region=us-east", "zone=1c"]

Each template line requires a template pattern. It can have an optional

filter before the template and separated by spaces. It can also have optional extra

tags following the template. Multiple tags should be separated by commas and no spaces

similar to the line protocol format. There can be only one default template.

templates = [

"*.app env.service.resource.measurement",

Default template

"server.*",

]

enabled = true
bind-address = ":2003"
database = "jmeter"
retention-policy = ""
protocol = "tcp"
batch-size = 5000
batch-pending = 10
batch-timeout = "1s"
consistency-level = "one"
separator = "."
udp-read-buffer = 0

启动:

  influxd -config /path/to/config/file

[I] 2018-08-20T07:25:23Z InfluxDB starting, version 1.2.0, branch master, commit b7bb7e8359642b6e071735b50ae41f5eb343fd42
[I] 2018-08-20T07:25:23Z Go version go1.7.4, GOMAXPROCS set to 4
[I] 2018-08-20T07:25:23Z Using configuration at: /path/to/config/file
run: parse config: open /path/to/config/file: no such file or directory


/etc/init.d/influxdb restart
influxdb process already stopped [ OK ]
Starting influxdb...
influxdb process was started [ OK ]

 ![](http://i2.51cto.com/images/blog/201808/20/4baec9b89c9ed8684fbdea07f6bd32c4.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)

 关闭防火墙:
 serice iptables stop

 访问:

原文地址:http://blog.51cto.com/357712148/2161979

时间: 2025-01-01 16:17:20

influxd安装的相关文章

Influxdb1.2.2安装

一.文件准备 1.1 文件名称 influxdb-1.2.2.x86_64.rpm 1.2 下载地址 https://www.influxdata.com/products/ 二.工具准备 2.1 Xshell 一个强大的安全终端模拟软件,它支持SSH1, SSH2, 以及Microsoft Windows 平台的TELNET 协议. Xshell 通过互联网到远程主机的安全连接以及它创新性的设计和特色帮助用户在复杂的网络环境中享受他们的工作. 三.部署图 由于InfluxDb集群版是收费的,而

InfluxDB安装及配置

这是我之前整理的InfluxDB安装及配置的笔记,这里记录下,也方便我以后查阅. 环境: CentOS6.5_x64 InfluxDB版本:1.1.0 一.安装 1.二进制安装 这里以centos6.5为例进行安装: wget https://dl.influxdata.com/influxdb/releases/influxdb-1.1.0.x86_64.rpm yum localinstall influxdb-1.1.0.x86_64.rpm 其它环境可以参考influxdb官方文档: h

InfluxDB学习之InfluxDB的安装和简介

最近用到了 InfluxDB,在此记录下学习过程,同时也希望能够帮助到其他学习的同学. 本文主要介绍InfluxDB的功能特点以及influxDB的安装过程.更多InfluxDB详细教程请看:InfluxDB系列学习教程目录 一.InfluxDB 简介 InfluxDB 是用Go语言编写的一个开源分布式时序.事件和指标数据库,无需外部依赖. 类似的数据库有Elasticsearch.Graphite等. 其主要特色功能 1)基于时间序列,支持与时间有关的相关函数(如最大,最小,求和等) 2)可度

influxdb 安装配置详解

1:简介 InfluxDB 是一个开源分布式时序.事件和指标数据库.使用 Go 语言编写,无需外部依赖.其设计目标是实现分布式和水平伸缩扩展. 1.它有三大特性: 1. Time Series (时间序列):你可以使用与时间有关的相关函数(如最大,最小,求和等) 2. Metrics(度量):你可以实时对大量数据进行计算 3. Eevents(事件):它支持任意的事件数据 2.特点 schemaless(无结构),可以是任意数量的列 Scalable min, max, sum, count,

windows版influxDB安装与配置

一.下载链接https://portal.influxdata.com/downloads,选windows版 二.解压到安装盘,目录如下 三.修改conf文件,代码如下,直接复制粘贴(1.4.2版本),注意修改路径,带D盘的改为你的安装路径就好,一共三个,注意网上有配置admin进行web管理,但新版本配置文件里没有admin因为官方给删除了,需下载Chronograf,后文会介绍 ### Welcome to the InfluxDB configuration file. # The va

influxdb-1.7.2.x86_64安装 install influxdb-1.7.2.x86_64 on RedHat & CentOS

1.下载安装 wget http://dl.influxdata.com/influxdb/releases/influxdb-1.7.2.x86_64.rpm https://portal.influxdata.com/downloads  官方提供的下载是https改成http后下载 sudo yum localinstall influxdb-1.7.2.x86_64.rpm 2.启动运行 influxd -config /etc/influxdb/influxdb.conf 3.安装数据

InfluxDB 安装以及使用

InfluxDB InfluxDB简介: InfluxDB 是一个开源分布式时序.事件和指标数据库.使用Go语言编写,无需外部依赖.其设计目标是实现分布式和水平伸缩扩展.        它有三大特性:        1. Time Series (时间序列):你可以使用与时间有关的相关函数(如最大,最小,求和等):        2. Metrics(度量):你可以实时对大量数据进行计算:        3. Eevents(事件):它支持任意的事件数据.        详细请参考官网:http

mac上安装influxdb

一.安装 然后一步一步安装即可. 或者按照以下步骤执行即可: brew update brew install influxdb ln -sfv /usr/local/opt/influxdb/*.plist ~/Library/LaunchAgents # 配置文件在/etc/influxdb/influxdb.conf ,如果没有就将/usr/local/etc/influxdb.conf 拷一个过去 配置缓存:cache-max-memory-size #启动服务 launchctl lo

InfluxDB的安装和简介

InfluxDB简介 InfluxDB是一个时间序列数据库,旨在处理高写入和查询负载.它是TICK堆栈的组成部分 .InfluxDB旨在用作涉及大量带时间戳数据的任何用例的后备存储,包括DevOps监控,应用程序指标,物联网传感器数据和实时分析. 功能特点 基于时间序列,支持与时间有关的相关函数(如最大,最小,求和等) 可度量性:你可以实时对大量数据进行计算 基于事件:它支持任意的事件数据基于事件:它支持任意的事件数据 主要特点 无结构(无模式):可以是任意数量的列 可拓展的 支持min, ma