NewRelic One System Monitor Tutorial

Recently, I started looking for a cloud system that didn't require operation to replace Zabbix, which had previously been monitoring my pages. Several options came up against some google searches, including DataDog, Solarwinds AppOptics, and NewRelic One, which I later chose. I would add that Zabbix is an excellent system, but it is absolutely necessary to have a separate VM to run the system, and at the moment I want to reduce this, which is the only reason I wanted to replace the system. My main concern was to collect information about my systems free of charge or $1 – $5 per month per server, or GDPR compatible.

I'm Looking for My Monitoring

After the first screening, AppOptics was immediately eliminated, as their servers are not in Europe, and they are only planning to build an EU data centre from 2021. The second hit was DataDog, they have very flexible pricing and the interface itself is thoughtful, it has a lot of plugins. But I didn't stop at their house, and I was confronted by NewRelic. I've known them for a long time, we use them for various monitoring at work, but so far they've been selling by far the most expensive product on the market. But the twist came for me as their business model changed and they can use their system for free up to 100Gb of data. I didn't have to do much math on it, too, and I quickly installed it on my servers, because I don't have enough traffic at the moment to be able to transfer 100Gb of data per month quickly in the near future.

Registration and installation

Registration is quick and easy, after confirming some data and an email address, I was already in the system. The system itself bet on a quick start quide immediately after the first login, where it gave me the opportunity to install the Infrastructure agent on my servers. The agent can be installed on many systems, ranging from Windows to Linux to Mac. (Of course, Linux support is also available for various distributions).

The Infra agent

Infra agent is responsible for monitoring the server in terms of both CPU and memory and disk usage. In addition, you can configure the system, application, and other logs to be submitted to NewRelic, where it is otherwise easy to search using simple queries. I didn't set that up, because I'm using a different way to do that.

The agent configuration is very simple, you need to edit a .yml file on each system. It is also able to extract data from other applications (such as apache) using various plugins. It can also work with the AWS, Azure, and GCP trio.

APM Agent

The Application Performance Monitor (APM) agent can monitor most applications, starting with the .. NET to Node.JS to PHP and JAVA.

I use the PHP agent and the JAVA agent. Installing the PHP agent was not trivial, I had more than two days to install it. Unfortunately, various linux systems require different settings for PHP and agent himself. Fortunately, on the Documentation page, all installation options are up, you just need to bring them together with our own system.

Installing the JAVA agent was grime, and I'm currently monitoring Minecraft servers with it. One thing was needed separately, not to download the vanilla Minecraft server, but either the Spigot or Bukkit versions and to install a NewRelic plugin on the server.

Summary

In summary, I managed to replace Zabbix without any major problems or problems, thus saving a VM that I could convert for other purposes.

Obviously, I use a fraction of the system's potential in its current form. However, I can recommend the system to anyone with a calm heart, especially with 100Gb free usage per month. (Currently, I have 65Gb of monthly use).

Közösségi megosztás:

Be the first to comment

Leave a Reply