Professional Documents
Culture Documents
0
Training practical tasks
DAY 1
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved
COPYRIGHT NOTICE
Rules
It is prohibited to make any video and/or audio recordings during the whole period of this course.
This course is intended only for the officially enrolled student. Subject to the Copyright Notice below, the student is not allowed to
share his credentials for attending this course, to allow others to join and take part, or otherwise make use of these Materials.
Copyright notice
© Zabbix, 2022. All rights reserved.
Unless otherwise indicated, Zabbix owns the copyright and other intellectual property rights in the text, graphics, information,
designs, data, verbal/audio/video presentations and files, comments, drawings, exam questions and exam answers, and other
training content, lab manuals and practical tasks, and training courses themselves (further – Materials).
The Materials are protected by watermarks, copyright statements, and other means. It is prohibited to remove any of watermarks
and copyright statements, or in any other way to amend or change the content or appearance of the Materials.
Any unauthorized reprint, publication, reproduction, sharing, or use of the Materials is prohibited. No part of the Materials may be
reproduced, transmitted, or published in any form or by any means, electronic or mechanical, including photocopying, recording,
or by any information storage and retrieval system without the express signed written permission from Zabbix.
All course Materials made available to the student during the course of the training may be used solely by the student enrolled in
the relevant course for personal and educational purposes only. Materials provided to the student should be treated as
confidential information shared with the student only for the purpose of the student performing Zabbix Certified training.
The student acknowledges that damages alone would not be an adequate remedy for the breach of this copyright and the student
shall be entitled to the granting of equitable relief concerning any threatened or actual breach of any of the provisions of this
Copyright notice.
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 2
Legend
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 3
IMPORTANT INFORMATION
Please do not shutdown or reboot your student virtual machine
Please do not change the root password for your student virtual machine:
All machines are accessible from the internet; someone can try to take control over them
In case it is needed, please keep it hard to brute force or guess: use mixed-case letters,
digits and special symbols
Substitute XX in Training-VM-XX with your student number:
By example: Training-VM-XX > Training-VM-03
Do not simply copy and paste the information from this handbook:
Please analyze the information provided and understand the results
If you have troubles with any task - feel free to contact the trainer
When you have completed the task, please notify the trainer in the chat window
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 4
LEGEND
A few notes about the practical slides: Important
notice
Important aspects are highlighted:
Linux virtual machine CLI (command-line interface). You need to enter the commands
specified here in your Linux SSH terminal, without the # symbol:
# systemctl enable zabbix-server --now
Text on the screen after a command execution (output may differ slightly)
Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-server.service
Linux editor screen with pointed parameters for you to change. Please change the
specified parameters to get required functionality as follows in boxes like that:
### Option: DBPassword
# Database password.
# Comment this line if no password is used.
DBPassword=P455w0RD
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 5
Lab #1
Zabbix installation
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 30 minutes 6
PRACTICAL TASK #1
List available time zones (replace Europe with name of your location):
# timedatectl list-timezones | grep Europe
Europe/Amsterdam
Europe/Andorra
...
Europe/Prague
Europe/Riga
Europe/Riga is
Europe/Rome
provided as example
... time zone
Europe/Vienna
Europe/Vilnius
Set the time zone for operating system (please use your local time zone)
# timedatectl set-timezone Europe/Riga
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 7
PRACTICAL TASK #1
Check if time is correct and synchronized with the global NTP server
# timedatectl status
# timedatectl status
Local time: Mon 2021-09-27 12:39:01 EEST Local time in
Universal time: Mon 2021-09-27 09:39:01 UTC your time zone
RTC time: Mon 2021-09-27 09:39:01
Time zone: Europe/Riga (EEST,NTP
+0300)
System clock synchronized: yes synchronization is
NTP service: active up and running
RTC in local TZ: no
Disabled
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 8
PRACTICAL TASK #1
Install MySQL 8 database server:
# dnf -y install mysql-server
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 9
PRACTICAL TASK #1
Start MySQL database engine and enable autostart
# systemctl enable mysqld --now
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 10
PRACTICAL TASK #1
Open MySQL command console:
# mysql
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 11
PRACTICAL TASK #1
Create the initial database for Zabbix with proper parameters:
mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
Give the user zabbix access to the database zabbix from localhost:
mysql> grant all privileges on zabbix.* to 'zabbix'@'localhost';
Bye
[root@student-XX ~]#
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 12
PRACTICAL TASK #1
Install the official Zabbix 6.0 repository (answer "y" to security questions if asked):
# dnf -y install https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-2.el8.noarch.rpm
Retrieving https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-2.el8.noarch.rpm
Verifying... ################################# [100%]
Installed:
zabbix-release-6.0-2.el8.noarch
Successful
Complete! installation
====================================================================================================
Package Architecture Version
====================================================================================================
Installing:
zabbix-sql-scripts noarch 6.0.0-0.el8
Installed:
zabbix-sql-scripts-6.0.0.el8.noarch
Successful
Complete! installation
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 13
PRACTICAL TASK #1
Install Zabbix server database schema (provide password P455w0RD when requested):
# zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p zabbix
Enter password:
P455w0RD
[root@student-XX mysql]#
Zabbix schema import may take a few minutes and no information will be displayed on the
screen during that time. Please wait until this operation is finished.
Open MySQL console to check that schema has been imported successfully:
# mysql
Database changed
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 14
PRACTICAL TASK #1
Check table count:
+----------------------------+
| Tables_in_zabbix |
+----------------------------+
| acknowledges |
| actions |
| alerts |
| auditlog |
| autoreg_host Number|of tables inside
... zabbix database (173 rows)
| widget_field should
| match
+----------------------------+
173 rows in set (0.01 sec)
Bye
[root@student-XX ~]#
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 15
PRACTICAL TASK #1
Install Zabbix server from the official repository:
# dnf -y install zabbix-server-mysql
Last metadata expiration check: 0:02:30 ago on Wed 29 Sep 2021 03:09:48 PM EEST.
Dependencies resolved.
================================================================================
Package Architecture Version
================================================================================
Installing:
zabbix-server-mysql x86_64 6.0.0.el8
Installing dependencies:
OpenIPMI-libs x86_64 2.0.29-1.el8
fping x86_64 3.16-1.el8
libtool-ltdl x86_64 2.4.6-25.el8
mariadb-connector-c x86_64 3.1.11-2.el8_3
net-snmp-libs x86_64 1:5.8-20.el8
…
Installed:
OpenIPMI-libs-2.0.29-1.el8.x86_64 fping-3.16-1.el8.x86_64
mariadb-connector-c-3.1.11-2.el8_3.x86_64 net-snmp-libs-1:5.8-20.el8.x86
zabbix-server-mysql-6.0.0.el8.x86_64
Successful
installation
Complete!
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 16
PRACTICAL TASK #1
Set up Zabbix configuration file and specify the database-related settings there. Without
this minimum setup our Zabbix instance will not work at all.
# vi /etc/zabbix/zabbix_server.conf
Don’t forget to save all changes you made inside Zabbix configuration file!
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 17
PRACTICAL TASK #1
Enable Zabbix server service and make it start on each system boot:
# systemctl enable zabbix-server --now
Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-server.service →
/usr/lib/systemd/system/zabbix-server.service.
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 18
PRACTICAL TASK #1
Check the Zabbix log file for critical errors.
# tail -n50 /var/log/zabbix/zabbix_server.log
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 19
PRACTICAL TASK #1
Check Zabbix server version:
# zabbix_server -V Zabbix server
version
zabbix_server (Zabbix) 6.0.6
Revision 3f7597e3ea3 27 June 2022, compilation time: Jun 27 2022 14:23:00
This is the only way how to check version of Zabbix server backend!
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 20
PRACTICAL TASK #1
List all Zabbix server processes
# ps ax | grep zabbix_server
3092 ? S 0:01 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
3094 ? S 0:01 /usr/sbin/zabbix_server: ha manager
3102 ? S 0:01 /usr/sbin/zabbix_server: service manager #1 [processed 0 events, updated 0 event tags, deleted 0 problems]
3103 ? S 0:04 /usr/sbin/zabbix_server: configuration syncer [synced configuration in 0.146297 sec, idle 60 sec]
3109 ? S 0:01 /usr/sbin/zabbix_server: alert manager #1 [sent 0, failed 0 alerts, idle 5.546091 sec during 5.622116 sec]
3110 ? S 0:00 /usr/sbin/zabbix_server: alerter #1 started
3111 ? S 0:00 /usr/sbin/zabbix_server: alerter #2 started
3112 ? S 0:00 /usr/sbin/zabbix_server: alerter #3 started
3113 ? Process
S 0:01 /usr/sbin/zabbix_server: preprocessing manager #1 [queuedProcess
0, processed 10 values, idle 5.048749 sec]
3114 ? number
S 0:00 /usr/sbin/zabbix_server: preprocessing worker #1 started
name
3115 ? S 0:00 /usr/sbin/zabbix_server: preprocessing worker #2 started
3116 ? S 0:00 /usr/sbin/zabbix_server: preprocessing worker #3 started
3117 ? S 0:01 /usr/sbin/zabbix_server: lld manager #1 [processed 0 LLD rules, idle 5.087965sec during 5.151514 sec]
3118 ? S 0:00 /usr/sbin/zabbix_server: lld worker #1 [processed 1 LLD rules, idle 120.014248 sec during 120.039952 sec]
3119 ? S 0:00 /usr/sbin/zabbix_server: lld worker #2 [processed 1 LLD rules, idle 120.006424 sec during 120.029086 sec]
3121 ? S 0:00 /usr/sbin/zabbix_server: timer #1 [updated 0 hosts, suppressed 0 events in 0.001110 sec, idle 59 sec]
3122 ? S 0:00 /usr/sbin/zabbix_server: http poller #1 [got 0 values in 0.001386 sec, idle 5 sec]
3123 ? S 0:00 /usr/sbin/zabbix_server: discoverer #1 [processed 0 rules in 0.001511 sec, idle 60 sec]
3124 ? S 0:01 /usr/sbin/zabbix_server: history syncer #1 [processed 1 values, 0 triggers in 0.003713 sec, idle 1 sec]
3125 ? S 0:01 /usr/sbin/zabbix_server: history syncer #2 [processed 0 values, 0 triggers in 0.000077 sec, idle 1 sec]
3126 ? S 0:01 /usr/sbin/zabbix_server: history syncer #3 [processed 0 values, 0 triggers in 0.000039 sec, idle 1 sec]
3127 ? S 0:01 /usr/sbin/zabbix_server: history syncer #4 [processed 0 values, 0 triggers in 0.000072 sec, idle 1 sec]
3128 ? S 0:01 /usr/sbin/zabbix_server: escalator #1 [processed 0 escalations in 3.717252 sec, idle 3 sec]
3129 ? S 0:00 /usr/sbin/zabbix_server: proxy poller #1 [exchanged data with 0 proxies in 0.000196 sec, idle 5 sec]
3130 ? S 0:01 /usr/sbin/zabbix_server: self-monitoring [processed data in 0.000040 sec, idle 1 sec]
3131 ? S 0:00 /usr/sbin/zabbix_server: task manager [processed 0 task(s) in 0.102836 sec, idle 5 sec]
3132 ? S 0:00 /usr/sbin/zabbix_server: poller #1 [got 0 values in 0.008195 sec, idle 5 sec
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 21
PRACTICAL TASK #1
Increase log level for "history syncer #3" process:
# zabbix_server -R log_level_increase="history syncer,3"
Make sure that the log level is decreased Log level successfully
# tail /var/log/zabbix/zabbix_server.log decreased
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 22
Congratulations
Practical task #1 is completed !
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 23
Lab #2
Frontend installation
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 30 minutes 24
PRACTICAL TASK #2
Zabbix server is up and running, but it lacks the web interface
Install Zabbix frontend packages from the official repository:
# dnf -y install zabbix-web-mysql zabbix-apache-conf
=================================================================================================================
==============
Installing:
zabbix-apache-conf noarch 6.0.0.el8
zabbix-web-mysql noarch 6.0.0.el8
Upgrading:
dejavu-fonts-common noarch 2.35-7.el8
dejavu-sans-mono-fonts noarch 2.35-7.el8
Installing dependencies:
apr x86_64 1.6.3-11.el8
apr-util x86_64 1.6.1-6.el8
centos-logos-httpd noarch 85.8-1.el8
dejavu-sans-fonts noarch 2.35-7.el8
gd x86_64 2.2.5-7.el8
httpd x86_64 2.4.37-39.module_el8.4.0+778+c970deab
httpd-filesystem noarch 2.4.37-39.module_el8.4.0+778+c970deab
Installed:
apr-1.6.3-11.el8.x86_64 apr-util-1.6.1-6.el8.x86_64
Successful
apr-util-bdb-1.6.1-6.el8.x86_64 apr-util-openssl-1.6.1-6.el8.x8
installation
centos-logos-httpd-85.8-1.el8.noarch dejavu-sans-fonts-2.35-7.el8.no
Complete!
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 25
PRACTICAL TASK #2
Enable and start Apache service together with php-fpm manager:
# systemctl enable httpd php-fpm --now
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 26
PRACTICAL TASK #2
Connect to your Zabbix frontend and continue the setup from there.
Use IP you used for SSH login, e.g.: http://<IP_OF_YOUR_STUDENT_VM>/zabbix
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 27
PRACTICAL TASK #2
Check if all pre-requisites are met:
All prerequisites
must be OK
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 28
PRACTICAL TASK #2
Configure DB connection as shown:
P455w0RD
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 29
PRACTICAL TASK #2
Enter Zabbix server details:
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 30
PRACTICAL TASK #2
Check preinstallation summary and proceed to the final step.
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 31
PRACTICAL TASK #2
Frontend setup is finished!
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 32
PRACTICAL TASK #2
Log in to Zabbix frontend
Username: Admin
Password zabbix
Press Sign in
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 33
PRACTICAL TASK #2
Congratulations! You have successfully installed Zabbix 6.0 LTS!
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 34
Congratulations
Practical task #2 is completed !
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 35
Lab #3
User profile
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 10 minutes 36
PRACTICAL TASK #3
Go to Administration → User groups and press Create user group
Press here
Press here
Choose
"User groups"
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 37
PRACTICAL TASK #3
Enter "Training users" as a group name and press Add
Press Add
Frontend displays confirmation that the user group has been successfully added
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 38
PRACTICAL TASK #3
Go to Administration → Users and press Create user
Press here
Choose
"Users"
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 39
PRACTICAL TASK #3
Fill required fields: Click here after
Username: student-XX filling all fields
Name: your name
Surname your surname
Groups: Training users
Password: some strong password
Time zone: your local time zone
URL: zabbix.php?action=host.view
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 40
PRACTICAL TASK #3
Choose the "Super admin role" using one of the two methods:
Type "Super" into the field and select from suggested roles
Use "Select" button
Type "Super"
here Or use the
"Select" button
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 41
PRACTICAL TASK #3
Frontend displays confirmation that the user has been successfully added
Select "Admin" user by clicking on the name:
Click here
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 42
PRACTICAL TASK #3
Press "Change password" button:
Enter P455w0RD into password fields
Press
"Change password"
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 43
PRACTICAL TASK #3
Click on "Sign out" to logout current user (Admin)
Sign out
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 44
PRACTICAL TASK #3
Enter your username and password into corresponding fields and press Sign in
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 45
PRACTICAL TASK #3
Click on User settings → Profile to check your user profile settings
You can update some settings here or press Cancel to close the form
User profile
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 46
Congratulations
Practical task #3 is completed !
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 47
Lab #4
Hosts and Host groups
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 20 minutes 48
PRACTICAL TASK #4
Go to Configuration → Host groups in the Main menu
Press Create host group
Press here
Host groups
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 49
PRACTICAL TASK #4
Enter "Training" as host group name and press Add
Frontend displays confirmation that host group has been added successfully
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 50
PRACTICAL TASK #4
Enter "Training" into the filter field and press Apply
Enter "Training"
Press Apply"
Currently both host groups are empty and do not contain any hosts or templates
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 51
PRACTICAL TASK #4
Go to Configuration → Hosts in the Main menu
Press Create host
Press here
Hosts
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 52
PRACTICAL TASK #4
Enter host details in the form:
Name: training.lan
Visible name: Training resources
Host group: Training/Servers
Description: Training server with common resources
Switch to Tags section Tags
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 53
PRACTICAL TASK #4
Enter tag information:
Name: Location
Value: Riga
Press Add to
create the host
Press Add to create host
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 54
PRACTICAL TASK #4
Frontend displays confirmation that host was added successfully
Enter
"Training/Servers" Show or Hide
here filter
Apply filter
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 55
Congratulations
Practical task #4 is completed !
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 56
Lab #5
Interfaces
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 20 min 57
PRACTICAL TASK #5
Go to Configuration -> Hosts and click on the "Training resources" host
Click here
Click here
Then choose
"Agent"
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 58
PRACTICAL TASK #5
Fill required fields:
Clear IP address
DNS name: training.lan
Connect to: DNS
Port: 10050
Interface settings
Availability is gray
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 59
PRACTICAL TASK #5
Click on the "Training resources" host again
Write "Zabbix agent" in the "Templates" field
Too many templates are displayed...
Write
"Zabbix agent"
Zabbix agent
template is not
listed here
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 60
PRACTICAL TASK #5
Press "Select" button next to the "Templates" field
Press Select
Choose
Templates
Press Select
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 61
PRACTICAL TASK #5
Scroll down and find the template named "Zabbix agent"
Click on the template name to choose it
Click here
Interface
availability
Hosts
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 62
Congratulations
Practical task #5 is completed !
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 63
Lab #6
Simple checks
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 20 minutes 64
PRACTICAL TASK #6
Go to Configuration → Hosts
Click on Items for the "Training resources" host
Click here
A few items are already linked from a template. Press Create item to add another one
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 65
PRACTICAL TASK #6
Enter item details in the form:
Name: ICMP ping status
Type: Simple check
Key: icmpping
Type of inf.: Numeric(unsigned)
Choose the
Host interface: training.lan correct type
Click on Tags
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 66
PRACTICAL TASK #6
Press Create item to add the next item
Enter item details in the form:
Name: Service Web performance
Type: Simple check
Key: net.tcp.service.perf[http] Choose
correct type
Type of inf.: Numeric (float)
Host interface: training.lan
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 67
PRACTICAL TASK #6
Press Create item to add the next item
Enter item details in the form:
Name: Service NTP availability
Type: Simple check
Key: net.udp.service[ntp,training.lan] DNS address is
Type of inf.: Numeric (unsigned) specified in the
Host interface: training.lan item key
The interface is
specified, but will
not be used
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 68
PRACTICAL TASK #6
All items are displayed with Name, Key, Type, Tags and other fields
Go to Monitoring → Hosts and click on the "Latest data" for "Training resources" host
Click here
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 69
PRACTICAL TASK #6
Items are collecting data, last check time, change and last value are displayed for all items
Collected data
Currently, only raw data is displayed for the "Simple check" items
Next topics will explain how to display the data in a human-readable format
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 70
Congratulations
Practical task #6 is completed !
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 71
Lab #7
Zabbix agent
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 15 minutes 72
PRACTICAL TASK #7
Install Zabbix agent
# dnf -y install zabbix-agent
Installed:
zabbix-agent-6.0.0.el8.x86_64
Complete!
Enable Zabbix agent service and make it start on each system boot
# systemctl enable zabbix-agent --now
99535:20220117:094114.769 Starting Zabbix Agent [Zabbix server]. Zabbix 6.0.0 (revision 1ff76345b1).
99535:20220117:094114.769 **** Enabled features ****
99535:20220117:094114.769 IPv6 support: YES
99535:20220117:094114.770 TLS support: YES
.....
99537:20220117:094114.791 agent #2 started [listener #1]
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 73
PRACTICAL TASK #7
Go to Monitoring → Hosts and check that Zabbix server interface is available
Interface
availability
Click here
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 74
PRACTICAL TASK #7
Enter "Agent" into filter section and press Apply
Enter "Agent"
Press "Apply"
Agent version
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 75
PRACTICAL TASK #7
Check Zabbix agent generation from the command line
# zabbix_agentd -t agent.variant
agent.variant [u|1]
proc.mem[zabbix_server] [u|9387474944]
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 76
PRACTICAL TASK #7
Press Get value and test button to test the item key
Total size of /var/log/zabbix directory is displayed
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved Practical task 77
Congratulations
Practical task #7 is completed !
Zabbix 6.0 Certified Specialist ● Day 1 © 2022 by Zabbix. All rights reserved 78