{"id":1503,"date":"2018-11-27T21:59:11","date_gmt":"2018-11-27T18:59:11","guid":{"rendered":"http:\/\/kifarunix.com\/?p=1503"},"modified":"2024-03-11T21:28:54","modified_gmt":"2024-03-11T18:28:54","slug":"how-to-install-and-configure-zabbix-4-0-from-source-on-fedora-29-fedora-28-centos-7","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-and-configure-zabbix-4-0-from-source-on-fedora-29-fedora-28-centos-7\/","title":{"rendered":"Install and Configure Zabbix 4.0 from Source on Fedora 29\/Fedora 28\/CentOS 7"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install and configure Zabbix 4.0 from source on Fedora 29\/Fedora 28\/CentOS 7.<\/p>\n\n\n\n<p>Zabbix is an enterprise class open-source <span class=\"st\">monitoring solution designed for real time monitoring of networks, servers, virtual machines and cloud sources. It also m<\/span>onitors any possible server performance metrics and incidents such as CPU utilization, memory utilization, Network bandwidth usage, disk space utilization etc.<\/p>\n\n\n\n<p>Zabbix metrics collection method include;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Multi-platform Zabbix agent<\/li>\n\n\n\n<li>SNMP and IPMI agents<\/li>\n\n\n\n<li>Agentless monitoring of user services<\/li>\n\n\n\n<li>Custom methods<\/li>\n\n\n\n<li>Calculation and aggregation<\/li>\n\n\n\n<li>End user web monitoring<\/li>\n<\/ul>\n\n\n\n<p>Zabbix has an handful of features which you can check them on <a href=\"https:\/\/www.zabbix.com\/documentation\/current\/manual\/introduction\/features\" target=\"_blank\" rel=\"noopener\">Zabbix features page<\/a>.<\/p>\n\n\n\n<p>You can also check out our previous article on <a href=\"https:\/\/kifarunix.com\/security\/siem\/alienvault\/how-to-configure-availability-monitoring-on-alienvault-usm-ossim\/\" target=\"_blank\" rel=\"noopener\">Nagios availability monitoring<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Zabbix from Source on Fedora 29\/Fedora 28\/CentOS 7<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Setup LAMP Stack<\/h3>\n\n\n\n<p>Zabbix is built around a modern Apache web server, leading database engines such as MySQL and PHP scripting language. Therefore ensure that you have LAMP stack installed before you can proceed.<\/p>\n\n\n\n<p>You can check our previous articles on <a href=\"https:\/\/kifarunix.com\/howtos\/how-to-install-lamp-linux-apache-mysql-php-stack-on-fedora-28-29\/\" target=\"_blank\" rel=\"noopener\">how to install LAMP stack on Fedora28\/29<\/a>. This will also apply to CentOS 7. If you follow this LAMP stack installation guide, install the following additional PHP extensions.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>yum install php-{xml,bcmath,common,pear,gettext,ctype}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Disable SELinux<\/h3>\n\n\n\n<p>Disable or set SELinux in permissive mode.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sed -i 's\/=enforcing\/=permissive\/' \/etc\/selinux\/config<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sed -i 's\/=enforcing\/=disabled\/' \/etc\/selinux\/config<\/code><\/pre>\n\n\n\n<p>Note that a system reboot is required in order to effect the SELinux changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install required Dependencies<\/h3>\n\n\n\n<p>Install the packages dependencies required to compile Zabbix from the source. Note that these dependencies depends on the option you choose to Zabbix from the source<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo yum<span class=\"crayon-e \"> -y<\/span> install gcc make mariadb<span class=\"crayon-o\">-<\/span>devel pcre* libevent-devel libxml2<span class=\"crayon-o\">-<\/span>devel net<span class=\"crayon-o\">-<\/span>snmp<span class=\"crayon-o\">-<\/span>devel libcurl<span class=\"crayon-o\">-<\/span>devel libssh2<span class=\"crayon-o\">-<\/span>devel<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Configure Apache Server<\/h3>\n\n\n\n<p>Once your system has met the above minimums, as a best practise for securing Zabbix setup, you need to disable Apache web server information exposure. Edit Apache main configuration file, <code>\/etc\/httpd\/conf\/httpd.conf<\/code>, and add the following lines at the end of the file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ServerSignature Off\nServerTokens Prod<\/code><\/pre>\n\n\n\n<p>You can simplify the above the above process with the following single line&#8217;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>echo -e \"ServerSignature Off\\nServerTokens Prod\" &gt;&gt; \/etc\/httpd\/conf\/httpd.conf<\/code><\/pre>\n\n\n\n<p>Set the Apache Server name to your hostname.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ServerName <strong>zabbix.example.com<\/strong><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-\u2014-configuring-php-for-zabbix\">Set PHP Timezone<\/h3>\n\n\n\n<p>Edit the <code>\/etc\/php.ini<\/code> file and set the appropriate timezone.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sed -i 's\/^;date.timezone =\/date.timezone = Africa\\\/Nairobi\/' \/etc\/php.ini<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Zabbix Server Backend Configuration<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Install Zabbix 4.0 server<\/h2>\n\n\n\n<p>There are four ways in which Zabbix can be installed and these include;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><div class=\"li\">Install it from the distribution packages<span style=\"color: initial;\"> <\/span><\/div><\/li>\n\n\n\n<li><div class=\"li\">Installing from the source archive<span style=\"color: initial;\"> <\/span><\/div><\/li>\n\n\n\n<li><div class=\"li\">Install it from the containers<span style=\"color: initial;\"> <\/span><\/div><\/li>\n\n\n\n<li><div class=\"li\">Download the virtual appliance<\/div><\/li>\n<\/ul>\n\n\n\n<p>In this tutorial, we are going to install Zabbix 4.0 from the sources.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"adding_zabbix_repository\">Download Latest Zabbix Source Archive<\/h3>\n\n\n\n<p>To download the latest Zabbix source archive, visit the <a class=\"urlextern\" title=\"http:\/\/www.zabbix.com\/download_sources\" href=\"http:\/\/www.zabbix.com\/download_sources\" target=\"_blank\" rel=\"nofollow noopener\">Zabbix download page<\/a> and grab it there. Once you have downloaded the archive, extract it as follows;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>tar xzf zabbix-4.0.1.tar.gz<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create_user_account\">Create Zabbix user account<\/h3>\n\n\n\n<p>An unprivileged user is required to run all Zabbix processes. Therefore, you need to create a <code>zabbix<\/code>&nbsp;user account with <code>zabbix<\/code> group. The user should not have a home directory. This can be done as shown below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>useradd -M zabbix<\/code><\/pre>\n\n\n\n<p>This will automatically create a <code>zabbix<\/code> group.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>id zabbix\nuid=1001(zabbix) gid=1001(<strong>zabbix<\/strong>) groups=1001(zabbix)<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create_zabbix_database\">Create MySQL Database for Zabbix<\/h3>\n\n\n\n<p>A database is required for managing and storing Zabbix data. Once the database is created, you are required to import the database schema and dataset as will be shown shortly.<\/p>\n\n\n\n<p>To create Zabbix MySQL database, proceed as follows<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p\ncreate database zabbix character set utf8 collate utf8_bin;\ngrant all privileges on zabbix.* to zabbix@localhost identified by 'STRONGP@SSWORD';\nflush privileges;\nquit<\/code><\/pre>\n\n\n\n<p>Import the database schema and data set.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd zabbix-4.0.1\/database\/mysql\/\nmysql -u zabbix -p zabbix &lt; schema.sql\nmysql -u zabbix -p zabbix &lt; images.sql\nmysql -u zabbix -p zabbix &lt; data.sql<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Compile and Install the Zabbix source<\/h2>\n\n\n\n<p>Once you are done with database creation, proceed to compile and install Zabbix. Note that you must specify the database type to be used when compiling the sources. For this procedure to succeed, you need to have installed the dependencies mentioned in the prerequisites.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ..\/..\/\n.\/configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2<\/code><\/pre>\n\n\n\n<p>If the compilation is successful, you should be able to see the configuration summary as shown below;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>\n<strong>...<\/strong>\nConfiguration:\n\n  Detected OS:           linux-gnu\n  Install path:          \/usr\/local\n  Compilation arch:      linux\n\n  Compiler:              cc\n  Compiler flags:         -g -O2 \n\n  Library-specific flags:\n    database:               -I\/usr\/include\/mysql -I\/usr\/include\/mysql\/mysql   \n    libXML2:               -I\/usr\/include\/libxml2\n    Net-SNMP:               -I. -I\/usr\/include\n\n  Enable server:         yes\n  Server details:\n    With database:         MySQL\n    WEB Monitoring:        cURL\n      SSL certificates:      \/usr\/local\/share\/zabbix\/ssl\/certs\n      SSL keys:              \/usr\/local\/share\/zabbix\/ssl\/keys\n    Native Jabber:         no\n    SNMP:                  yes\n    IPMI:                  no\n    SSH:                   no\n    TLS:                   no\n    ODBC:                  no\n    Linker flags:             -L\/usr\/lib64\/        -L\/usr\/lib64         -rdynamic   \n    Libraries:               -lmariadb  -lz -ldl -lm -lpthread -lssl -lcrypto     -lxml2    -lnetsnmp   -lz -lpthread -levent    -lcurl -lm -ldl  -lresolv -lpcre \n    Configuration file:    \/usr\/local\/etc\/zabbix_server.conf\n    External scripts:      \/usr\/local\/share\/zabbix\/externalscripts\n    Alert scripts:         \/usr\/local\/share\/zabbix\/alertscripts\n    Modules:               \/usr\/local\/lib\/modules\n\n  Enable proxy:          no\n\n  Enable agent:          yes\n  Agent details:\n    TLS:                   no\n    Linker flags:                -rdynamic   \n    Libraries:              -lz -lpthread    -lcurl -lm -ldl  -lresolv -lpcre \n    Configuration file:    \/usr\/local\/etc\/zabbix_agentd.conf\n    Modules:               \/usr\/local\/lib\/modules\n\n  Enable Java gateway:   no\n\n  LDAP support:          no\n  IPv6 support:          yes\n\n***********************************************************\n*            Now run 'make install'                       *\n*                                                         *\n*            Thank you for using Zabbix!                  *\n*              &lt;http:\/\/www.zabbix.com&gt;                    *\n***********************************************************\n<\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<h3 class=\"wp-block-heading\" id=\"make_and_install_everything\">Install Zabbix<\/h3>\n\n\n\n<p>Run the command below to install the Zabbix daemon binaries (zabbix_server, zabbix_agentd, zabbix_proxy) in \/usr\/local\/sbin and the client binaries (zabbix_get, zabbix_sender) in \/usr\/local\/bin.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>make &amp;&amp; make install<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Initial Zabbix configuration<\/h2>\n\n\n\n<p>Now that Zabbix backend installation is done, you need to make a few configuration changes before you can start Zabbix server.<\/p>\n\n\n\n<p>Edit the Zabbix server configuration file <code>\/usr\/local\/etc\/zabbix_server.conf<\/code> and specify database connection settings; <strong>database name, user and password <\/strong>as defined above.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/usr\/local\/etc\/zabbix_server.conf<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n<strong>...\n<\/strong>### Option: ListenPort\n# Listen port for trapper.<strong>\n...\n<\/strong># Default:<strong>\nListenPort=10051<\/strong>\n...\n### Option: LogFile\n<strong>...\n<\/strong># LogFile=\/tmp\/zabbix_server.log<strong>\nLogFile=\/var\/log\/zabbix\/zabbix_server.log\n...<\/strong>\n### Option: DBHost\n#       Database host name.\n<strong>...<\/strong>\n<strong>DBHost=localhost<\/strong>\n\n### Option: DBName\n<strong>...<\/strong>\n<strong>DBName=zabbix<\/strong>\n<strong>...<\/strong>\n### Option: DBUser\n<strong>...<\/strong>\n<strong>DBUser=zabbix<\/strong>\n<strong>...<\/strong>\n### Option: DBPassword\n<strong>...<\/strong>\n<strong>DBPassword=STRONGP@SSWORD<\/strong>\n<strong>...\n<\/strong>### Option: PidFile\n<strong>...<\/strong>\n# PidFile=\/tmp\/zabbix_server.pid\n<strong>PidFile=\/var\/run\/zabbix\/zabbix_server.pid<\/strong>\n<\/code><\/pre>\n\n\n\n<p>Create the custom log directory and set the proper ownership<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir \/var\/log\/zabbix\nmkdir \/var\/run\/zabbix\/\nchown zabbix.zabbix \/var\/log\/zabbix\nchown zabbix.zabbix \/var\/run\/zabbix<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Start Zabbix Server<\/h3>\n\n\n\n<p>Create a systemd service for Zabbix server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/systemd\/system\/zabbix-server.service<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n[Unit]\nDescription=Zabbix Server\nAfter=syslog.target network.target mariadb.service\n \n[Service]\nType=oneshot\nUser=zabbix\nExecStart=\/usr\/local\/sbin\/zabbix_server\nExecReload=\/usr\/local\/sbin\/zabbix_server -R config_cache_reload\nRemainAfterExit=yes\nPIDFile=\/var\/run\/zabbix\/zabbix_server.pid\n \n[Install]\nWantedBy=multi-user.target\n<\/code><\/pre>\n\n\n\n<p>Create a systemd service for Zabbix agent<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/systemd\/system\/zabbix-agent.service<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n[Unit]\nDescription=Zabbix Agent\nAfter=syslog.target network.target\n \n[Service]\nType=oneshot\nUser=zabbix\nExecStart=\/usr\/local\/sbin\/zabbix_agentd\nRemainAfterExit=yes\nPIDFile=\/var\/run\/zabbix\/zabbix_agent.pid\n \n[Install]\nWantedBy=multi-user.target\n<\/code><\/pre>\n\n\n\n<p>Reload systemd configuration<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl daemon-reload<\/code><\/pre>\n\n\n\n<p>Start and enable Zabbix server,agent deamon to run on system start.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl start zabbix-server\nsystemctl enable zabbix-server\nsystemctl start zabbix-agent\nsystemctl enable zabbix-agent<\/code><\/pre>\n\n\n\n<p>The Zabbix backend configuration is done. Proceed to configure Zabbix frontend.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Zabbix Frontend Configuration<\/h2>\n\n\n\n<p>Zabbix frontend is written in PHP. Therefore, in order to do the installations, you need to copy the PHP files from <code>~\/zabbix-4.0.1\/frontends\/php<\/code> to the Web root directory.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Zabbix Web root directory<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mkdir \/var\/www\/html\/zabbix\nrsync -avP  ~\/zabbix-4.0.1\/frontends\/php\/ \/var\/www\/html\/zabbix\/\nchown<span class=\"crayon-e \"> -R<\/span> apache<span class=\"crayon-f \">:apache<\/span> <span class=\"crayon-o\">\/<\/span>var<span class=\"crayon-o\">\/<\/span>www<span class=\"crayon-o\">\/<\/span>html<span class=\"crayon-o\">\/<\/span>zabbix<span class=\"crayon-o\">\/<\/span><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Configure PHP for Zabbix frontend<\/h4>\n\n\n\n<p>Edit the <code>\/etc\/php.ini<\/code> configuration file and make the following adjustments<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>max_execution_time 300\nmemory_limit 128M\npost_max_size 16M\nupload_max_filesize 5M\nmax_input_time 300\nmax_input_vars 10000\n<\/code><\/pre>\n\n\n\n<p>Open the Zabbix ports for passive and active checks, 10050 and 10051 respectively, on firewall.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>firewall-cmd --add-port={10051,10050}\/tcp --permanent\nfirewall-cmd --reload<\/code><\/pre>\n\n\n\n<p>Restart Apache<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart httpd<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Zabbix frontend initial Setup<\/h3>\n\n\n\n<p>You have completed the Zabbix server backend configuration. Login to Zabbix frontend to finalize the configurations. You can now access your Zabbix front using the URL in the format below;<\/p>\n\n\n\n<p><code>http:\/\/&lt;server_ip_or_name&gt;\/zabbix<\/code><\/p>\n\n\n\n<p>This takes you to Zabbix welcome page.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_welcome_page.png\"><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"648\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_welcome_page.png\" alt=\"\" class=\"wp-image-1521\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_welcome_page.png 885w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_welcome_page-768x562.png 768w\" sizes=\"(max-width: 885px) 100vw, 885px\" \/><\/a><\/figure><\/div>\n\n\n<p>Click Next to check on the PHP setup pre-requisites.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_php-pre-req.png\"><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"651\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_php-pre-req.png\" alt=\"\" class=\"wp-image-1522\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_php-pre-req.png 890w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_php-pre-req-768x562.png 768w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/a><\/figure><\/div>\n\n\n<p>If everything is fine, click next to configure Database connections. Enter the database password you specified while creating database user above.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_db-connection.png\"><img loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"654\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_db-connection.png\" alt=\"zabbix_db-connection-password\" class=\"wp-image-1523\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_db-connection.png 883w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_db-connection-768x569.png 768w\" sizes=\"(max-width: 883px) 100vw, 883px\" \/><\/a><\/figure><\/div>\n\n\n<p>Click Next to Set the server details.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_server_details.png\"><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"650\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_server_details.png\" alt=\"zabbix_server_details\" class=\"wp-image-1524\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_server_details.png 890w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_server_details-768x561.png 768w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/a><\/figure><\/div>\n\n\n<p>Click next to go through the configuration summary and and then next to set up Zabbix frontend. You have successfully setup Zabbix frontend.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_frontend-install-sum.png\"><img loading=\"lazy\" decoding=\"async\" width=\"879\" height=\"652\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_frontend-install-sum.png\" alt=\"zabbix_frontend-installation-sum\" class=\"wp-image-1525\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_frontend-install-sum.png 879w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix_frontend-install-sum-768x570.png 768w\" sizes=\"(max-width: 879px) 100vw, 879px\" \/><\/a><\/figure><\/div>\n\n\n<p>Click Finish to proceed to login to your new Zabbix server.<\/p>\n\n\n\n<p>The default login credentials are;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>Username: <strong>Admin<\/strong>\nPassword: <strong>zabbix<\/strong><\/code><\/pre>\n\n\n\n<p>In order to monitor Zabbix Server itself, enable it for monitoring by navigating to <strong>Configuration <\/strong>&gt; <strong>Hosts. <\/strong>Click on the Zabbix server status and you will be prompted whether to enable it. Click Ok.<\/p>\n\n\n\n<p><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-enable-server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1526 size-full\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-enable-server.png\" alt=\"enable-zabbix-server\" width=\"1413\" height=\"632\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-enable-server.png 1413w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-enable-server-768x344.png 768w\" sizes=\"(max-width: 1413px) 100vw, 1413px\" \/><\/a> You can then be able to monitor Zabbix server performance. For example, to check graphical overview of Zabbix server performance, click on <strong>Monitoring<\/strong> &gt; <strong>Graphs<\/strong> &gt; <strong>Group<\/strong> (Zabbix Servers) &gt; <strong>Host<\/strong> (Zabbix Server) &gt; <strong>Graph<\/strong> (Zabbix Server performance) &gt; <strong>View as<\/strong> (Graph).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-performance.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1402\" height=\"768\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-performance.png\" alt=\"Install and Configure Zabbix 4.0 from Source on Fedora 29\/Fedora 28\/CentOS 7\" class=\"wp-image-1527\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-performance.png 1402w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-performance-768x421.png 768w\" sizes=\"(max-width: 1402px) 100vw, 1402px\" \/><\/a><\/figure>\n\n\n\n<p>To see more details about Zabbix server performance, click&nbsp;<strong>Screens&nbsp;<\/strong>tab.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-screens.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1382\" height=\"605\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-screens.png\" alt=\"zabbix-server-screens\" class=\"wp-image-1530\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-screens.png 1382w, https:\/\/kifarunix.com\/wp-content\/uploads\/2018\/11\/zabbix-server-screens-768x336.png 768w\" sizes=\"(max-width: 1382px) 100vw, 1382px\" \/><\/a><\/figure>\n\n\n\n<p>That is all it takes to install and configure Zabbix from sources. In our next tutorial, we will learn how to monitor hosts with Zabbix. We hope this was informative. Stay connected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install and configure Zabbix 4.0 from source on Fedora 29\/Fedora 28\/CentOS 7. Zabbix is an<\/p>\n","protected":false},"author":1,"featured_media":12691,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[72,261],"tags":[5132,5133,5134],"class_list":["post-1503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-monitoring","category-zabbix","tag-install-and-configure-zabbix-4-0-from-source-on-fedora-29-fedora-28-centos-7","tag-install-zabbix-centos-7","tag-install-zabbix-fedora","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1503"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=1503"}],"version-history":[{"count":15,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1503\/revisions"}],"predecessor-version":[{"id":21050,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1503\/revisions\/21050"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/12691"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=1503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=1503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=1503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}