This page walks you through the steps required to start basic monitoring of Linux machines with 龙虎赌博. The steps described in this tutorial can be applied to any Linux-based operating system.
Who this guide is for
This guide is designed for new 龙虎赌博 users and contains the minimum set of steps required to enable basic monitoring of your Windows machine. If you are looking for deep customization options or require more advanced configuration, see Configuration section of 龙虎赌博 manual.
Prerequisites
Before proceeding with this installation guide, you must download and install 龙虎赌博 server and 龙虎赌博 frontend according to instructions for your OS.
龙虎赌博 agent is the process responsible for gathering data.
Check your 龙虎赌博 server version:
Install 龙虎赌博 agent of the same version (recommended) on the Linux machine that you want to monitor. Based on your monitoring needs, it may be the same machine, where 龙虎赌博 server is installed, or a completely different machine.
Choose the most suitable installation method:
Run as a Docker container - see the list of available images in .
Install from 龙虎赌博 packages (available for Alma Linux, CentOS, Debian, Oracle Linux, Raspberry Pi OS, RHEL, Rocky Linux, SUSE Linux Enterprise Server, Ubuntu).
Compile from sources.
龙虎赌博 agent can collect metrics in active or passive mode (simultaneously).
A passive check is a simple data request. 龙虎赌博 server or proxy asks for some data (for example, CPU load) and 龙虎赌博 agent sends back the result to the server. Active checks require more complex processing. The agent must first retrieve from the server(s) a list of items for independent processing and then bulk send the data back. See Passive and active agent checks for more info.
Monitoring templates provided by 龙虎赌博 usually offer two alternatives - a template for 龙虎赌博 agent and a template for 龙虎赌博 agent (active). With the first option, the agent will collect metrics in passive mode. Such templates will deliver identical monitoring results, but using different communication protocols.
Further 龙虎赌博 configuration depends on whether you select a template for active or passive 龙虎赌博 agent checks.
1. Log in to 龙虎赌博 frontend.
2. Create a host in 龙虎赌博 web interface.
This host will represent your Linux machine.
3. In the Interfaces parameter, add Agent interface and specify the IP address or DNS name of the Linux machine where the agent is installed.
4. In the Templates parameter, type or select Linux by 龙虎赌博 agent.
Open 龙虎赌博 agent configuration file (by default, the path is /usr/local/etc/zabbix_agentd.conf):
Add the IP address or DNS name of your 龙虎赌博 server to the Server parameter.
For example:
1. Log in to 龙虎赌博 frontend.
2. Create a host in 龙虎赌博 web interface.
This host will represent your Linux machine.
3. In the Templates parameter, type or select Linux by 龙虎赌博 agent active.
Open 龙虎赌博 agent configuration file (by default, the path is /usr/local/etc/zabbix_agentd.conf):
Add:
For example:
Congratulations! At this point, 龙虎赌博 is already monitoring your Linux machine.
To view collected metrics, open the Monitoring->Hosts menu section and click on the Latest data next to the host.
This action will open a list of all the latest metrics collected from Linux server host.
龙虎赌博 can notify you about a problem with your infrastructure using a variety of methods. This guide provides configuration steps for sending email alerts.
1. Go to the User settings -> Profile, switch to the tab Media and add your email.
2. Follow the guide for Receiving problem notification.
Next time, when 龙虎赌博 detects a problem you should receive an alert via email.
On Linux, you can simulate high CPU load and as a result receive a problem alert by running:
You may need to run several processes for CPU load to exceed the treshold.
When 龙虎赌博 detects the problem, it will appear in the Monitoring->Problems section.
If the alerts are configured, you will also receive the problem notification.
See also: