linux-netdata监控配置

netdata部署步骤记录

linux-netdata监控配置

安装步骤的总结

1.wget https://github.com/netdata/netdata/archive/v1.16.1.tar.gz

tar -zxvf v1.16.1.tar.gz 解压

2.# CentOS / Red Hat Enterprise Linux

yum install autoconf automake curl gcc git libmnl-devel libuuid-devel openssl-devel libuv-devel lz4-devel Judy-devel make nc pkgconfig python zlib-devel

# openSUSE 目前的suse 11 sp4没有装成功

zypper install zlib-devel libuuid-devel libuv-devel liblz4-devel judy-devel libopenssl-devel libmnl-devel gcc make git autoconf autoconf-archive autogen automake pkgconfig curl findutils python

3../netdata-installer.sh --install /data

yum -y update nss

netdata-1.16.1目录下再一次 ./netdata-installer.sh --install /data

4./data/netdata/usr/sbin/netdata 启动

killall netdata 停止

systemctl restart netdata (centos)

service netdata restart (Redhat)

linux-netdata监控配置-master配置【redhat6.5】

1.修改/data/netdata/etc/netdata/netdata.conf中的如下配置:

[global]

hostname = [改成需要设置的主机标识名]

2.在netdata.conf的同一目录下新建stream.conf并写入如下配置:

[6144ca2d-2f55-4ca9-b989-7b484879c90a]

# enable/disable this API key

enabled = yes

# one hour of data for each of the slaves

default history = 3600

# do not save slave metrics on disk

default memory = ram

# alarms checks, only while the slave is connected

health enabled by default = auto

linux-netdata监控配置-slave配置【centos7.2】

1.修改/data/netdata/etc/netdata/netdata.conf中的如下配置:

[global]

# disable the local database

memory mode = none

[health]

# disable health checks

enabled = no

2.在netdata.conf的同一目录下新建stream.conf并写入如下配置:

[stream]

# stream metrics to another netdata

enabled = yes

# the IP and PORT of the master

destination = 10.11.12.13:19999

# the API key to use

api key = 6144ca2d-2f55-4ca9-b989-7b484879c90a

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

测试界

您的支持是我前进的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值