What is netdata?
netdata is a system for distributed real-time performance and health monitoring. It provides unparalleled insights, in real-time, of everything happening on the system it runs (including applications such as web and database servers), using modern interactive web dashboards.
netdata is fast and efficient, designed to permanently run on all systems (physical & virtual servers, containers, IoTdevices), without disrupting their core function.
Great! You are going to install netdata!
1. Prepare your system
Install the packages for having a basic netdata installation (system monitoring and many applications, without
named, hardware sensors and
curl -Ss 'https://raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh' >/tmp/kickstart.sh && bash /tmp/kickstart.sh -i netdata
Install all the required packages for monitoring everything netdata can monitor:
curl -Ss 'https://raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh' >/tmp/kickstart.sh && bash /tmp/kickstart.sh -i netdata-all
2. Install netdata
# download it - the directory 'netdata' will be created git clone https://github.com/firehol/netdata.git --depth=1 cd netdata # build it, install it, start it ./netdata-installer.sh
netdata-installer.sh will build netdata and install it to your system.
If you don’t want to install it on the default directories, you can run the installer like this:
./netdata-installer.sh --install /opt. This one will install netdata in
Once the installer completes, the file
/etc/netdata/netdata.conf will be created (if you changed the installation directory, the configuration will appear in that directory too).
You can edit this file to set options. One common option to tweak is
history, which controls the size of the memory database netdata will use. By default is
3600 seconds (an hour of data at the charts) which makes netdata use about 10-15MB of RAM (depending on the number of charts detected on your system). Check Memory Requirements.
3. Update netdata
cd ~/netdata && sudo ./netdata-updater.sh
For more information, visit https://github.com/firehol/netdata
Source: github:firehol / netdata