frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

[Netdata] Get ready with server monitoring

LaurabLaurab Moderator
edited March 2020 in Performance and Security
 

The Netdata service monitors performance through Web panels that visualize the processes and services of the Linux system. It monitors CPU, memory, disk, network, process metrics, and many other metrics.

Netdata does not need additional configuration after installation, but the default configuration requires a fit. The performance and speed of the application are not inferior to the built-in console tools, such as vmstat, iostat and htop.

It collects more than 5000 metrics automatically, with zero configuration, it has no dependencies, requires no maintenance and comes with more than 100 alarms pre-configured to detect common failures, performance and availability issues.

Requirements: installed operating system Debian, Ubuntu or CentOS, Fedora.

For Debian/Ubuntu, first of all, we will install curl:
apt-get install curl
On Debian/Ubuntu and CentOS/Fedora, there is a one-line installation script that will install the latest netdata and also keep it up to date automatically.
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
The above script will:

  • - discover the distribution and installs the needed software packages for building netdata (will ask for confirmation).
  • - downloads the latest netdata source tree to /usr/src/netdata.git.
  • - installs netdata by executing ./netdata-installer.sh from the source tree.
  • - installs netdata-updater.sh to cron.daily, so your netdata will be updated daily (you will receive a alert from cron only if the update fails).

After installation visit http://your_server_ip:19999/ in your browser now to access the dashboard.

You will see a dashboard and an overview of the system's performance. HUD style indicators at the top of the page change when you hover the mouse over each period of time in the charts.

Diagrams are interactive, you can drag them with the mouse.



To change the time interval displayed in the chart, hold down Shift and rotate the mouse wheel. To return the graphic to its default view, double click on it.

The individual graphs and diagrams in this section give detailed reports on every aspect of the system, from CPU and memory to network traffic, and so on.

An important part of the GUI is the update page. Netdata is updated regularly, the installation is easy to maintain up-to-date. At the top of the toolbar is the Update button, which allows you to check if a new version is available for download.

Clicking this button will give you more information and access to the menu. The Check Now button allows you to manually check for updates.

Comments

  • arthurarthur Member
    Seemed to install fine, but when I go to <my-ip>:19999 it never loads

    When I try `systemctl status netdata.service` I get the following response:

    ● netdata.service - Real time performance monitoring
    Loaded: loaded (/etc/systemd/system/netdata.service; enabled; vendor preset: enabled)
    Active: active (running) since Tue 2018-05-08 08:47:58 EDT; 12min ago
    Process: 12414 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
    Process: 12411 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
    Main PID: 12417 (netdata)
    CGroup: /system.slice/netdata.service
    ├─12417 /usr/sbin/netdata -P /run/netdata/netdata.pid -D
    ├─12464 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
    ├─12479 /usr/libexec/netdata/plugins.d/apps.plugin 1
    └─12480 /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1


    Which all looks fine to me.

    Any idea why this isn't working for me?  I'm running Ubuntu 16.04 (64-bit).


  • arthurarthur Member
    All working now.  Just needed to open the port with the following

    sudo ufw allow 19999/tcp



Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch