FreeBSD monitoring with Netdata

Why FreeBSD?

FreeBSD is a free and open source Unix-like operating system descended from the Berkeley Software Distribution (BSD). FreeBSD is the most widely used open source BSD distribution. It is used by companies such as Netflix, Baidu, the United States Department of Defense, and the European Organization for Nuclear Research (CERN).

FreeBSD is a high-quality, stable, and secure operating system used in a wide variety of applications. FreeBSD is developed by a large and passionate community of volunteers and is an excellent choice if you are looking for a high-quality, stable, and secure operating system.

Installing Netdata on FreeBSD

Setting up Netdata monitoring on your FreeBSD server is a simple and straightforward process.

  1. Install the dependencies
pkg install bash e2fsprogs-libuuid git curl autoconf automake pkgconf pidof liblz4 libuv json-c cmake gmake
  1. Install Netdata from the kickstart script

The easiest method is to use the single line kickstart script

If you have a Netdata Cloud account, then clicking on the Connect Nodes button will generate the kickstart command you should use. Use the command from the “Linux” tab, it should look something like this:

Connecting a node to Netdata cloud

Paste the copied command on your FreeBSD terminal and hit enter. Please respond in the affirmative for any relevant prompts during the installation process.

wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --claim-token <CLAIM_TOKEN> --claim-url https://app.netdata.cloud

Monitoring FreeBSD

Once the installation is completed, you should be able to start monitoring the FreeBSD server using Netdata. On the Overview tab you will see the following view - the system overview is a quick summary dashboard that gives you an idea about the health of your server.

image

The menu on the right contains the table of contents which organizes and lists all the metrics that Netdata is collecting. In this example, which is running on a fresh FreeBSD installation, 228 charts are already being collected for most metrics you could think of.

Clicking on a section in the TOC will take you to the relevant charts.

Here’s an example of how Netdata visualizes your disk I/O bandwidth metrics.

image

Another example is networking related metrics, which you can visualize at a high fidelity to help quickly identify the root cause of any unexpected packet discards.

image

Netdata doesn’t just monitor system services, of course: it comes with hundreds of collectors that will auto discover and start monitoring services and applications that you are likely to install on your server. Each collector would create its own section in the table of contents. For a few examples of how this would look like, please visit Netdata’s public loginless demo.

Netdata also automatically discovers hundreds of processes and visualizes them in the Applications section. If your custom application isn’t on the list of applications that Netdata recognizes, it will show up under “other,” but it’s just a matter of adding a couple of lines of configuration to make sure it shows up as a separate entry. To find out how to do this, please read our blog on how to find out which application is causing system load

image

The observability platform companies need to succeed

Sign up for free

Want a personalised demo of Netdata for your use case?

Book a Demo