Professional Documents
Culture Documents
www.zabbix.com
Zabbix 5.0
Certified Specialist course
Press Update
It is possible to customize existing Email media, but for training purposes a new media will
be created
Zabbix 5.0 supports a lot of media types out of box.
In Zabbix 5.0 you can define your own message formats using frontend
HTML or plain text format can be used for messages
Press Add
Press Add
Add Operation
• Send to Users: student-XX
• Send only to: Training email
# passwd monitor
Go to Configuration -> Hosts and look at ssh items for Training-VM-XX server
Both SSH items will turn to unsupported state in 1 minute (click on i to see details)
You can select item and press Execute now to do it faster
filename=$1
message=$2
now=$(date +"%D %T")
echo "$now $message" >> "/var/log/zabbix/$filename.log"
Switch to Operations tab and edit Run remote commands on current host step
The recovery message may appear after some time, recheck the log file
Notice that yellow wrench icon is displayed next to the host name. This means that this
host is in maintenance and problem is suppressed
This command must be executed from host student-xy and sent to your server to host named
Training-VM-XY, otherwise it will be not accepted
The problem on another host is not in maintenance mode
Press Add
Press Add
ZABBIX 5.0 Lab Manual 58
BUSINESS LEVEL MONITORING
Select correct Host - Training-VM-XX
Select CPU Load is very high on Training-VM-XX
Press Add
Zabbix training SLA will fall down, if any of the SLA for student hosts will fall down
When CPU usage will be detected on one of the hosts, SLA for Zabbix training will start to
fall down
Press Update
Now you have only one filesystem, but it is possible to add more
Open SSH console and issue command
# mkdir /zabbixlogs
# mount --bind /var/log/zabbix/ /zabbixlogs/
# mount -l | grep zabbix
New filesystem will be discovered automatically in 1 hour, but we do not have so much time
Wait a few seconds and click on Items
New file system is discovered and monitored!
The file name is always zbx_export_hosts, hostname is defined inside XML file !
Press Import
Check that all hosts details including tags and macros are imported
ZABBIX 5.0 Lab Manual 73
CONGRATULATIONS!
XML import / export is complete !
The Enterprise class Monitoring Solution for Everyone
www.zabbix.com
Zabbix 5.0
Certified Specialist course
End of Day 4