<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>zabbix Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/zabbix/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 01 Oct 2019 14:37:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Centos7 and 8 uses docker-compose to install zabbix</title>
		<link>https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/</link>
					<comments>https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/#comments</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 30 Sep 2019 16:22:19 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Docker compose]]></category>
		<category><![CDATA[linux. mysql]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[zabbix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14072</guid>

					<description><![CDATA[<p>Build and run a zabbix system through docker&#8217;s basic operation command, which involves zabbix-server, zabbix-web-Nginx-mysq, and mysql container. Operation up relatively tedious, and every time to run to come again is very inconvenient. Here&#8217;s how to deploy zabbix with a docker-compose Install Docker and Docker-compose The first thing to do is to install Docker and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/">Centos7 and 8 uses docker-compose to install zabbix</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Build and run a <a href="https://www.osradar.com/install-zabbix-server-centos-8-rhel-oracle-linux/">zabbix</a> system through docker&#8217;s basic operation command, which involves zabbix-server, zabbix-web-Nginx-mysq, and mysql container. Operation up relatively tedious, and every time to run to come again is very inconvenient. Here&#8217;s how to deploy zabbix with a docker-compose </p>



<p></p>



<h4><strong>Install Docker and Docker-compose </strong></h4>



<p>The first thing to do is to install Docker and Docker compose in our system. For centos7, use the following command.</p>



<p>For the rest of the releases, it&#8217;s best to read the official Docker documentation.</p>



<pre class="wp-block-preformatted">[root@localhost ~]# yum install docker python-pip docker-compose -y</pre>



<p>Check that the installation is successful</p>



<pre class="wp-block-preformatted"> [root@localhost ~]# docker-compose -v &amp;&amp; docker -v</pre>



<figure class="wp-block-image"><img loading="lazy" width="1000" height="152" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/check-docker.png" alt="Check docker and docker-compose" class="wp-image-14076" srcset="https://www.osradar.com/wp-content/uploads/2019/09/check-docker.png 1000w, https://www.osradar.com/wp-content/uploads/2019/09/check-docker-300x46.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/check-docker-768x117.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/check-docker-696x106.png 696w" sizes="(max-width: 1000px) 100vw, 1000px" /><figcaption> Check docker and docker-compose</figcaption></figure>



<h4><strong>Deploy zabbix using Docker-compose</strong></h4>



<ul><li>First, create a folder and then create docker-compose.yml files in it</li></ul>



<pre class="wp-block-preformatted">[root@localhost ~]# mkdir zabbix
[root@localhost ~]# cd zabbix/
[root@localhost zabbix]# touch docker-compose.yml</pre>



<ul><li>Edit docker-compose.yml  file</li></ul>



<pre class="wp-block-preformatted">[root@localhost zabbix]# vim docker-compose.yml 
 version: '3'
 services:
   zabbix-mysql:
     image: mysql:5.6
     container_name: zabbix-mysql
     ports:
       - '3306:3306'
     environment:
       MYSQL_ROOT_PASSWORD: zabbix
     volumes:
       - /root/zabbix/mysql-data:/var/lib/mysql
 zabbix-server:
     image: zabbix/zabbix-server-mysql:ubuntu-3.0.4
     container_name: zabbix-server
     environment:
       DB_SERVER_HOST: "zabbix-mysql"
       MYSQL_USER: root
       MYSQL_PASSWORD: zabbix
     ports:
       - '10051:10051'
     links:
       - zabbix-mysql
     depends_on:
       - zabbix-mysql
 zabbix-web:
     image: zabbix/zabbix-web-nginx-mysql:ubuntu-3.0.4
     container_name: zabbix-web
     environment:
       DB_SERVER_HOST: zabbix-mysql
       MYSQL_USER: root
       MYSQL_PASSWORD: zabbix
       ZBX_SERVER_HOST: "zabbix-server"
       PHP_TZ: Asia/Shanghai
     ports:
       - '80:80'
       - '443:443'
     links:
       - zabbix-mysql
       - zabbix-server
     depends_on:
       - zabbix-mysql
       - zabbix-server</pre>



<h4><strong>Important environment variable Settings</strong></h4>



<ul><li>Zabbix-web-nginx-mysql and zabbix-web-nginx-mysql image versions remain consistent (ubuntu-3.0.4 or other)</li><li>MYSQL_ROOT_PASSWORD:  mysql root password </li><li>MYSQL_USER: Connect the mysql user</li><li>MYSQL_PASSWORD: Connect the mysql  password</li></ul>



<h4><strong>Running and testing zabbix</strong></h4>



<pre class="wp-block-preformatted">[root@localhost ~]# docker-compose up -d
[root@localhost ~]# docker-compose ps</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="507" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/run-1024x507.png" alt="Deploy zabbix using docker-compose" class="wp-image-14083" srcset="https://www.osradar.com/wp-content/uploads/2019/09/run-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/run-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/run-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/run-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/09/run-696x345.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/run-1068x529.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/run-848x420.png 848w, https://www.osradar.com/wp-content/uploads/2019/09/run.png 1510w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Deploy zabbix using docker-compose</em> </figcaption></figure>



<p>Wait 2 minutes for the database initialization to complete </p>



<p>Next, open your web browser and go to your server using the port 80. </p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="353" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/zabbixlogin-1024x353.png" alt="zabbix login" class="wp-image-14084" srcset="https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-1024x353.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-300x103.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-768x265.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-696x240.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-1068x368.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-1218x420.png 1218w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin.png 1728w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>zabbix login</figcaption></figure>



<p>Log in using Zabbix&#8217;s default user and password <br>user: Admin  password:zabbix  <br>After that, you will see the dashboard  </p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="439" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/login-1024x439.png" alt="zabbix  dashboard " class="wp-image-14085" srcset="https://www.osradar.com/wp-content/uploads/2019/09/login-1024x439.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/login-300x129.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/login-768x329.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/login-696x298.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/login-1068x458.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/login-980x420.png 980w, https://www.osradar.com/wp-content/uploads/2019/09/login.png 1862w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>zabbix  dashboard </figcaption></figure>



<p> In a nutshell with Docker Compose, you no longer need to use shell scripts to start the container. In the configuration file, all containers are defined through the services, and then the application is started, stopped, and restarted using the docker-compose script, along with the services in the application and all containers that depend on the services. Docker Compose is a tool for defining and running multi-container Docker applications. it USES YAML files to configure the service of the application and a single command to perform the creation and startup of all containers. The <a href="https://docs.docker.com/compose/reference/create/">docker-compose</a> cli tool allows users to run commands for multiple containers simultaneously. </p>


<p class="wp-block-tag-cloud"><a href="https://www.osradar.com/tag/android/" class="tag-cloud-link tag-link-62 tag-link-position-1" style="font-size: 16.87323943662pt;" aria-label="android (260 items)">android<span class="tag-link-count"> (260)</span></a>
<a href="https://www.osradar.com/tag/apache/" class="tag-cloud-link tag-link-127 tag-link-position-2" style="font-size: 10.366197183099pt;" aria-label="Apache (56 items)">Apache<span class="tag-link-count"> (56)</span></a>
<a href="https://www.osradar.com/tag/bionic/" class="tag-cloud-link tag-link-1101 tag-link-position-3" style="font-size: 10.267605633803pt;" aria-label="bionic (55 items)">bionic<span class="tag-link-count"> (55)</span></a>
<a href="https://www.osradar.com/tag/buster/" class="tag-cloud-link tag-link-1945 tag-link-position-4" style="font-size: 11.943661971831pt;" aria-label="Buster (83 items)">Buster<span class="tag-link-count"> (83)</span></a>
<a href="https://www.osradar.com/tag/centos/" class="tag-cloud-link tag-link-72 tag-link-position-5" style="font-size: 14.30985915493pt;" aria-label="CentOS (145 items)">CentOS<span class="tag-link-count"> (145)</span></a>
<a href="https://www.osradar.com/tag/centos-8/" class="tag-cloud-link tag-link-1987 tag-link-position-6" style="font-size: 9.9718309859155pt;" aria-label="Centos 8 (51 items)">Centos 8<span class="tag-link-count"> (51)</span></a>
<a href="https://www.osradar.com/tag/database/" class="tag-cloud-link tag-link-785 tag-link-position-7" style="font-size: 10.366197183099pt;" aria-label="database (57 items)">database<span class="tag-link-count"> (57)</span></a>
<a href="https://www.osradar.com/tag/databases/" class="tag-cloud-link tag-link-1492 tag-link-position-8" style="font-size: 10.760563380282pt;" aria-label="Databases (62 items)">Databases<span class="tag-link-count"> (62)</span></a>
<a href="https://www.osradar.com/tag/debian/" class="tag-cloud-link tag-link-404 tag-link-position-9" style="font-size: 15.098591549296pt;" aria-label="debian (171 items)">debian<span class="tag-link-count"> (171)</span></a>
<a href="https://www.osradar.com/tag/desktop/" class="tag-cloud-link tag-link-1984 tag-link-position-10" style="font-size: 8.1971830985915pt;" aria-label="desktop (34 items)">desktop<span class="tag-link-count"> (34)</span></a>
<a href="https://www.osradar.com/tag/fedora/" class="tag-cloud-link tag-link-246 tag-link-position-11" style="font-size: 9.8732394366197pt;" aria-label="fedora (50 items)">fedora<span class="tag-link-count"> (50)</span></a>
<a href="https://www.osradar.com/tag/focal/" class="tag-cloud-link tag-link-2874 tag-link-position-12" style="font-size: 12.830985915493pt;" aria-label="focal (102 items)">focal<span class="tag-link-count"> (102)</span></a>
<a href="https://www.osradar.com/tag/focal-fossa/" class="tag-cloud-link tag-link-2873 tag-link-position-13" style="font-size: 13.028169014085pt;" aria-label="Focal Fossa (106 items)">Focal Fossa<span class="tag-link-count"> (106)</span></a>
<a href="https://www.osradar.com/tag/google/" class="tag-cloud-link tag-link-225 tag-link-position-14" style="font-size: 15pt;" aria-label="google (168 items)">google<span class="tag-link-count"> (168)</span></a>
<a href="https://www.osradar.com/tag/howto/" class="tag-cloud-link tag-link-792 tag-link-position-15" style="font-size: 18.056338028169pt;" aria-label="howto (346 items)">howto<span class="tag-link-count"> (346)</span></a>
<a href="https://www.osradar.com/tag/how-to/" class="tag-cloud-link tag-link-84 tag-link-position-16" style="font-size: 17.859154929577pt;" aria-label="How to (330 items)">How to<span class="tag-link-count"> (330)</span></a>
<a href="https://www.osradar.com/tag/how-to-tutorials/" class="tag-cloud-link tag-link-3150 tag-link-position-17" style="font-size: 8.7887323943662pt;" aria-label="how to tutorials (39 items)">how to tutorials<span class="tag-link-count"> (39)</span></a>
<a href="https://www.osradar.com/tag/java/" class="tag-cloud-link tag-link-134 tag-link-position-18" style="font-size: 9.8732394366197pt;" aria-label="java (50 items)">java<span class="tag-link-count"> (50)</span></a>
<a href="https://www.osradar.com/tag/linux/" class="tag-cloud-link tag-link-210 tag-link-position-19" style="font-size: 22pt;" aria-label="Linux (864 items)">Linux<span class="tag-link-count"> (864)</span></a>
<a href="https://www.osradar.com/tag/linux-mint/" class="tag-cloud-link tag-link-443 tag-link-position-20" style="font-size: 8.5915492957746pt;" aria-label="linux mint (37 items)">linux mint<span class="tag-link-count"> (37)</span></a>
<a href="https://www.osradar.com/tag/mariadb/" class="tag-cloud-link tag-link-951 tag-link-position-21" style="font-size: 9.6760563380282pt;" aria-label="mariadb (48 items)">mariadb<span class="tag-link-count"> (48)</span></a>
<a href="https://www.osradar.com/tag/monitoring/" class="tag-cloud-link tag-link-801 tag-link-position-22" style="font-size: 8.4929577464789pt;" aria-label="monitoring (36 items)">monitoring<span class="tag-link-count"> (36)</span></a>
<a href="https://www.osradar.com/tag/mysql/" class="tag-cloud-link tag-link-1235 tag-link-position-23" style="font-size: 9.1830985915493pt;" aria-label="mysql (43 items)">mysql<span class="tag-link-count"> (43)</span></a>
<a href="https://www.osradar.com/tag/network/" class="tag-cloud-link tag-link-1102 tag-link-position-24" style="font-size: 8.3943661971831pt;" aria-label="network (35 items)">network<span class="tag-link-count"> (35)</span></a>
<a href="https://www.osradar.com/tag/news/" class="tag-cloud-link tag-link-1341 tag-link-position-25" style="font-size: 10.56338028169pt;" aria-label="News (59 items)">News<span class="tag-link-count"> (59)</span></a>
<a href="https://www.osradar.com/tag/new-version/" class="tag-cloud-link tag-link-1428 tag-link-position-26" style="font-size: 10.859154929577pt;" aria-label="New version (64 items)">New version<span class="tag-link-count"> (64)</span></a>
<a href="https://www.osradar.com/tag/opensuse/" class="tag-cloud-link tag-link-561 tag-link-position-27" style="font-size: 9.2816901408451pt;" aria-label="opensuse (44 items)">opensuse<span class="tag-link-count"> (44)</span></a>
<a href="https://www.osradar.com/tag/php/" class="tag-cloud-link tag-link-135 tag-link-position-28" style="font-size: 11.056338028169pt;" aria-label="PHP (66 items)">PHP<span class="tag-link-count"> (66)</span></a>
<a href="https://www.osradar.com/tag/programming/" class="tag-cloud-link tag-link-776 tag-link-position-29" style="font-size: 14.211267605634pt;" aria-label="Programming (139 items)">Programming<span class="tag-link-count"> (139)</span></a>
<a href="https://www.osradar.com/tag/rhel/" class="tag-cloud-link tag-link-69 tag-link-position-30" style="font-size: 9.5774647887324pt;" aria-label="RHEL (47 items)">RHEL<span class="tag-link-count"> (47)</span></a>
<a href="https://www.osradar.com/tag/security/" class="tag-cloud-link tag-link-137 tag-link-position-31" style="font-size: 12.929577464789pt;" aria-label="Security (103 items)">Security<span class="tag-link-count"> (103)</span></a>
<a href="https://www.osradar.com/tag/server/" class="tag-cloud-link tag-link-848 tag-link-position-32" style="font-size: 16.774647887324pt;" aria-label="server (259 items)">server<span class="tag-link-count"> (259)</span></a>
<a href="https://www.osradar.com/tag/sql/" class="tag-cloud-link tag-link-1441 tag-link-position-33" style="font-size: 10.957746478873pt;" aria-label="SQL (65 items)">SQL<span class="tag-link-count"> (65)</span></a>
<a href="https://www.osradar.com/tag/tools/" class="tag-cloud-link tag-link-800 tag-link-position-34" style="font-size: 9.9718309859155pt;" aria-label="tools (52 items)">tools<span class="tag-link-count"> (52)</span></a>
<a href="https://www.osradar.com/tag/tutorial/" class="tag-cloud-link tag-link-86 tag-link-position-35" style="font-size: 19.535211267606pt;" aria-label="Tutorial (485 items)">Tutorial<span class="tag-link-count"> (485)</span></a>
<a href="https://www.osradar.com/tag/ubuntu/" class="tag-cloud-link tag-link-71 tag-link-position-36" style="font-size: 17.169014084507pt;" aria-label="ubuntu (282 items)">ubuntu<span class="tag-link-count"> (282)</span></a>
<a href="https://www.osradar.com/tag/unix/" class="tag-cloud-link tag-link-1170 tag-link-position-37" style="font-size: 8pt;" aria-label="unix (32 items)">unix<span class="tag-link-count"> (32)</span></a>
<a href="https://www.osradar.com/tag/web/" class="tag-cloud-link tag-link-132 tag-link-position-38" style="font-size: 8.887323943662pt;" aria-label="web (40 items)">web<span class="tag-link-count"> (40)</span></a>
<a href="https://www.osradar.com/tag/web-server/" class="tag-cloud-link tag-link-1253 tag-link-position-39" style="font-size: 8.0985915492958pt;" aria-label="web server (33 items)">web server<span class="tag-link-count"> (33)</span></a>
<a href="https://www.osradar.com/tag/windows/" class="tag-cloud-link tag-link-98 tag-link-position-40" style="font-size: 17.661971830986pt;" aria-label="Windows (315 items)">Windows<span class="tag-link-count"> (315)</span></a>
<a href="https://www.osradar.com/tag/windows-10/" class="tag-cloud-link tag-link-83 tag-link-position-41" style="font-size: 16.183098591549pt;" aria-label="Windows 10 (222 items)">Windows 10<span class="tag-link-count"> (222)</span></a>
<a href="https://www.osradar.com/tag/windows-11/" class="tag-cloud-link tag-link-4007 tag-link-position-42" style="font-size: 11.450704225352pt;" aria-label="windows 11 (73 items)">windows 11<span class="tag-link-count"> (73)</span></a>
<a href="https://www.osradar.com/tag/windows-server/" class="tag-cloud-link tag-link-65 tag-link-position-43" style="font-size: 9.4788732394366pt;" aria-label="Windows server (46 items)">Windows server<span class="tag-link-count"> (46)</span></a>
<a href="https://www.osradar.com/tag/windows-server-2019/" class="tag-cloud-link tag-link-2144 tag-link-position-44" style="font-size: 10.464788732394pt;" aria-label="Windows server 2019 (58 items)">Windows server 2019<span class="tag-link-count"> (58)</span></a>
<a href="https://www.osradar.com/tag/xiaomi/" class="tag-cloud-link tag-link-3291 tag-link-position-45" style="font-size: 8.4929577464789pt;" aria-label="Xiaomi (36 items)">Xiaomi<span class="tag-link-count"> (36)</span></a></p><p>The post <a rel="nofollow" href="https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/">Centos7 and 8 uses docker-compose to install zabbix</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Zabbix server on CentOS 8 / RHEL 8 / Oracle Linux 8 ?</title>
		<link>https://www.osradar.com/install-zabbix-server-centos-8-rhel-oracle-linux/</link>
					<comments>https://www.osradar.com/install-zabbix-server-centos-8-rhel-oracle-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 05 Sep 2019 23:01:19 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[oracle linux 8]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[zabbix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13266</guid>

					<description><![CDATA[<p>Knowing what is happening in a network is the most frequent work of computer experts in any company. In this way, you get reliable data on the operation and performance of it. This becomes important because it would make the organization&#8217;s work more effective and error-free. In this sense, Zabbix is a reference in this [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-zabbix-server-centos-8-rhel-oracle-linux/">How to install Zabbix server on CentOS 8 / RHEL 8 / Oracle Linux 8 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Knowing what is happening in a network is the most frequent work of computer experts in any company. In this way, you get reliable data on the operation and performance of it. This becomes important because it would make the organization&#8217;s work more effective and error-free. In this sense, Zabbix is a reference in this type of applications. With them, you will know what is happening in the network. Therefore, in this post, we will teach you how to install Zabbix on CentOS 8 / RHEL 8 / Oracle Linux 8.</p>
<h2>What is Zabbix?</h2>
<p><a href="https://www.zabbix.com/" rel="noopener">Zabbix</a> is quite a wonder. It is an open-source application that works under the client-server architecture. In other words, when installed on any server, it requires an agent to be installed on the client computers. In this way, the application will be able to monitor all the behavior of the nodes as well as the performance of the network.</p>
<p>On the other hand, the development of Zabbix is quite positive and constant, which makes it quite safe and functional. In addition to being quite mature in its development supports several database management systems including the popular <a href="https://www.osradar.com/tag/mariadb/" rel="noopener">MariaDB</a>, <a href="https://www.osaradar.com/tag/mysql/" rel="noopener">MySQL</a>, <a href="https://osradar.com/tag/postgresql/" rel="noopener">PostgreSQL</a> or proprietary alternatives such as Oracle and IBM DB2.</p>
<p>In this post, we will install step by step the Zabbix server on CentOS 8 / RHEL 8 / Oracle Linux 8.</p>
<h2>Install Zabbix on CentOS 8 / RHEL 8 / Oracle Linux 8</h2>
<p>As expected, Zabbix has precompiled binaries available for RHEL 8 and derivatives. These are available from the official repository, but there are some prerequisites we must meet. One of them is that we need a web server running on our computer. Besides that, a database management system like MariaDB.</p>
<h3>Install LAMP on CentOS 8 / RHEL 8 / Oracle Linux 8</h3>
<p>In this case, we have a complete tutorial where you can install LAMP on CentOS 8 / RHEL 8 / Oracle Linux 8. There, step by step, you will be able to get a web server running as well as the database manager MariaDB.</p>
<p>Read, <a href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/" rel="noopener">How to install LAMP on CentOS 8 / RHEL 8 / Oracle Linux 8?</a></p>
<h3>Create the Zabbix user on MariaDB</h3>
<p>Once the server is running correctly. It is necessary to create a new user and database for Zabbix. To do this, open the MySQL console and run:</p>
<pre>:~# mysql -u root -p 
&gt; CREATE DATABASE zabbixdb;
&gt; GRANT ALL PRIVILEGES ON zabbixdb.* TO 'zabbixuser'@'localhost' IDENTIFIED BY 'zabbixpss';
&gt; FLUSH PRIVILEGES;
&gt; exit;</pre>
<p><figure id="attachment_13324" aria-describedby="caption-attachment-13324" style="width: 931px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13324" src="https://www.osradar.com/wp-content/uploads/2019/09/1.jpeg" alt="1.- Creating the new database and user for Zabbix" width="931" height="348" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1.jpeg 931w, https://www.osradar.com/wp-content/uploads/2019/09/1-300x112.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-768x287.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-696x260.jpeg 696w" sizes="(max-width: 931px) 100vw, 931px" /><figcaption id="caption-attachment-13324" class="wp-caption-text">1.- Creating the new database and user for Zabbix</figcaption></figure></p>
<h3>Install Zabbix on CentOS 8 / RHEL 8 / Oracle Linux 8 (I)</h3>
<p>Then we can install Zabbix without problems. We will achieve this by using the official Zabbix repository for RHEL 8.</p>
<p>So as a root user, run the following command to add the GPG key from the repository:</p>
<pre>:~# rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX</pre>
<p>Then add the repository as such:</p>
<pre>:~# rpm -ivh https://repo.zabbix.com/zabbix/4.0/rhel/8/x86_64/zabbix-release-4.0-2.el8.noarch.rpm</pre>
<p><figure id="attachment_13325" aria-describedby="caption-attachment-13325" style="width: 907px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13325" src="https://www.osradar.com/wp-content/uploads/2019/09/2.jpeg" alt="2.- Adding the Zabbix repository" width="907" height="160" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2.jpeg 907w, https://www.osradar.com/wp-content/uploads/2019/09/2-300x53.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-768x135.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-696x123.jpeg 696w" sizes="(max-width: 907px) 100vw, 907px" /><figcaption id="caption-attachment-13325" class="wp-caption-text">2.- Adding the Zabbix repository</figcaption></figure></p>
<p>Then proceed to install the Zabbix packages.</p>
<pre>:~# dnf install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender zabbix-java-gateway</pre>
<p><figure id="attachment_13326" aria-describedby="caption-attachment-13326" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13326" src="https://www.osradar.com/wp-content/uploads/2019/09/3.jpeg" alt="3.- Install Zabbix on CentOS / RHEL 8 / Oracle Linux 8" width="1366" height="670" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/09/3-300x147.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-768x377.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-1024x502.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-324x160.jpeg 324w, https://www.osradar.com/wp-content/uploads/2019/09/3-533x261.jpeg 533w, https://www.osradar.com/wp-content/uploads/2019/09/3-696x341.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-1068x524.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-856x420.jpeg 856w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13326" class="wp-caption-text">3.- Install Zabbix on CentOS / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>If you want you can modify the PHP timezone on the Zabbix configuration file.</p>
<pre>:~# nano /etc/httpd/conf.d/zabbix.conf</pre>
<p>Uncomment the line date.timezone and add your timezone.</p>
<pre>php_value date.timezone [TIMEZONE]</pre>
<p>The next step is to load the initial Zabbix database.</p>
<pre>:~# zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -u zabbixuser -p zabbixdb</pre>
<p>Then, it is necessary to specify the database parameters in the Zabbix configuration file.</p>
<pre>:~# nano /etc/zabbix/zabbix_server.conf</pre>
<p>In this file, you have to modify the following values</p>
<pre>DBHost:localhost
DBName=[DB_name]
DBUser=[Mariadb_zabbix_user]
DBPassword=[Password]</pre>
<p><figure id="attachment_13327" aria-describedby="caption-attachment-13327" style="width: 575px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13327" src="https://www.osradar.com/wp-content/uploads/2019/09/4.jpeg" alt="4.- Configuring Zabbix on CentOS 8 / RHEL 8 / Oracle Linux 8" width="575" height="395" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4.jpeg 575w, https://www.osradar.com/wp-content/uploads/2019/09/4-300x206.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-100x70.jpeg 100w, https://www.osradar.com/wp-content/uploads/2019/09/4-218x150.jpeg 218w" sizes="(max-width: 575px) 100vw, 575px" /><figcaption id="caption-attachment-13327" class="wp-caption-text">4.- Configuring Zabbix on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>Save the changes and close the file. The next step is to open the Zabbix ports in the Firewall so that it can run smoothly.</p>
<pre>:~# firewall-cmd --permanent --add-port=10050/tcp
success
:~# firewall-cmd --permanent --add-port=10051/tcp
success
:~# firewall-cmd --reload
success</pre>
<p>Finally, start the service. If you want Zabbix to run at system startup, you can add these commands:</p>
<pre>:~# systemctl enable zabbix-server
:~# systemctl start zabbix-server
:~# systemctl restart httpd</pre>
<h3>Install Zabbix on CentOS 8 / RHEL 8 / Oracle Linux 8 (II)</h3>
<p>The last thing we need to do before we have our Zabbix server running is to complete the installation using the web browser. Open it and go to http://your-server/ you will see this</p>
<p><figure id="attachment_13328" aria-describedby="caption-attachment-13328" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13328" src="https://www.osradar.com/wp-content/uploads/2019/09/5.png" alt="5.- Zabbix 4 working" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/09/5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13328" class="wp-caption-text">5.- Zabbix 4 working</figcaption></figure></p>
<p>Then, the installer will check the prerequisites.</p>
<p><figure id="attachment_13329" aria-describedby="caption-attachment-13329" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13329" src="https://www.osradar.com/wp-content/uploads/2019/09/6.png" alt="6.- The wizard will check the requisites" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/09/6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13329" class="wp-caption-text">6.- The wizard will check the requisites</figcaption></figure></p>
<p>Now, we have to set the parameters of the database that we have previously defined.</p>
<p><figure id="attachment_13330" aria-describedby="caption-attachment-13330" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13330" src="https://www.osradar.com/wp-content/uploads/2019/09/7.png" alt="7.- Configure the databases parameters" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/09/7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/7-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/7-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13330" class="wp-caption-text">7.- Configure the parameters of the database</figcaption></figure></p>
<p>Then, set up some server details.</p>
<p><figure id="attachment_13331" aria-describedby="caption-attachment-13331" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13331" src="https://www.osradar.com/wp-content/uploads/2019/09/8.png" alt="8.- Server details" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/09/8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/09/8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/8-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/8-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/8-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/8-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/8-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13331" class="wp-caption-text">8.- Server details</figcaption></figure></p>
<p>In the end, you will see the summary and the message that Zabbix has been successfully installed.</p>
<p><figure id="attachment_13332" aria-describedby="caption-attachment-13332" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13332" src="https://www.osradar.com/wp-content/uploads/2019/09/9.png" alt="9.- Zabbix is installed on CentOS 8 / RHEL 8 / Oracle Linux 8" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/09/9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/09/9-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/9-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/9-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/9-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/9-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/9-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13332" class="wp-caption-text">9.- Zabbix is installed on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>After finishing the process, you will see the login screen. Log in with admin as user and zabbix as password.</p>
<p><figure id="attachment_13333" aria-describedby="caption-attachment-13333" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13333" src="https://www.osradar.com/wp-content/uploads/2019/09/10.png" alt="10.- Zabbix log in page" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/09/10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/09/10-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/10-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/10-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/10-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/10-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/10-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13333" class="wp-caption-text">10.- Zabbix log in page</figcaption></figure></p>
<p>Finally, you will see the dashboard. And that is it.</p>
<h2>Install the Zabbix agent on the nodes</h2>
<p>In order for Zabbix to monitor correctly, it is necessary to install the agents in each of the nodes. Probably, they use different operating systems, so the installation can vary in each of them.</p>
<p>First, you have to add the Zabbix repository for each system. In case you use Ubuntu 18.04:</p>
<pre>:~$ wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.0-2+bionic_all.deb
:~$ sudo dpkg -i zabbix-release_4.0-2+bionic_all.deb
:~$ sudo apt update</pre>
<p>Then, install Zabbix with the following command:</p>
<pre>:~$ sudo apt install zabbix-agent</pre>
<p>If you use CentOS 8, add the repository with this command:</p>
<pre>:~# rpm -ivh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm</pre>
<p>Then, install the agent with the following command:</p>
<pre>:~# yum install zabbix zabbix-agent</pre>
<p>Finally, if you use Debian 9:</p>
<pre>:~$ wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2+stretch_all.deb
:~# dpkg -i zabbix-release_4.0-2+stretch_all.deb
:~# apt update</pre>
<p>And you install it with the command:</p>
<pre>:~$ apt install zabbix-agent</pre>
<h2>Conclusion</h2>
<p>Zabbix is an important application in any network service. Thanks to it it is possible to do complete monitoring on the operation of the same one. It also verifies the state of the nodes. In this post, you have learned to install it on the server-side.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-zabbix-server-centos-8-rhel-oracle-linux/">How to install Zabbix server on CentOS 8 / RHEL 8 / Oracle Linux 8 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-zabbix-server-centos-8-rhel-oracle-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Zabbix on Debian 10</title>
		<link>https://www.osradar.com/install-zabbix-on-debian-10/</link>
					<comments>https://www.osradar.com/install-zabbix-on-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 04 Aug 2019 22:22:24 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monnitoring]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[zabbix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12865</guid>

					<description><![CDATA[<p>As we already know Debian 10 is an operating system used on servers. These servers are capable of hosting very important applications for a network like Zabbix. So, in this post, you will learn how to install Zabbix on Debian 10. The tutorial will be step by step, so you will not have problems doing [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-zabbix-on-debian-10/">Install Zabbix on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>As we already know Debian 10 is an operating system used on servers. These servers are capable of hosting very important applications for a network like Zabbix. So, in this post, you will learn how to install Zabbix on Debian 10. The tutorial will be step by step, so you will not have problems doing it.</p>
<h2>What is Zabbix?</h2>
<p><a href="https://www.zabbix.com/">Zabbix</a> is a powerful tool for network monitoring. It is open-source and uses database handlers to process the data collected from your analyses.</p>
<p>There are too many features that make Zabbix a necessary tool in a network because with it the sysadmin can have detailed information about what happens in it. In addition, you can have real-time monitoring with their due reports.</p>
<h2>Install Zabbix on Debian 10</h2>
<p>The procedure for installing Zabbix is quite simple. On the other hand, we will work on the terminal installing and preparing the installation of Zabbix. Then, you will have to complete the process using the web browser.</p>
<p>In addition, all post will use the root user. To be the root user, open the terminal and run:</p>
<pre>:~$ su</pre>
<p>So, let us start.</p>
<h3>1) Install LAMP Stack on Debian 10</h3>
<p>Zabbix has a very friendly web interface to obtain the monitoring results. In this sense, as it is a web application, it is required to have installed LAMP on Debian 10.</p>
<p>So, you can read <a href="https://www.osradar.com/install-lamp-on-debian-10/">How to install LAMP on Debian 10?</a></p>
<p>Besides that, you have to install these PHP modules with this command:</p>
<pre>:~# apt install php php php-mysql php-curl php-json php-cgi php-xml php-mbstring php-bcmath</pre>
<p>So, we can continue.</p>
<h3>2) Create the Zabbix database and the MariaDB user</h3>
<p>Zabbix requires a database manager. But it also requires a database. Creating the database is simple, but it is recommended to create a user dedicated to it.</p>
<p>Enter the <a href="https://www.osradar.com/tag/mariadb/">MariaDB</a> console with the following command:</p>
<pre>:~# mysql -u root -p</pre>
<p>Then, create a new database and the new user.</p>
<pre>&gt; CREATE DATABASE zabbixdb;
&gt; GRANT ALL ON zabbixdb.* TO 'zabbixuser'@'localhost' IDENTIFIED BY 'zabbixpss';
&gt; FLUSH PRIVILEGES;
&gt; exit;</pre>
<p><figure id="attachment_12879" aria-describedby="caption-attachment-12879" style="width: 765px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12879" src="https://www.osradar.com/wp-content/uploads/2019/07/1-13.jpeg" alt="1.- Creating new database for Zabbix" width="765" height="354" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-13.jpeg 765w, https://www.osradar.com/wp-content/uploads/2019/07/1-13-300x139.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/1-13-696x322.jpeg 696w" sizes="(max-width: 765px) 100vw, 765px" /><figcaption id="caption-attachment-12879" class="wp-caption-text">1.- Creating a new database for Zabbix</figcaption></figure></p>
<p>That is all for MariaDB.</p>
<h3>3) Add the Zabbix repository for Debian 10</h3>
<p>A great advantage that Zabbix gives us is that it has a repository for Debian 10. So, all this makes the installation process even easier.</p>
<p>To add the repository, just download the DEB file provided by the project and install it.</p>
<pre>:~# wget -c http://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2%2Bbuster_all.deb</pre>
<p>Then, install it.</p>
<pre>:~# dpkg -i zabbix-release_4.3-1+buster_all.deb</pre>
<h3>4) Install Zabbix on Debian 10 (I)</h3>
<p>After the repository has been successfully added, it is necessary to update APT.</p>
<pre>:~# apt update</pre>
<p>Next, we can install the packages without problems with the following command:</p>
<pre>:~# apt install zabbix-server-mysql zabbix-agent zabbix-frontend-php</pre>
<p><figure id="attachment_12881" aria-describedby="caption-attachment-12881" style="width: 1121px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12881" src="https://www.osradar.com/wp-content/uploads/2019/07/3-7.jpeg" alt="3.- Install Zabbix on Debian 10" width="1121" height="242" srcset="https://www.osradar.com/wp-content/uploads/2019/07/3-7.jpeg 1121w, https://www.osradar.com/wp-content/uploads/2019/07/3-7-300x65.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/3-7-768x166.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/3-7-1024x221.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/3-7-696x150.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/3-7-1068x231.jpeg 1068w" sizes="(max-width: 1121px) 100vw, 1121px" /><figcaption id="caption-attachment-12881" class="wp-caption-text">2.- Install Zabbix on Debian 10</figcaption></figure></p>
<p>Once Zabbix is installed, you need to start the default database that comes with the installation. The process is very simple, just use this command:</p>
<pre>:~# zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -u zabbixuser -p zabbixdb</pre>
<p>In order to make Zabbix configured correctly with MariaDB, it is necessary to change some parameters in its configuration.</p>
<p>To do this, edit the file <code>/etc/zabbix/zabbix_server.conf</code></p>
<pre>:~# nano /etc/zabbix/zabbix_server.conf</pre>
<p>Then, modify the following parameters:</p>
<pre>DBHost
DBName
DBUser
DBPassword</pre>
<p>Of course, set the MariaDB parameters that you have configured.</p>
<p>Next, save the changes and close the file.</p>
<p>Finally, restart the services.</p>
<pre>:~# systemctl restart apache2
:~# systemctl restart mariadb
:~# systemctl restart zabbix-server</pre>
<h3>5) Install Zabbix on Debian 10 (II)</h3>
<p>Now you have to complete the installation using the web browser. Open it and go to your server<code> http://server-ip/zabbix</code> and you will see the following:</p>
<p><figure id="attachment_12882" aria-describedby="caption-attachment-12882" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12882" src="https://www.osradar.com/wp-content/uploads/2019/07/4-9.png" alt="4.- Zabbix front end page" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/4-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/4-9-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/4-9-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/4-9-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/4-9-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/4-9-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/4-9-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12882" class="wp-caption-text">4.- Zabbix front end page</figcaption></figure></p>
<p>Next, the wizard will check for the prerequisites.</p>
<p><figure id="attachment_12883" aria-describedby="caption-attachment-12883" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12883" src="https://www.osradar.com/wp-content/uploads/2019/07/5-11.png" alt="5.- Check for the prerequistes" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/5-11.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/5-11-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/5-11-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/5-11-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/5-11-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/5-11-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/5-11-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12883" class="wp-caption-text">5.- Check for the prerequisites</figcaption></figure></p>
<p>Now, you have to configure the DB connection.</p>
<p><figure id="attachment_12884" aria-describedby="caption-attachment-12884" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12884" src="https://www.osradar.com/wp-content/uploads/2019/07/6-6.png" alt="6.- DB connection on Zabbix" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/6-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/6-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/6-6-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/6-6-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/6-6-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/6-6-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/6-6-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12884" class="wp-caption-text">6.- DB connection on Zabbix</figcaption></figure></p>
<p>Next, the server details.</p>
<p><figure id="attachment_12885" aria-describedby="caption-attachment-12885" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12885" src="https://www.osradar.com/wp-content/uploads/2019/07/7-6.png" alt="7.- Zabbix on Debian 10" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/7-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/7-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/7-6-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/7-6-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/7-6-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/7-6-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/7-6-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12885" class="wp-caption-text">7.- Zabbix on Debian 10</figcaption></figure></p>
<p>Now, the installation summary.</p>
<p><figure id="attachment_12886" aria-describedby="caption-attachment-12886" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12886" src="https://www.osradar.com/wp-content/uploads/2019/07/8-4.png" alt="8.- Pre-installation summary" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/8-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/8-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/8-4-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/8-4-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/8-4-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/8-4-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/8-4-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12886" class="wp-caption-text">8.- Pre-installation summary</figcaption></figure></p>
<p>If everything was OK, you will see this.</p>
<p><figure id="attachment_12887" aria-describedby="caption-attachment-12887" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12887" src="https://www.osradar.com/wp-content/uploads/2019/07/9-3.png" alt="9.- Zabbix is successfully installed on Debian 10" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/9-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/9-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/9-3-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/9-3-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/9-3-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/9-3-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/9-3-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12887" class="wp-caption-text">9.- Zabbix is successfully installed on Debian 10</figcaption></figure></p>
<p>Then you can log in. The default user is <em>admin </em> and the password is <em>zabbix</em>. After that, you will see the dashboard.</p>
<p><figure id="attachment_12888" aria-describedby="caption-attachment-12888" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12888" src="https://www.osradar.com/wp-content/uploads/2019/07/10-3.png" alt="10.- Zabbix running on Debian 10" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/10-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/10-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/10-3-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/10-3-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/10-3-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/10-3-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/10-3-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12888" class="wp-caption-text">10.- Zabbix running on Debian 10</figcaption></figure></p>
<h2>Conclusion</h2>
<p>Zabbix is one of those applications that you have to have on a server to control the entire network. especially when there are many nodes and it is necessary to know what is the performance of it. In this post, you have learned how to install it in Debian 10, Buster.</p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-zabbix-on-debian-10/">Install Zabbix on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-zabbix-on-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Zabbix server 4 on CentOS 7?</title>
		<link>https://www.osradar.com/how-to-install-zabbix-server-4-on-centos-7/</link>
					<comments>https://www.osradar.com/how-to-install-zabbix-server-4-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 02 Feb 2019 03:00:13 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[agent]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[zabbix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10461</guid>

					<description><![CDATA[<p>The monitoring of a series of services is something fundamental for an organization. That&#8217;s why there are many stellar applications that help us with the same thing. Zabbix is one of them and recently saw the release of version 4 of this fantastic application. With this in mind, today I will show you how to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-zabbix-server-4-on-centos-7/">How to install Zabbix server 4 on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The monitoring of a series of services is something fundamental for an organization. That&#8217;s why there are many stellar applications that help us with the same thing. <a href="https://www.zabbix.com/" rel="noopener">Zabbix</a> is one of them and recently saw <a href="https://www.zabbix.com/rn/rn4.0.0" rel="noopener">the release of version 4</a> of this fantastic application. With this in mind, today I will show you how to install Zabbix Server 4 on CentOS 7.</p>
<p>In this site, we have already talked about <a href="https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/" rel="noopener">Zabbix</a>, this fantastic application that serves to monitor various services within a network. However, it is not only limited to services but also to specific nodes. So, it is open source with all the advantages we can have over it and also has agents available for various systems.</p>
<p>So, let us start to install Zabbix server 4.</p>
<h2>1. Install Apache web server and PHP</h2>
<p>Zabbix Server has a quite nice web interface that can be accessed from the clients. This interface requires a web server and <a href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/" rel="noopener">PHP</a>. Therefore, the first step in this guide is to install them both. Open a terminal and run:</p>
<pre class="">:~$ su
:~# yum install httpd php php-mysql php php-mysql php-curl php-json php-cgi php-xml php-mbstring php-bcmath</pre>
<p><figure id="attachment_10463" aria-describedby="caption-attachment-10463" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10463" src="https://www.osradar.com/wp-content/uploads/2019/02/1.png" alt="1.- Install php" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10463" class="wp-caption-text">1.- Install PHP</figcaption></figure></p>
<p>Next, create a new file for test PHP.</p>
<pre class="">:~# nano /var/www/html/test.php</pre>
<p>And add the following:</p>
<pre class="">&lt;?php
phpinfo();
?&gt;</pre>
<p><figure id="attachment_10464" aria-describedby="caption-attachment-10464" style="width: 923px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10464" src="https://www.osradar.com/wp-content/uploads/2019/02/2.png" alt="2.- PHP info" width="923" height="212" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2.png 923w, https://www.osradar.com/wp-content/uploads/2019/02/2-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-768x176.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-696x160.png 696w" sizes="(max-width: 923px) 100vw, 923px" /><figcaption id="caption-attachment-10464" class="wp-caption-text">2.- PHP info</figcaption></figure></p>
<p>Then, it is necessary to add the rules to the firewall to allow Apache and PHP access.</p>
<pre class="">:~# firewall-cmd --permanent --add-service=http
:~# firewall-cmd --reload</pre>
<p><figure id="attachment_10465" aria-describedby="caption-attachment-10465" style="width: 823px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10465" src="https://www.osradar.com/wp-content/uploads/2019/02/3.png" alt="3.- Set the firewall rule" width="823" height="189" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3.png 823w, https://www.osradar.com/wp-content/uploads/2019/02/3-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-768x176.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-696x160.png 696w" sizes="(max-width: 823px) 100vw, 823px" /><figcaption id="caption-attachment-10465" class="wp-caption-text">3.- Set the firewall rule</figcaption></figure></p>
<p>After that, start and enable the service.</p>
<pre class="">:~# systemctl enable httpd
:~# systemctl start httpd</pre>
<p><figure id="attachment_10466" aria-describedby="caption-attachment-10466" style="width: 975px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10466" src="https://www.osradar.com/wp-content/uploads/2019/02/4.png" alt="4.- Start apache web server" width="975" height="139" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4.png 975w, https://www.osradar.com/wp-content/uploads/2019/02/4-300x43.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-768x109.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-696x99.png 696w" sizes="(max-width: 975px) 100vw, 975px" /><figcaption id="caption-attachment-10466" class="wp-caption-text">4.- Start the Apache web server</figcaption></figure></p>
<p>Finally, open your web browser and go to <code>http://SERVER_IP/test.php</code>.</p>
<p><figure id="attachment_10467" aria-describedby="caption-attachment-10467" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10467" src="https://www.osradar.com/wp-content/uploads/2019/02/5.png" alt="5.- PHP info" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/5-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/5-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10467" class="wp-caption-text">5.- PHP info</figcaption></figure></p>
<p>Now, Apache and PHP are correctly installed.</p>
<h2>2. Install and configure MariaDB</h2>
<p>The way Zabbix manages data efficiently is thanks to a robust and reliable database handler. Zabbix allows the use of MySQL, <a href="https://www.osradar.com/optimize-mysql-mariadb-on-linux/" rel="noopener">MariaDB</a>, and <a href="https://www.osradar.com/how-to-install-postgresql-11-centos-7/" rel="noopener">PostgreSQL</a>. For now, I will use MariaDB. So, the next step is to install and configure it.</p>
<pre class="">:~# yum install mariadb-server</pre>
<p><figure id="attachment_10468" aria-describedby="caption-attachment-10468" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10468" src="https://www.osradar.com/wp-content/uploads/2019/02/6.png" alt="6.- Install MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/6-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10468" class="wp-caption-text">6.- Install MariaDB</figcaption></figure></p>
<p>After that, star and enable the MariaDB service:</p>
<pre class="">:~# systemctl enable mariadb
:~# systemctl start mariadb</pre>
<p>Now, set a root the password using the <code>mysql_secure_installation</code> script.</p>
<pre class="">:~# mysql_secure_installation</pre>
<p><figure id="attachment_10469" aria-describedby="caption-attachment-10469" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10469" src="https://www.osradar.com/wp-content/uploads/2019/02/7.png" alt="7.- mysql_secure_installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10469" class="wp-caption-text">7.- mysql_secure_installation script</figcaption></figure></p>
<p>As you can see, there are several parameters that you can configure. In the case of this tutorial, you can answer as you want because it does not affect anything. However, I recommend you read them carefully and make the best decision. In my case, I have answered Y, N, Y, Y.</p>
<p>After that, it is necessary to create a database and user for Zabbix.</p>
<pre class="">:~# mysql -u root -p
CREATE DATABASE zabbixdb;
GRANT ALL PRIVILEGES ON zabbixdb.* TO 'zabbixuser'@'localhost' IDENTIFIED BY 'zabbixpss';
FLUSH PRIVILEGES;
exit;</pre>
<p><figure id="attachment_10470" aria-describedby="caption-attachment-10470" style="width: 888px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10470" src="https://www.osradar.com/wp-content/uploads/2019/02/8.png" alt="8.- Creating the database for zabbix" width="888" height="452" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8.png 888w, https://www.osradar.com/wp-content/uploads/2019/02/8-300x153.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-768x391.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-696x354.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/8-825x420.png 825w" sizes="(max-width: 888px) 100vw, 888px" /><figcaption id="caption-attachment-10470" class="wp-caption-text">8.- Creating the database for Zabbix</figcaption></figure></p>
<h2>3. Install Zabbix Server 4</h2>
<p>There is a fairly simple way to install Zabbix server 4. It is to do it through an external repository and then use yum. So let us go for it.</p>
<pre class="">:~# rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX
:~# rpm -ivh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm</pre>
<p><figure id="attachment_10471" aria-describedby="caption-attachment-10471" style="width: 1011px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10471" src="https://www.osradar.com/wp-content/uploads/2019/02/9.png" alt="9.- Add the zabbix repository" width="1011" height="213" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9.png 1011w, https://www.osradar.com/wp-content/uploads/2019/02/9-300x63.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-768x162.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-696x147.png 696w" sizes="(max-width: 1011px) 100vw, 1011px" /><figcaption id="caption-attachment-10471" class="wp-caption-text">9.- Add the Zabbix repository</figcaption></figure></p>
<p>Next, install Zabbix 4 agent and others required packages.</p>
<pre class="">:~# yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender zabbix-java-gateway
</pre>
<p><figure id="attachment_10472" aria-describedby="caption-attachment-10472" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10472" src="https://www.osradar.com/wp-content/uploads/2019/02/10.png" alt="10.- Install Zabbix server 4" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10472" class="wp-caption-text">10.- Install Zabbix server 4</figcaption></figure></p>
<p>Now, edit the PHP timezone on the Zabbix configuration file.</p>
<pre class="">:~# nano /etc/httpd/conf.d/zabbix.conf</pre>
<p>And uncomment the “date.timezone” setting and replace it with your timezone:</p>
<pre class="">php_value date.timezone YOURTIMEZONE</pre>
<p><figure id="attachment_10473" aria-describedby="caption-attachment-10473" style="width: 582px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10473" src="https://www.osradar.com/wp-content/uploads/2019/02/11.png" alt="11.- Set the timezone" width="582" height="505" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11.png 582w, https://www.osradar.com/wp-content/uploads/2019/02/11-300x260.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-534x462.png 534w, https://www.osradar.com/wp-content/uploads/2019/02/11-484x420.png 484w" sizes="(max-width: 582px) 100vw, 582px" /><figcaption id="caption-attachment-10473" class="wp-caption-text">11.- Set the timezone</figcaption></figure></p>
<p>Next, import the initial database for Zabbix.</p>
<pre class="">:~# zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -u zabbixuser -p zabbixdb</pre>
<p><figure id="attachment_10474" aria-describedby="caption-attachment-10474" style="width: 912px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10474" src="https://www.osradar.com/wp-content/uploads/2019/02/12.png" alt="12.- set the initial database for zabbix" width="912" height="155" srcset="https://www.osradar.com/wp-content/uploads/2019/02/12.png 912w, https://www.osradar.com/wp-content/uploads/2019/02/12-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/12-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/12-696x118.png 696w" sizes="(max-width: 912px) 100vw, 912px" /><figcaption id="caption-attachment-10474" class="wp-caption-text">12.- set the initial database for Zabbix</figcaption></figure></p>
<p>After that, you have to specify the databases parameters on the Zabbix configuration.</p>
<pre class="">:~# nano /etc/zabbix/zabbix_server.conf</pre>
<pre class="">DBHost=localhost
DBName=zabbixdb
DBUser=zabbixuser
DBPassword=YOUR_PASSWORD</pre>
<p><figure id="attachment_10475" aria-describedby="caption-attachment-10475" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10475" src="https://www.osradar.com/wp-content/uploads/2019/02/13.png" alt="13.- configure Zabbix" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10475" class="wp-caption-text">13.- configure Zabbix</figcaption></figure></p>
<p>Next, set the firewall rule for Zabbix.</p>
<pre class="">:~# firewall-cmd --permanent --zone=public --add-port=10051/tcp
:~# firewall-cmd --permanent --zone=public --add-port=10050/tcp
:~# firewall-cmd --reload</pre>
<p><figure id="attachment_10476" aria-describedby="caption-attachment-10476" style="width: 836px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10476" src="https://www.osradar.com/wp-content/uploads/2019/02/14.png" alt="14.- Set the firewall rule for zabbix" width="836" height="181" srcset="https://www.osradar.com/wp-content/uploads/2019/02/14.png 836w, https://www.osradar.com/wp-content/uploads/2019/02/14-300x65.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/14-768x166.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/14-696x151.png 696w" sizes="(max-width: 836px) 100vw, 836px" /><figcaption id="caption-attachment-10476" class="wp-caption-text">14.- Set the firewall rule for Zabbix</figcaption></figure></p>
<p>Finally, enable and start the Zabbix services.</p>
<pre class="">:~# systemctl enable zabbix-server
:~# systemctl start zabbix-server
:~# systemctl enable zabbix-server 
:~# systemctl start zabbix-server
:~# systemctl restart httpd</pre>
<p><figure id="attachment_10477" aria-describedby="caption-attachment-10477" style="width: 1111px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10477" src="https://www.osradar.com/wp-content/uploads/2019/02/15.png" alt="15.- Working with the zabbix services" width="1111" height="177" srcset="https://www.osradar.com/wp-content/uploads/2019/02/15.png 1111w, https://www.osradar.com/wp-content/uploads/2019/02/15-300x48.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/15-768x122.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/15-1024x163.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/15-696x111.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/15-1068x170.png 1068w" sizes="(max-width: 1111px) 100vw, 1111px" /><figcaption id="caption-attachment-10477" class="wp-caption-text">15.- Working with the Zabbix services</figcaption></figure></p>
<p><figure id="attachment_10478" aria-describedby="caption-attachment-10478" style="width: 853px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10478" src="https://www.osradar.com/wp-content/uploads/2019/02/16.png" alt="16.- Restart apache" width="853" height="104" srcset="https://www.osradar.com/wp-content/uploads/2019/02/16.png 853w, https://www.osradar.com/wp-content/uploads/2019/02/16-300x37.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/16-768x94.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/16-696x85.png 696w" sizes="(max-width: 853px) 100vw, 853px" /><figcaption id="caption-attachment-10478" class="wp-caption-text">16.- Restart apache</figcaption></figure></p>
<p>After that, complete the installation.</p>
<h2>4. Complete the installation</h2>
<p>Now, open your web browser and go to http://SERVER_IP/zabbix and you will see this.</p>
<p><figure id="attachment_10479" aria-describedby="caption-attachment-10479" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10479" src="https://www.osradar.com/wp-content/uploads/2019/02/17.png" alt="17.- Complete the installation" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/17.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/17-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/17-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/17-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/17-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/17-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/17-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/17-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10479" class="wp-caption-text">17.- Complete the installation</figcaption></figure></p>
<p>So, let us start.</p>
<p>First, the wizard will check the prerequisites. Click on next.</p>
<p><figure id="attachment_10480" aria-describedby="caption-attachment-10480" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10480" src="https://www.osradar.com/wp-content/uploads/2019/02/18.png" alt="18.- prerequisites" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/18.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/18-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/18-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/18-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/18-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/18-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/18-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/18-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10480" class="wp-caption-text">18.- prerequisites</figcaption></figure></p>
<p>Next, configure the database connection. You have to type your credentials.</p>
<p><figure id="attachment_10481" aria-describedby="caption-attachment-10481" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10481" src="https://www.osradar.com/wp-content/uploads/2019/02/19.png" alt="19.- Configure the database connection" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/19.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/19-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/19-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/19-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/19-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/19-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/19-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/19-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10481" class="wp-caption-text">19.- Configure the database connection</figcaption></figure></p>
<p>Next, configure the server details.</p>
<p><figure id="attachment_10482" aria-describedby="caption-attachment-10482" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10482" src="https://www.osradar.com/wp-content/uploads/2019/02/20.png" alt="20.- Server details" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/20.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/20-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/20-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/20-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/20-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/20-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/20-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/20-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10482" class="wp-caption-text">20.- Server details</figcaption></figure></p>
<p>After that, you will see the installation summary.</p>
<p><figure id="attachment_10483" aria-describedby="caption-attachment-10483" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10483" src="https://www.osradar.com/wp-content/uploads/2019/02/21.png" alt="21.- Summary" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/21.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/21-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/21-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/21-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/21-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/21-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/21-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/21-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10483" class="wp-caption-text">21.- Summary</figcaption></figure></p>
<p>You have successfully installed Zabbix.</p>
<p><figure id="attachment_10484" aria-describedby="caption-attachment-10484" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10484" src="https://www.osradar.com/wp-content/uploads/2019/02/22.png" alt="22.- Everything is OK" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/22.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/22-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/22-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/22-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/22-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/22-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/22-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/22-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10484" class="wp-caption-text">22.- Everything is OK</figcaption></figure></p>
<p>Now, login into the main screen. The user is admin y and the password is Zabbix.</p>
<p><figure id="attachment_10485" aria-describedby="caption-attachment-10485" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10485" src="https://www.osradar.com/wp-content/uploads/2019/02/23.png" alt="23.- Log in screen" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/23.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/23-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/23-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/23-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/23-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/23-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/23-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/23-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10485" class="wp-caption-text">23.- Login screen</figcaption></figure></p>
<p>And you will see the dashboard.</p>
<p><figure id="attachment_10486" aria-describedby="caption-attachment-10486" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10486" src="https://www.osradar.com/wp-content/uploads/2019/02/24.png" alt="24.- Dashboard" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2019/02/24.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/24-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/24-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/24-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/24-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/24-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/24-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10486" class="wp-caption-text">24.- Dashboard</figcaption></figure></p>
<p>So, that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>With this Zabbix is installed. This wonderful monitoring program, what remains is to install the agent in each of the nodes you want to visualize.</p>
<p>Its installation is quite simple and only requires a little time and knowledge.</p>
<p>Please share this article with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-zabbix-server-4-on-centos-7/">How to install Zabbix server 4 on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-zabbix-server-4-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Zabbix: a network monitor. Installation in Ubuntu Server 18.04</title>
		<link>https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/</link>
					<comments>https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Wed, 13 Jun 2018 07:30:02 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[zabbix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=3610</guid>

					<description><![CDATA[<p>System and server administrators need to have professional software installed, in order to be able to monitor what is happening on them or their networks, with the primary objective of preventing failures and if they exist, to be able to keep up to date in the shortest possible time. As the article title says, Zabbix [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/">Zabbix: a network monitor. Installation in Ubuntu Server 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>System and server administrators need to have professional software installed, in order to be able to monitor what is happening on them or their networks, with the primary objective of preventing failures and if they exist, to be able to keep up to date in the shortest possible time.</p>
<p>As the article title says, <strong>Zabbix</strong> is a fantastic open-source application that monitors networks within a given topology. It was first created by Alexei Vladishev, specialized in networks with an important user base and an active community, that is always contributing both in its development and in its support for users. Uses MySQL, PostgreSQL, SQLite, Oracle or IBM DB2 as database. Its backend is written in C and the web frontend is written in PHP.</p>
<h3>Let&#8217;s get to work: installing the Prerequisites</h3>
<p>The first thing we must always do is to make sure that our system is up to date. For them we write on a terminal:</p>
<p><strong>           sudo apt update &amp;&amp; sudo apt -y upgrade</strong></p>
<p><figure id="attachment_3949" aria-describedby="caption-attachment-3949" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3949" src="https://www.osradar.com/wp-content/uploads/2018/06/1-6.png" alt="1.- Upgrading the system" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/1-6.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/1-6-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3949" class="wp-caption-text">1.- Upgrading the system</figcaption></figure></p>
<p>With this single line we do two things: the first is to refresh the cache of the repositories and the second is to update them without being asked if we want to do it.</p>
<p>Once our system is updated with the latest security patches, the next thing we need to do is install a LAMP server. We can do it with the following instructions, always from the terminal:</p>
<p><strong>          sudo apt install apache2 libapache2-mod-php7.2 mysql-server-5.7 mysql-client php7.2 php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php-xml php-mbstring php-bcmath</strong></p>
<p><figure id="attachment_3950" aria-describedby="caption-attachment-3950" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3950" src="https://www.osradar.com/wp-content/uploads/2018/06/2-8.png" alt="2.- Installing prerequisites" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/2-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/2-8-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3950" class="wp-caption-text">2.- Installing prerequisites</figcaption></figure></p>
<p>Already with that we will have a basic LAMP server running on our system.</p>
<p>Then we must change our timezone in the php.ini file. As an example I will put America/Caracas.</p>
<p><strong>           sudo nano /etc/php/7.2/apache2/php.ini</strong></p>
<p><figure id="attachment_3951" aria-describedby="caption-attachment-3951" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3951" src="https://www.osradar.com/wp-content/uploads/2018/06/3-8.png" alt="3.- Editing php.ini file" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/3-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/3-8-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3951" class="wp-caption-text">3.- Editing php.ini file</figcaption></figure></p>
<p><figure id="attachment_3952" aria-describedby="caption-attachment-3952" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3952" src="https://www.osradar.com/wp-content/uploads/2018/06/4-7.png" alt="5.- Editing php.ini file" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/4-7.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/4-7-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3952" class="wp-caption-text">5.- Editing php.ini file</figcaption></figure></p>
<p>For the changes to take effect, we must restart the apache service2.</p>
<p><strong>sudo systemctl restart apache2.service</strong></p>
<h3>Installing Zabbix</h3>
<p>Now we can add the Zabbix repository for Ubuntu 18.04 and then install it using the APT package manager. To add the repository just install a.deb file that we download with the following command:</p>
<p><strong>          wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1%2Bbionic_all.deb</strong></p>
<p><figure id="attachment_3953" aria-describedby="caption-attachment-3953" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3953" src="https://www.osradar.com/wp-content/uploads/2018/06/5-8.png" alt="5.- Adding zabbix repository" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/5-8.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/5-8-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3953" class="wp-caption-text">5.- Adding zabbix repository</figcaption></figure></p>
<p>and then we install it with:</p>
<p><strong>sudo dpkg -i zabbix-release_3.4-1+bionic_all.deb</strong></p>
<p><figure id="attachment_3954" aria-describedby="caption-attachment-3954" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3954" src="https://www.osradar.com/wp-content/uploads/2018/06/6-7.png" alt="6.- Adding zabbix repository" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/6-7.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/6-7-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3954" class="wp-caption-text">6.- Adding zabbix repository</figcaption></figure></p>
<p>As we have added a new repository, we must refresh the cache of it, we do it with:</p>
<p><strong>sudo apt update</strong></p>
<p><figure id="attachment_3955" aria-describedby="caption-attachment-3955" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3955" src="https://www.osradar.com/wp-content/uploads/2018/06/7-6.png" alt="7.- apt update" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/7-6.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/7-6-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3955" class="wp-caption-text">7.- apt update</figcaption></figure></p>
<p>And we proceed to install in a single command: the Zabbix server, the agent and the  front-end to access from the web browser:</p>
<p><strong>          sudo apt install zabbix-server-mysql zabbix-agent zabbix-frontend-php</strong></p>
<p><figure id="attachment_3956" aria-describedby="caption-attachment-3956" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3956" src="https://www.osradar.com/wp-content/uploads/2018/06/8-6.png" alt="8.- Installing zabbix packages" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/8-6.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/8-6-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3956" class="wp-caption-text">8.- Installing zabbix packages</figcaption></figure></p>
<h3>Configure MySql</h3>
<p>At this point, we already have Zabbix installed but we need to configure mysql so that the program knows how to use it.</p>
<p><strong>            sudo mysql_secure_installation</strong></p>
<p><figure id="attachment_3957" aria-describedby="caption-attachment-3957" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3957" src="https://www.osradar.com/wp-content/uploads/2018/06/9-4.png" alt="9.- Mysql secure installation script" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/9-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/9-4-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3957" class="wp-caption-text">9.- Mysql secure installation script</figcaption></figure></p>
<p>Where we will define our root key. The rest of the questions can be answered according to our taste. In my case, I said: Y,N,Y,Y.</p>
<p>Now we must log in to mysql with the password we have previously defined, to create the database and the zabbix user.</p>
<p><strong>         sudo</strong> <strong>mysql -u root -p</strong></p>
<p><figure id="attachment_3958" aria-describedby="caption-attachment-3958" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3958" src="https://www.osradar.com/wp-content/uploads/2018/06/10-4.png" alt="10.- logging in to mysql" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/10-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/10-4-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3958" class="wp-caption-text">10.- logging in to mysql</figcaption></figure></p>
<p><strong>          CREATE DATABASE zabbix;</strong></p>
<p><figure id="attachment_3959" aria-describedby="caption-attachment-3959" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3959" src="https://www.osradar.com/wp-content/uploads/2018/06/11-4.png" alt="11.- Creating Database Zabbix" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/11-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/11-4-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3959" class="wp-caption-text">11.- Creating Database Zabbix</figcaption></figure></p>
<p>And select the database with:</p>
<p><strong>           use zabbix;</strong></p>
<p>Now we must create a mysql user that has permissions on the Zabbix database.</p>
<p><strong>         GRANT ALL ON zabbix.* TO &#8216;zabbixuser&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;zabbixpss&#8217;;</strong></p>
<p><figure id="attachment_3960" aria-describedby="caption-attachment-3960" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3960" src="https://www.osradar.com/wp-content/uploads/2018/06/12-3.png" alt="12.- Creating user zabbixuser" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/12-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/12-3-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3960" class="wp-caption-text">12.- Creating user zabbixuser</figcaption></figure></p>
<p>We briefly explain: zabbix is the database; zabixuser is the username mysql and zabbixpss is the password for that username. Obviously when you do the tutorial don&#8217;t tell anyone the password 😉</p>
<p>Now we leave mysql writing <strong>exit</strong></p>
<p>At this point we must enable the ubuntu root user for the following commands to work.</p>
<p><strong>sudo -i</strong></p>
<p>And then:</p>
<p><strong>      sudo passwd root</strong></p>
<p>it will ask us for a new password and that&#8217;s it.</p>
<p>We log in as root:</p>
<p><strong>su</strong></p>
<p><figure id="attachment_3961" aria-describedby="caption-attachment-3961" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3961" src="https://www.osradar.com/wp-content/uploads/2018/06/13-2.png" alt="13.- logging in as root user" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/13-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/13-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3961" class="wp-caption-text">13.- logging in as root user</figcaption></figure></p>
<p>Next, copy the mysql configuration to the new user.</p>
<p><strong>      zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix</strong></p>
<p><figure id="attachment_3962" aria-describedby="caption-attachment-3962" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3962" src="https://www.osradar.com/wp-content/uploads/2018/06/14-2.png" alt="14.- Importing sql config" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/14-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/14-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3962" class="wp-caption-text">14.- Importing sql config</figcaption></figure></p>
<p><figure id="attachment_3963" aria-describedby="caption-attachment-3963" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3963" src="https://www.osradar.com/wp-content/uploads/2018/06/15-2.png" alt="15.- Importing sql config" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/15-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/15-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3963" class="wp-caption-text">15.- Importing sql config</figcaption></figure></p>
<h3>Defining the basic settings of Zabbix</h3>
<p>We are almost finished, for now we have to define some parameters in the Zabbix configuration file so that it can work correctly.</p>
<p><strong>          nano /etc/zabbix/zabbix_server.conf</strong></p>
<p><figure id="attachment_3964" aria-describedby="caption-attachment-3964" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3964" src="https://www.osradar.com/wp-content/uploads/2018/06/16-2.png" alt="16.- editing zabbix server config file" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/16-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/16-2-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3964" class="wp-caption-text">16.- editing zabbix server config file</figcaption></figure></p>
<p>We must modify these parameters so that you can communicate with mysql:</p>
<p>DBHost=localhost</p>
<p>DBName=zabbix</p>
<p>DBUser=zabbixuser</p>
<p>DBPassword=zabbixpss</p>
<p>For these changes to take effect we must restart the Zabbix, apache and mysql services.</p>
<p>For apache:</p>
<p><strong>           systemctl restart apache2.service</strong></p>
<p>Next, the zabbix server:</p>
<p><strong>           systemctl restart zabbix-server.service</strong></p>
<p>And Finally, mysql:</p>
<p><strong>           systemctl restart mysql.service</strong></p>
<p><figure id="attachment_3965" aria-describedby="caption-attachment-3965" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3965" src="https://www.osradar.com/wp-content/uploads/2018/06/17-1.png" alt="17.- Restarting services" width="1368" height="738" srcset="https://www.osradar.com/wp-content/uploads/2018/06/17-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/17-1-779x420.png 779w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3965" class="wp-caption-text">17.- Restarting services</figcaption></figure></p>
<p>We have finally completed the process, and can view your front-end from the web browser.</p>
<p><strong>          http://ip_server/zabbix</strong></p>
<p>and we should see something like this.</p>
<p><figure id="attachment_3630" aria-describedby="caption-attachment-3630" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3630" src="https://www.osradar.com/wp-content/uploads/2018/05/17.png" alt="Zabbix" width="1366" height="639" srcset="https://www.osradar.com/wp-content/uploads/2018/05/17.png 1366w, https://www.osradar.com/wp-content/uploads/2018/05/17-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/17-768x359.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/17-1024x479.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/17-696x326.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/17-1068x500.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/17-898x420.png 898w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3630" class="wp-caption-text">18.-Zabbix</figcaption></figure></p>
<p>We click on next</p>
<p><figure id="attachment_3631" aria-describedby="caption-attachment-3631" style="width: 852px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3631" src="https://www.osradar.com/wp-content/uploads/2018/05/18.png" alt="Zabbix 2" width="852" height="506" srcset="https://www.osradar.com/wp-content/uploads/2018/05/18.png 852w, https://www.osradar.com/wp-content/uploads/2018/05/18-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/18-768x456.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/18-696x413.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/18-707x420.png 707w" sizes="(max-width: 852px) 100vw, 852px" /><figcaption id="caption-attachment-3631" class="wp-caption-text">19.-Zabbix 2</figcaption></figure></p>
<p>After clicking on next we are presented with a screen where we must enter the mysql configuration parameters:</p>
<p><figure id="attachment_3632" aria-describedby="caption-attachment-3632" style="width: 852px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3632" src="https://www.osradar.com/wp-content/uploads/2018/05/19.png" alt="zabbix mysql" width="852" height="506" srcset="https://www.osradar.com/wp-content/uploads/2018/05/19.png 852w, https://www.osradar.com/wp-content/uploads/2018/05/19-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/19-768x456.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/19-696x413.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/19-707x420.png 707w" sizes="(max-width: 852px) 100vw, 852px" /><figcaption id="caption-attachment-3632" class="wp-caption-text">20.-zabbix mysql</figcaption></figure></p>
<p>Then we can name the zabbix instance that we have just created:</p>
<p><figure id="attachment_3968" aria-describedby="caption-attachment-3968" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3968" src="https://www.osradar.com/wp-content/uploads/2018/06/20-2.png" alt="21.-Configuring Zabbix" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/20-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/20-2-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3968" class="wp-caption-text">21.-Configuring Zabbix</figcaption></figure></p>
<p>You will then give us the summary of the pre-installation:</p>
<p><figure id="attachment_3969" aria-describedby="caption-attachment-3969" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3969" src="https://www.osradar.com/wp-content/uploads/2018/06/21-2.png" alt="22.- Installation summary" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/21-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/21-2-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3969" class="wp-caption-text">22.- Pre-installation summary</figcaption></figure></p>
<p>And finally, we did it: Zabbix-server is installed!!</p>
<p><figure id="attachment_3970" aria-describedby="caption-attachment-3970" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3970" src="https://www.osradar.com/wp-content/uploads/2018/06/22-1.png" alt="23.- Zbbix installed" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/22-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/22-1-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3970" class="wp-caption-text">23.- Zbbix installed</figcaption></figure></p>
<p>When you access the zabbix directory again from your browser, you will be able to log in.</p>
<p><figure id="attachment_3971" aria-describedby="caption-attachment-3971" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3971" src="https://www.osradar.com/wp-content/uploads/2018/06/23.png" alt="24.- Zabbix log in" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/23-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/23-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/23-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/23-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/23-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/23-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3971" class="wp-caption-text">24.- Zabbix log in</figcaption></figure></p>
<p>To log in as administrator, the user is admin and the password is zabbix, with this we will enter the dashboard</p>
<p><figure id="attachment_3973" aria-describedby="caption-attachment-3973" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3973" src="https://www.osradar.com/wp-content/uploads/2018/06/24-1.png" alt="25.-Zabbix Dashboard" width="1366" height="626" srcset="https://www.osradar.com/wp-content/uploads/2018/06/24-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/24-1-916x420.png 916w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-3973" class="wp-caption-text">25.-Zabbix Dashboard</figcaption></figure></p>
<p>Of course, in this instantiation the Dashboard is empty, the agent is already installed in the machines to be monitored, and then add them to Zabbix.</p>
<p>Zabbix is a very useful server tool for monitoring services and today we have learned how to install it in our Ubuntu Server 18.04.</p>
<p>Please share this article through your social networks.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/">Zabbix: a network monitor. Installation in Ubuntu Server 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/zabbix-a-network-monitor-installation-in-ubuntu-server-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
