Observability
Blog
Observability7 min

A comprehensive guide to Zabbix: open-source network and application monitoring

Mattia Eleuteri10 mai 2022

Monitoring network and application health is crucial for IT administrators. Zabbix, a powerful open-source tool, streamlines this process to help maintain seamless system performance. In this guide, we walk through what Zabbix offers, how to set it up on Hidora, and why it belongs in your monitoring toolkit.

Zabbix monitoring

What is Zabbix?

Zabbix is an open-source software designed for network and application monitoring. It is built to monitor and track the status of various network services, servers, and other network hardware and software components. Zabbix leverages real-time monitoring, data collection, graphs and alerts to assist administrators in maintaining optimal system performance.

The Zabbix Agent gathers and transmits essential information about the health and performance of your nodes to the Zabbix server. This centralization of data enables efficient monitoring and global management of IT infrastructures. The installation and configuration of the Zabbix Agent can be carried out with just a few clicks, thanks to its user-friendly interface.

Core features of Zabbix

Real-time monitoring

Zabbix provides real-time insights into the state of your network and applications. It constantly checks the availability and performance of your infrastructure components, helping you detect issues promptly. Whether it's a server running low on disk space, a network interface experiencing packet loss, or an application responding slowly, Zabbix catches it as it happens.

Data collection and storage

The software collects and stores data from various sources, allowing you to analyze historical trends and make informed decisions about your IT environment. This historical data is invaluable for capacity planning, performance optimization and identifying recurring patterns that might indicate underlying issues.

Data visualization

Zabbix's graphical capabilities enable you to create detailed graphs and charts, making it easier to identify performance patterns and anomalies. Dashboards can be customized to show exactly the metrics that matter to your team, from server CPU usage to application response times.

Alerting system

Zabbix's alerting system notifies administrators when predefined thresholds are breached, ensuring prompt action can be taken to resolve issues. Alerts can be sent through multiple channels, including email, Slack, SMS and custom webhooks, so your team is always informed regardless of their preferred communication method.

Step-by-step Zabbix installation on Hidora

Setting up Zabbix on Hidora is straightforward. Here's how to get started.

Step 1: Install the Zabbix server

  1. Visit the Hidora Marketplace, located at the top left of the dashboard.
  2. Search for "Zabbix" in the marketplace search bar.
  3. Select "Zabbix Server" and follow the installation process, accepting the necessary prompts. You only need to enter the environment name and the region where you want to host it.
  4. Wait a few minutes for the installation to complete. A pop-up window will display the server access link along with the username and password.

Zabbix installation success

Step 2: Configure the server

After installation, access the Zabbix server through the provided link. The default login credentials are "Admin" (with a capital A) and "zabbix". We strongly recommend changing the default password immediately after your first login.

Take a few minutes to explore the interface. The main dashboard gives you an overview of your monitored hosts, recent problems and system status. Navigate to Configuration > Hosts to see the list of monitored nodes, which will be empty until you install agents.

Step 3: Install and start the agent

Install the Zabbix agent on all the nodes you wish to monitor. You'll need the private IP address of the Zabbix server for this step.

The Zabbix agent is available as an Add-On in the Hidora platform. Once installed, you'll see a confirmation message indicating the agent is ready. Then follow these steps to add a host in the Zabbix server dashboard:

  1. Go to Configuration > Hosts > Create host
  2. Enter the host name and the IP address of the node
  3. Assign a host group (e.g., Linux servers, Application servers)
  4. Link appropriate templates for the type of monitoring you need

Zabbix metrics available

Once the "ZBX" status indicator turns green, communication is established and metrics are flowing. Your node is now transmitting data to the Zabbix server.

Setting up effective monitoring

Once Zabbix is running, there are several best practices to follow for effective monitoring.

Define meaningful thresholds

Don't rely solely on default thresholds. Analyze your normal operating patterns and set thresholds that reflect your actual environment. A server that typically runs at 70% CPU usage needs different alert thresholds than one that normally sits at 20%.

Create custom dashboards

Build dashboards that give your team instant visibility into what matters most. Group related metrics together. For example, create a dashboard for your database cluster that shows query performance, disk I/O, replication lag and connection counts in a single view.

Configure escalation policies

Set up escalation policies so that if a problem isn't acknowledged within a certain timeframe, it gets escalated to senior team members. This ensures that critical issues never go unnoticed, even during off-hours.

Use templates wisely

Zabbix comes with a rich library of monitoring templates for common applications and services. Use them as starting points, then customize them to match your specific requirements. Templates for Apache, Nginx, MySQL, PostgreSQL, Docker and Kubernetes are all available out of the box.

Why Zabbix for your infrastructure?

Zabbix's open-source nature, combined with its powerful monitoring capabilities and user-friendly installation, makes it a top choice for IT professionals. Whether you're managing a small network or a large-scale enterprise environment, Zabbix scales with your needs.

At Hidora, Zabbix integrates seamlessly with our platform. The one-click installation from the marketplace, combined with agent-based monitoring, means you can have comprehensive visibility into your infrastructure within minutes, not hours.

For organizations looking to go further with their observability strategy, our consulting team can help you design a complete monitoring architecture that combines Zabbix with other tools like OpenSearch, Grafana and Prometheus. And our managed services team can handle the ongoing maintenance and optimization of your monitoring stack, so you can focus on what matters most: building great products.

Further resources

Monitoring is not a set-and-forget activity. It requires ongoing attention, tuning and adaptation as your infrastructure evolves. With Zabbix and Hidora, you have the tools and support to keep your systems healthy and performing at their best.

Does this article resonate?

Hidora can support you on this topic.

Need support?

Let's talk about your project. 30 minutes, no strings attached.