ame

Netdata 简单的Linux性能监控面板
Netdata Github: https://github.com/netdata/netdata Live D...
扫描右侧二维码阅读全文
16
2019/11

Netdata 简单的Linux性能监控面板

Netdata

Github: https://github.com/netdata/netdata
Live Demo: https://singapore.my-netdata.io/default.html
Homepage: https://www.netdata.cloud/

Netdata is distributed, real-time, performance and health monitoring for systems and applications. It is a highly optimized monitoring agent you install on all your systems and containers.

Netdata provides unparalleled insights, in real-time, of everything happening on the systems it runs (including web servers, databases, applications), using highly interactive web dashboards. It can run autonomously, without any third party components, or it can be integrated to existing monitoring tool chains (Prometheus, Graphite, OpenTSDB, Kafka, Grafana, etc).

Netdata is fast and efficient, designed to permanently run on all systems (physical & virtual servers, containers, IoT devices), without disrupting their core function.

Netdata is free, open-source software and it currently runs on Linux, FreeBSD, and MacOS.

预览

Installation

One line installation

bash <(curl -Ss https://my-netdata.io/kickstart.sh)

Install Netdata with Docker

docker run -d --name=netdata \
  -p 19999:19999 \
  -v /etc/passwd:/host/etc/passwd:ro \
  -v /etc/group:/host/etc/group:ro \
  -v /proc:/host/proc:ro \
  -v /sys:/host/sys:ro \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  --cap-add SYS_PTRACE \
  --security-opt apparmor=unconfined \
  netdata/netdata

Access the dashboard

安装成功后访问 http://server.ip:19999/

Uninstalling Netdata

Netdata包含了自动卸载程序,它可以把Netdata从您的服务器中完整地删除。卸载程序仅需要.environment文件,这个文件是被安装程序创建的,它应在${NETDATA_USER_CONFIG_DIR} 中(其默认位置应为: /etc/netdata/.environment)。此文件包含一些安装程序留下的参数,这些参数在卸载过程中是必需的。其主要有两个参数:

NETDATA_PREFIX
NETDATA_ADDED_TO_GROUPS

卸载流程如下:

找到你的“.environment”文件
如果您找不到该文件,请创建包含以下内容的新文件:

NETDATA_PREFIX="<installation prefix>"   # put what you used as a parameter to shell installed `--install` flag. Otherwise it should be empty
NETDATA_ADDED_TO_GROUPS="<additional groups>"  # Additional groups for a user running netdata process

运行: /usr/libexec/netdata/netdata-uninstaller.sh –yes –env
卸载完成

Netdata Documentation

https://docs.netdata.cloud/

Last modification:November 16th, 2019 at 09:05 pm

Leave a Comment

One comment

  1. 蝉時雨

    年轻就是爱折腾,不过这个看起来蛮厉害的样子~