Zabbix 4.2 смотреть последние обновления за сегодня на .
Zabbix Team is proud to announce the release of version 4.2. Preprocessing, Prometheus, Javascripts and much more. Today, let's quickly go through all the new stuff. Later we will talk about all the new functionality more deeper and individually. Follow us: Twitter - 🤍 Facebook - 🤍 LinkedIn - 🤍 🤍
Already familiar with Prometheus node exporter for hardware and OS metric collection with pluggable metric collectors? Since Zabbix 4.2 Integration + monitoring + discovery is supported from the box, without any custom scripts or modules. This video provides a small insight on how to configure regular Items and Low level discovery rules. See also: 🤍 Follow us: Twitter - 🤍 Facebook - 🤍 LinkedIn - 🤍 🤍
Zabbix Course : 🤍 Coupons : 🤍 The commands executed in this video are, # mysql -uroot -p password # mysql: create database zabbix character set utf8 collate utf8_bin; # mysql: grant all privileges on zabbix.* to zabbix🤍localhost identified by 'password'; # mysql: quit; Next import the schema, # zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix Then edit the Zabbix Server configuration file to tell it the DB password # sudo nano /etc/zabbix/zabbix_server.conf DBPassword=password
In a recent release of ZABBIX 4.2 we added support of Timescale DB. Timescale basically is an extension for PostgreSQL database, which provides a functionality for a built in partitioning of historical tables in Zabbix. Follow us: Twitter - 🤍 Facebook - 🤍 LinkedIn - 🤍 🤍
Zabbix Course : 🤍 Coupons : 🤍 In this video, I continue working on my PCI DSS Windows Events Template and modify the Item that monitors for logon failure to return the basic summary of the failure, plus the affected user account. I write a small JavaScript function that extracts the first line of the log event description, and also extracts the username, concatenates them and returns that as a new value for further treatment in Zabbix. The benefit of using JavaScript for extracting data from the log text is the many extra possible options you have in deciding on the final output.
Zabbix 5 Course : 🤍 Coupons : 🤍 Zabbix-get is a command line tool that allows you to manually query keys on the remote hosts. To install on ubuntu, $ sudo apt-get install zabbix-get For help use $ zabbix_get -h Ensure that EnableRemoteCommands=1 in zabbix-agentd.conf and if you are using psk encryption you will need to also enter the psk information, or add 'unencrypted' to the options for TLSAccept in the agents configuration file.
For more info on my Zabbix Course visit 🤍 I install Zabbix 4.2 from packages on an Ubuntu 18 and got my server from Digital Ocean. 🤍 Alternatively, I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : 🤍 Steps in this video, Install the Zabbix Server Install a MySQL database for Zabbix Setup the MySQL Zabbix Schema Install the Zabbix Server PHP frontend Edit Configuration files, Login, and check for any errors. The commands entered in this video are specific to Ubuntu 18 and Zabbix 4.2.1 $ wget 🤍 $ dpkg -i zabbix-release_4.2-1+bionic_all.deb $ apt update $ apt install zabbix-server-mysql $ apt install zabbix-frontend-php $ mysql -uroot -pzabbix create database zabbix character set utf8 collate utf8_bin; grant all privileges on zabbix.* to zabbix🤍localhost identified by 'zabbix'; quit $ zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix (then enter the password 'zabbix') $ sudo nano /etc/zabbix/zabbix_server.conf configure the DBPassword and DBHost values, and save $ sudo service zabbix-server start $ update-rc.d zabbix-server enable $ sudo nano /etc/apache2/conf-enabled/zabbix.conf uncomment both php_values for timezone and set to your timezone, then save $ sudo service apache2 restart Visit http://[ipaddress]/zabbix and continue Full instructions for Debian/Ubuntu/Raspbian are on this page 🤍
In this video I install and configure Zabbix Agent to run on a Mac OSX. The mac is behind a firewall, so Zabbix Server cannot connect to it directly, so I also create a specific firewall rule. In later videos I will demonstrate using Zabbix Proxy which does not require a new firewall rule to be created for each individual host. After installing the Zabbix Agent on Mac OSX, you will need to configure it's configuration file. See 🤍 for the commands used in this video For more info on my Zabbix Course visit 🤍
Zabbix Course : 🤍 Coupons : 🤍 Commands entered in this video, # systemctl restart zabbix-server zabbix-agent apache2 # systemctl enable zabbix-server zabbix-agent apache2
Zabbix Course : 🤍 Coupons : 🤍 In this section you will need to enter the MySQL password you created earlier. And then at the end, you will then log into the new completed install of Zabbix Server using the default credentials of, Username : Admin Password : zabbix
Zabbix Course : 🤍 Coupons : 🤍 The commands in this video are, # sudo nano /etc/zabbix/apache.conf Scroll down and uncomment the line # php_value date.timezone Europe/Riga and edit to your time zone. My time zone is London, so my line looks like, php_value date.timezone Europe/London PHP timezone strings can be found here, 🤍
Zabbix 5 Course : 🤍 When connecting Zabbix Server to Zabbix Agent directly with a firewall between, you will need to set up port forwarding rules in your router settings. You can bypass this requirement if you install Zabbix Proxy. I will demonstrate Zabbix Proxy in a later video tutorial. So, my Zabbix Server is hosted in the cloud, on Digital Ocean : 🤍 Alternatively, I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : 🤍 I then go onto my windows machine that I want to monitor and install the Zabbix Agent. Download it from 🤍 After install, I test the Zabbix agent is running by checking it's log file, and testing the port forwarding rule works, by telnetting from an external IP. to the newly installed Zabbix agent running on my internal network. This connecting attempt shows in my Zabbix agent log file. I then setup the host on the Zabbix Server using the Configuration/Hosts menu option and tell it to use the External IP address and external port that I set up on the firewalls port forwarding rules. When setting the host, be sure to also select which template it should use. I use the 'Template OS Windows' template which instructs Zabbix Agent which values to collect. After several moments, the Zabbix Server receives latest information from the Zabbix Agent about the Windows Host, and the Availability icon now shows as green. The 'Template OS Windows' is a very basic template. I will create a more sophisticated template in a later video specific for windows. Also, note that I didn't use a Zabbix Proxy in this video, this will also come in a later video. It is not essential to use a Zabbix Proxy, although it does help with some firewall issues or occasional network connectivity issues.
Zabbix Course : 🤍 Coupons : 🤍 The commands in this video are, # apt -y install zabbix-server-mysql zabbix-frontend-php zabbix-agent The Zabbix Agent installed at this time is an agent specific for monitoring this specific Zabbix Server. This is not necessary but it advised, and I use it within this course.
Zabbix Course : 🤍 Coupons : 🤍 Grafana is good for monitoring time series data, and so is Zabbix, Grafana is another option for viewing Zabbix Data, and data from many other data sources. In this video , I will install Grafana on the same server as my Zabbix Server. For the commands used in the video, visit 🤍 Note : Since Grafana v7, unsigned plugins won't be visible unless you explicitly allow them in the `Grafana.ini` file. Open `/etc/grafana/grafana.ini`, and uncomment and change the line allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource #grafana Engineer
Zabbix Course : 🤍 Coupons : 🤍 I have many options where to install Zabbix Server. In this course I want the server to be on 24 hours a day, and to be easily accessible from many physical locations. I decide that hosting it using a cloud provider is best and I use digital Ocean. I could use AWS, Azure, GCP or many others. You can also install Zabbix Server on a local Linux VM if you wish. This video contains a demonstration of installing Zabbix Server on a Digital Ocean hosted VM. If you would also like to use Digital Ocean VM, you can create a $5 a month server using this link. 🤍 The $5 a month VM is adequate for all the tasks in this course and it only takes a few minutes to set up. Alternatively, I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : 🤍 - This video is a preview of my full Zabbix Course at 🤍 Course Coupons : 🤍 #zabbix #zabbix5 #zabbixCourse #zabbixTutorial
Zabbix server üzerinde eklenen makineler için CPU ,RAM,Disk ve network durumlarını takip edeceğimiz dashboard oluştuşturma işlemleri.
Zabbix 5 Course : 🤍 Coupons : 🤍 Since this is windows, you can download an installer that will assist the install of the agent on the host. But since this host is on a different network that the Zabbix-Server, and a Zabbix Proxy is not present, we will need to create a firewall rule to port forward external Zabbix server initiated commands to the internal hosts IP and port. I install the Zabbix agent on windows listening on the default port of 10050. I get it's external IP address, and enter that into the Zabbix Server hosts setup for this windows host, and then setup the port forwarding rule on my router. Zabbix server isn't on the same network as my new Windows host, so the windows hosts internal IP will not work without setting up a specific firewall forwarding rule. After all configurations have been entered, you can open the services panel on windows and restart the Zabbix agent service so that the agent and server begin communicating.
Zabbix 5 Course : 🤍 I install Zabbix Proxy 4.2 to manage communication between the Server and Agents. The commands used in this video can be copy/pasted from 🤍 For more info on my Zabbix Course visit 🤍
Zabbix 5 Course : 🤍 Coupons : 🤍 The specifics of installing Zabbix Agent on the Zabbix Proxy
Zabbix Course : 🤍 Coupons : 🤍 By default, agent communication is done in clear text. For encryption we have an option to use PSK-based encryption. PSK means pre shared key. The PSK option consists of the PSK identity and the PSK Secret. I generate a 256 bit 32 byte hex using the button on this page. 🤍 #zabbix #zabbix5 #zabbixCourse #zabbixTutorial
Zabbix 5 Course : 🤍 I have a slack account, and I create an app for it that accepts incoming web hooks. I get the sample URL from the app page and use it when a trigger is called in Zabbix. On Zabbix, I create the media type and call it Slack, which calls a script, which I create on the file system, which also accepts a macro property named {ALERT.SUBJECT} I then clone an existing trigger and make it happen all the time and set its severity to high so that my account gets the alerts in slack. I also have slack on my phone, so I also get alerts there. On zabbix server, I go to folder /usr/lib/zabbix/alertscripts and create a new file named slackalert.sh ########### slackalert.sh ########### #!/bin/bash curl -X POST -H 'Content-type: application/json' data '{"text":"'"$1"'"}' 🤍 slack hook tokens] ##### end slackalert.sh ########## Save, then give the file execute permissions, $ chmod a+x /usr/lib/zabbix/alertscripts/slackalert.sh Go back into Zabbix and create a new media type, Name = 'Slack Alert' Type = 'Script' Script Name = slackalert.sh Script Parameters = {ALERT.SUBJECT} In zabbix4.2, you can test using the 'test' option for the new media type. Open your slack channel on your browser and/or mobile phone and see the real time alerts. Note that the slackalert.sh script is only passing the {ALERT.SUBJECT} value, so the 'Send To' and 'Message' test fields are ignored. Thanks for watching, remember to like, comment, subscribe and share. #zabbix-slack-alert
Centos 7 üzerine Zabbix server 4.2 Kurulumu 🤍
For more info on my Zabbix Course visit 🤍 I have a freshly installed Raspberry Pi. It has Rasbian Stretch-Lite with 4GB SD Ram on a Raspberry PI Model B And in this video, I install Zabbix Proxy and Agent on it. After the setup and install of the new Raspberry Pi I login and enter $ wget 🤍 $sudo dpkg -i zabbix-release_4.2-1+stretch_all.deb $sudo apt update I then need to configure the proxy, the agent, add the proxy to the Zabbix Server, add the Agent as a new host to the Zabbix Server, and reconfigure my existing Hosts on my internal private network to now use the proxy as a relay to the server. After this, I no longer need special port forwarding rules on my Router and If my internet connection goes down, the proxy will still record data for up to an hour. After every change to the hosts or agents, it is advisable to get the proxy to reload the config cache from the main Zabbix server by entering $sudo zabbix_proxy -R config_cache_reload After the setup, you can enable the proxy and agent to auto start after reboot, by entering enable auto start after reboot $sudo systemctl enable zabbix-proxy.service $sudo systemctl enable zabbix-agent.service
Download Code and zabbix Agent 🤍 Install zabbix 4.2 + Add host + Agent On CentOS7
Zabbix Course : 🤍 Coupons : 🤍 By default, agent communication is done in clear text. For encryption we have an option to use PSK-based encryption. PSK means pre shared key. The PSK option consists of two important values, the PSK identity and the PSK Secret. The secret should be minimum a 128-bit (16-byte PSK, entered as 32 hexadecimal digits) up to 2048-bit (256-byte PSK, entered as 512 hexadecimal digits) All the commands in this video can be copy/pasted from 🤍 For more info on my Zabbix Course visit 🤍 You can generate a 256 bit PSK secret with openssl using the command $ openssl rand -hex 32 In this lecture, I also save it straight to a file. I first create and navigate to a folder /home/zabbix/ I then run, $ openssl rand -hex 32 Save the output to a file called secret.psk See video for the method I used to output the random hex directly into a file named secret.psk I also make sure that only the Zabbix user can read the file. $ chown zabbix:zabbix secret.psk $ chmod 640 secret.psk I then reconfigure the Zabbix agent configuration file. $ sudo nano /etc/zabbix/zabbix_agentd.conf and change the options near the bottom, TLSConnect=psk TLSAccept=psk TLSPSKFile=/home/zabbix/secret.psk TLSPSKIdentity=[whatever you like. not sensitive info. this part not unencrypted] I then restart the agent $ sudo service zabbix-agent restart I then go into the Zabbix Server User interface and configure the PSK encryption options for the host. I select the 'Connections to host' = PSK 'Connections from host' = PSK 'PSK Identity' = [what ever you used in the Zabbix agent config] 'PSK' = [the long hex string generated from the OpenSSL command above] After a minute or two, the Zabbix Server and Agent will successfully communicate using PSK encryption.
Zabbix Course : 🤍 Coupons : 🤍 I choose to install Zabbix Server from packages. The download page is at 🤍 I have the 'Install from Packages' tab active, I then choose '4.2', 'Ubuntu', '18.04 Bionic' and 'MySQL' for the database. The commands I used in this video are, # wget 🤍 # dpkg -i zabbix-release_4.2-1+bionic_all.deb # apt update - This video is a preview of my full Zabbix Course at 🤍 Join now and you will also get an extra 2 months Premium Access for Free to all other SkillShare courses.
Zabbix 5 Course : 🤍 My Zabbix server is reporting a lack of free swap space. It probably means that the system requires more physical memory. My server only has 1GB of RAM, but if I create a 2GB swap file, Zabbix Server will think it has 2GBs of RAM. When creating a swap file, create it twice the size of your available RAM. The commands. - Check if I have a swap already $ sudo swapon -s Double checked using free $ free -m List available disks to see which I want to use for the new swap $ df -h Choose my disk, then allocate 2gb to a new file called swapfile $ sudo fallocate -l 2G /swapfile Verify it now exists $ ls -lh /swapfile Adjust permissions so only root can use it $ sudo chmod 600 /swapfile Verify changes again $ ls -lh /swapfile Convert it to a real swapfile $ sudo mkswap /swapfile Turn it on $ sudo swapon /swapfile Checked it's usage $ sudo swapon -s Checked it using free $ free -m Now make it permanent in case of reboot $ sudo nano /etc/fstab Add line below to fstab /swapfile none swap sw 0 0 Press Ctrl X, then Y to overwrite, then enter to save. Go back to Zabbix-Server and you will see that the problem has been fixed. Thanks for watching, remember to like, comment, subscribe and share,
For more info on my Zabbix Course visit 🤍 I setup LLD Discovery Rules and Actions to find and auto configure all SNMP devices on my local network. The rule and actions will scan all internal IP address for accessible SNMP daemon system descriptions, read the response, and then use that response to add it to a server group, and to also auto configure the relevant template for the device. #snmp
Zabbix 5 Course : 🤍 Coupons : 🤍 I create a python script on my remote Linux host that prints a random number. I create a new item for the host and select the system.run option for the key and enter the python command needed to run the new py file on the remote host. Remember, it's important that there is a line `EnableRemoteCommands=1` in your zabbix-agentd.conf file, and you need to restart the agent for it to take effect. #zabbix #zabbix5 #zabbixCourse #zabbixTutorial
1. OS a. Linux CentOS 7.6 b. Update it c. Prerequisites d. Database e. Secure it 2. Zabbix 4.2 using MySQL database, MariaDB - 8:00 a. install Zabbix b. connect to database c. configure front-end d. finish configuration # 1. Install basic server and configure it CentOS Download - 🤍 🤍 # Set IP and activate adapters if required nmtui #connect using SSH/Telnet # Change time zone if not done jet mv /etc/localtime /etc/localtime.bak ln -s /usr/share/zoneinfo/Europe/Riga /etc/localtime #Check swap file free -m # Update CentOS - take some ~5-10 minutes.. yum update -y # Install some useful packages and MySQL fork Mariadb yum install vim mc mariadb-server -y # Edit MySQL config file and add innodb_file_per_table under [mysqld] section vim /etc/my.cnf innodb_file_per_table #Start MySQL and secure it (by default database root has no password) systemctl start mariadb mysql_secure_installation #create zabbix database and user mysql -p CREATE DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_bin; GRANT ALL PRIVILEGES ON zabbix.* TO zabbix🤍localhost IDENTIFIED BY 'PasswordHere'; flush privileges; exit #Configure Firewall systemctl unmask firewalld systemctl enable firewalld systemctl start firewalld # allow connections to ports 10051 (Zabbix server), 10050 (Zabix agent), 80 (HTTP) 443 (HTTPS) in firewalld firewall-cmd permanent zone=public add-port=10051/tcp firewall-cmd permanent zone=public add-port=10050/tcp firewall-cmd permanent zone=public add-port=80/tcp firewall-cmd permanent zone=public add-port=443/tcp firewall-cmd reload # 2. Install Zabbix packages on CentOS/RHEL 7 # Download Zabbix package from 🤍 (look for latest long term release package) rpm -ivh 🤍 # Install Zabbix packages yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender zabbix-java-gateway -y # Import initial DB schema and data (Zabbix version can be different, so check folder name) cd /usr/share/doc/zabbix-server-mysql-4.2.4 zcat create.sql.gz | mysql -uroot -p zabbix # Edit database configuration in zabbix_server.conf vim /etc/zabbix/zabbix_server.conf DBHost=localhost (better change to IP) DBName=zabbix DBUser=zabbix DBPassword=your password for DB user "zabbix" # Edit PHP timezone and change/uncomment the “date.timezone” setting and set the right timezone for you. vim /etc/httpd/conf.d/zabbix.conf php_value max_execution_time 300 php_value memory_limit 128M php_value post_max_size 16M php_value upload_max_filesize 2M php_value max_input_time 300 php_value max_input_vars 10000 php_value always_populate_raw_post_data -1 php_value date.timezone Europe/Riga #Changes will be applied after restart of server or service httpd # Add services to server startup systemctl enable zabbix-server zabbix-agent zabbix-java-gateway httpd mariadb #Check startup list systemctl list-unit-files | grep zabbix systemctl list-unit-files | grep httpd systemctl list-unit-files | grep mariadb # Check SELinux status sestatus # We will switch SELinux off in this example (if you want to keep it on, check Zabbix documentation). vim /etc/selinux/config set SELINUX=disabled # Save the file. Reboot required to apply changes # Restart server reboot #Ready to go to http://ipaddress/zabbix to finish setup. Server name: name of Zabbix server instance (will see it in the right up corner, under logout) Example: zbx_prod01, zbx_test01, zbx4.0.centos7 etc. Default user: Admin password: zabbix Thank's for watching! Please, subscribe! Br, Alexander P.S. Additional resources #Create swap file dd if=/dev/zero of=/swapfile1 bs=1024 count=524288 chown root:root /swapfile1 chmod 0600 /swapfile1 mkswap /swapfile1 swapon /swapfile1 free -m # To activate /swapfile1 after Linux system reboot vi /etc/fstab #Append the following line: /swapfile1 none swap sw 0 0 #Start Zabbix server process systemctl start zabbix-server #check the status systemctl status zabbix-server # Start Zabbix agent process. systemctl start zabbix-agent #Zabbix Server log file location vim /var/log/zabbix/zabbix_server.log #Default Admin password location /etc/zabbix/web/zabbix.conf.php #Forum 🤍 #Professional help 🤍 Music: Avant Jazz - Disco Ultralounge by Kevin MacLeod is licensed under a Creative Commons Attribution license (🤍 Source: 🤍 Artist: 🤍
Zabbix Course : 🤍 Coupons : 🤍 Important : In the zabbix_agentd.conf for the remote host, add `EnableRemoteCommands=1` and then restart the agent process. I then, create a bat file, that prints various things such as text and random numbers, I then execute it and read the response from the remote Zabbix Agent host using the system.run item key.
✔️ Установка и настройка Zabbix сервер мониторинга. ✔️ Статья на сайте: 👉 🤍 ✔️Репозитарий скачать: 👉🤍 ✔️Другие статьи о настройке Zabbix на нашем сайте: 👉🤍 ✔️Покупайте товары для компьютера по хорошим ценам: 🤍 #zabbixserver #zabbixmonitoring #настройказаббикс #zabbixsettings #zabbix
The link for MariaDB repo installation: 🤍 Zabbix instructions: 🤍
觅安教育专注于制作容器、Kubernetes、Linux、信息安全、网络管理等IT相关技术教学视频, 感谢关注!
🚀 Quer ir além e ser um especialista em monitoramento de TI? ✅ Quer aprender mais? conteúdo gratuito nos dois links abaixo: 🤍 🤍 - 🎦 Conheça nossos treinamentos nos links abaixo: ✅ Método Expert SNMP 🤍 ✅ Treinamento Expert Monitoring 🤍 ✅ Treinamento Expert Dashboard 🤍 - ✅ Nosso canal do Telegram - Canal NOTO TI TELEGRAM Receba conteúdos exclusivos, ofertas e muitos mais dentro do nosso canal Participe! 🤍 - ☑️ Tem dúvidas sobre algum assunto em Monitoramento de TI? Acesse o formulário abaixo e deixe temas que gostaria de ver em nossos canais. Vamos preparar conteúdos especiais para você. É rápido! 🤍 - 🌐Mais informações: Evandro Zipf NOTO TI contato🤍nototi.com.br 🤍 🤍 📶REDES SOCIAIS: 🤳FACEBOOK: 🤍 LINKEDIN 🤍 ✅INSCREVA-SE, COMPARTILHE E DEIXE SEUS COMENTÁRIOS em nosso canal: 🤍 REFERÊNCIAS Zabbix é um software de monitoramento gratuito e open source 🤍 Grafana 🤍 Site do Net-SNMP 🤍
This video for upgrading zabbix latest version.
INSTALANDO ZABBIX 4.2 2019 ATUALIZADO Temos soluções customizadas de acordo com o perfil do seu provedor. Especializações Cisco Juniper Huawei Fiberhome Mikrotik Intelbras Linux VMWare Link Vídeo: 🤍
Quick video on such important functionality in Zabbix as Templates. How to use them, why should you use them? And also a little bit about new 4.2 thing - Tags in the templates. Follow us: Twitter - 🤍 Facebook - 🤍 LinkedIn - 🤍 🤍
1. OS a. Linux CentOS 7.6 b. Update it c. Prerequisites d. Database e. Secure it 2. Zabbix 4.2 using MySQL database, MariaDB - 8:10 a. install Zabbix b. connect to database c. configure front-end d. finish configuration # 1. Install basic server and configure it CentOS Download - 🤍 🤍 # Set IP and activate adapters if required nmtui #connect using SSH/Telnet # Change time zone if not done jet mv /etc/localtime /etc/localtime.bak ln -s /usr/share/zoneinfo/Europe/Riga /etc/localtime #Check swap file free -m # Update CentOS - take some ~5-10 minutes.. yum update -y # Install some useful packages and MySQL fork Mariadb yum install vim mc mariadb-server -y # Edit MySQL config file and add innodb_file_per_table under [mysqld] section vim /etc/my.cnf innodb_file_per_table #Start MySQL and secure it (by default database root has no password) systemctl start mariadb mysql_secure_installation #create zabbix database and user mysql -p CREATE DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_bin; GRANT ALL PRIVILEGES ON zabbix.* TO zabbix🤍localhost IDENTIFIED BY 'PasswordHere'; flush privileges; exit #Configure Firewall systemctl unmask firewalld systemctl enable firewalld systemctl start firewalld # allow connections to ports 10051 (Zabbix server), 10050 (Zabix agent), 80 (HTTP) 443 (HTTPS) in firewalld firewall-cmd permanent zone=public add-port=10051/tcp firewall-cmd permanent zone=public add-port=10050/tcp firewall-cmd permanent zone=public add-port=80/tcp firewall-cmd permanent zone=public add-port=443/tcp firewall-cmd reload # 2. Install Zabbix packages on CentOS/RHEL 7 # Download Zabbix package from 🤍 (look for latest long term release package) rpm -ivh 🤍 # Install Zabbix packages yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender zabbix-java-gateway -y # Import initial DB schema and data (Zabbix version can be different, so check folder name) cd /usr/share/doc/zabbix-server-mysql-4.2.4 zcat create.sql.gz | mysql -uroot -p zabbix # Edit database configuration in zabbix_server.conf vim /etc/zabbix/zabbix_server.conf DBHost=localhost (better change to IP) DBName=zabbix DBUser=zabbix DBPassword=your password for DB user "zabbix" # Edit PHP timezone and change/uncomment the “date.timezone” setting and set the right timezone for you. vim /etc/httpd/conf.d/zabbix.conf php_value max_execution_time 300 php_value memory_limit 128M php_value post_max_size 16M php_value upload_max_filesize 2M php_value max_input_time 300 php_value max_input_vars 10000 php_value always_populate_raw_post_data -1 php_value date.timezone Europe/Riga #Changes will be applied after restart of server or service httpd # Add services to server startup systemctl enable zabbix-server zabbix-agent zabbix-java-gateway httpd mariadb #Check startup list systemctl list-unit-files | grep zabbix systemctl list-unit-files | grep httpd systemctl list-unit-files | grep mariadb # Check SELinux status sestatus # We will switch SELinux off in this example (if you want to keep it on, check Zabbix documentation). vim /etc/selinux/config set SELINUX=disabled # Save the file. Reboot required to apply changes # Restart server reboot #Ready to go to http://ipaddress/zabbix to finish setup. Server name: name of Zabbix server instance (will see it in the right up corner, under logout) Example: zbx_prod01, zbx_test01, zbx4.0.centos7 etc. Default user: Admin password: zabbix Thank's for watching! Please, subscribe! Br, Alexander P.S. Additional resources #Create swap file dd if=/dev/zero of=/swapfile1 bs=1024 count=524288 chown root:root /swapfile1 chmod 0600 /swapfile1 mkswap /swapfile1 swapon /swapfile1 free -m # To activate /swapfile1 after Linux system reboot vi /etc/fstab #Append the following line: /swapfile1 none swap sw 0 0 #Start Zabbix server process systemctl start zabbix-server #check the status systemctl status zabbix-server # Start Zabbix agent process. systemctl start zabbix-agent #Zabbix Server log file location vim /var/log/zabbix/zabbix_server.log #Default Admin password location /etc/zabbix/web/zabbix.conf.php #Forum 🤍 #Professional help 🤍 Music: Avant Jazz - Disco Ultralounge by Kevin MacLeod is licensed under a Creative Commons Attribution license (🤍 Source: 🤍 Artist: 🤍