Table of contents
1. Page menu, configuration location
2. Initialization: Click User settings
3. First create a host group: Click Configuration -> Host Group
4. Create a host: Click Configuration -> Host
5. Application set: first create an application set, and then create monitoring items
6: Monitoring item, add process (every second interval)
1. Page menu, configuration location
2. Initialization: Click User settings
3. First create a host group: Click Configuration -> Host Group
4. Create a host: Click Configuration -> Host
Notice:
1. The group selected here is the "host group name" created in the previous step
2. The ip address is the ip of the zabbix agent, and the default port is 10050
After clicking Add, return to the following page:
Note: In actual operation, it will turn green only after the application set is created and monitoring items are added. If it turns red, check the agent log and server log
# zabbix agent log
# vim /var/log/zabbix/zabbix_agent.log
# zabbix service startup log
# vim /var/log/zabbix/zabbix_server.log
5. Application set: first create an application set, and then create monitoring items
Note that after the application set and monitoring items are established, and the process is established, the color of the ZBX below will change
Create an application set
Enter the name of the application set, choose a name for the application set
6: Monitoring item, add process (every second interval)
a. Click on the "Monitoring Item" of a host
b. Click "Create Monitoring Item"
c. Fill in each item
d. Create a "process" (not required)
Note: When performing port listen, it is not necessary to set the process, if it is set, an error will be displayed
e. View content:
Monitoring -> latest data viewing graph
7: Add triggers
https://www.zabbix.com/documentation/5.0/zh/manual/config/triggers
8: action action
a. Create media
Under the management menu ---> alarm media type
b. Also define the endpoint on which the user receives messages on this medium (of course, on the user, we also call it the user's medium)
Under the Admin menu ---> Users
c. Actions are triggered under certain conditions, for example, when a trigger is triggered, an action will be triggered.
Monitoring item ---> trigger ---> action (if it is a remote command, give zabbix relevant permissions)
action can be
a. Remote command
b. email: users will be configured here
c. SMS, etc.: users will be configured here
Previous chapter:
3. Zabbix configures the agent side
next chapter: