{"id":142,"date":"2018-10-19T06:50:13","date_gmt":"2018-10-19T06:50:13","guid":{"rendered":"http:\/\/hanasavi.ir\/?p=142"},"modified":"2018-10-19T18:31:58","modified_gmt":"2018-10-19T18:31:58","slug":"how-to-install-and-configure-zabbix-on-centos7","status":"publish","type":"post","link":"https:\/\/hanasavi.ir\/index.php\/2018\/10\/19\/how-to-install-and-configure-zabbix-on-centos7\/","title":{"rendered":"How To Install and Configure Zabbix on Centos7"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-190 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/images-300x79.png\" alt=\"\" width=\"885\" height=\"233\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/images-300x79.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/images-400x105.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/images.png 439w\" sizes=\"(max-width: 885px) 100vw, 885px\" \/><\/p>\n<p>zabbix is a great tool that collect data from all device of the network such as Server,Router,Switches , DataCenter sensor&#8217;s,UPS, &#8230;.<\/p>\n<h2 id=\"prerequisites\">Prerequisites:<\/h2>\n<ul>\n<li>Centos server<\/li>\n<\/ul>\n<h2 id=\"step-1-\u2014-installing-grafana\">Step 1 \u2014<\/h2>\n<p>Start your server and get IP with <strong>ifconfig<\/strong> command, Or set new IP with <strong>nmtui<\/strong> command:<\/p>\n<p>Now my server&#8217;s IP is : <strong>192.168.25.128<\/strong><\/p>\n<p><strong>To do this, we will do the following in order :<\/strong><\/p>\n<pre class=\"lang:default decode:true\">:$ ssh root@192.168.25.128<\/pre>\n<p>from <a href=\"https:\/\/zabbix.com\/download\">https:\/\/zabbix.com\/download<\/a>\u00a0 get the latest version of zabbix<\/p>\n<pre class=\"lang:default decode:true\"># rpm -i https:\/\/repo.zabbix.com\/zabbix\/4.0\/rhel\/7\/x86_64\/zabbix-release-4.0-1.el7.noarch.rpm\r\n\r\n# yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent<\/pre>\n<h2 id=\"step-install-and-configure-php-on-centos-\">Step 2 &#8211; Install and Configure Httpd, PHP 7.2 on CentOS 7<\/h2>\n<pre class=\"lang:default decode:true \">#sudo yum install httpd\r\n\r\n#systemctl start httpd\r\n\r\n#systemctl enable httpd<\/pre>\n<p><strong>now Apache\/httpd installed on the server. for check it using netstat command<\/strong><\/p>\n<pre class=\"lang:default decode:true\">#netstat -plntu<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-153 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-17-54-34-300x68.png\" alt=\"\" width=\"899\" height=\"204\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-17-54-34-300x68.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-17-54-34-768x173.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-17-54-34-400x90.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-17-54-34.png 886w\" sizes=\"(max-width: 899px) 100vw, 899px\" \/><\/p>\n<pre class=\"lang:default decode:true \">#yum -y install epel-release\r\n\r\n#sudo rpm -Uvh https:\/\/mirror.webtatic.com\/yum\/el7\/webtatic-release.rpm\r\n\r\n#yum -y install mod_php72w php72w-cli php72w-common php72w-devel php72w-pear php72w-gd php72w-mbstring php72w-mysql php72w-xml php72w-bcmath<\/pre>\n<p><strong>when the installation complete,\u00a0 we have to edit the default &#8220;php.ini&#8221;<\/strong><\/p>\n<pre class=\"lang:default decode:true\">#vim \/etc\/php.ini<\/pre>\n<pre class=\"lang:default decode:true \" title=\"\/etc\/php.ini\">max_execution_time = 600\r\nmax_input_time = 600\r\nmemory_limit = 256M\r\npost_max_size = 32M\r\nupload_max_filesize = 16M\r\ndate.timezone = Asia\/Tehran<\/pre>\n<pre class=\"lang:default decode:true\">#systemctl restart httpd<\/pre>\n<p>&nbsp;<\/p>\n<h2 id=\"step-install-and-configure-mariadb\">Step 3 &#8211; Install and Configure MariaDB<\/h2>\n<pre class=\"lang:default decode:true\">#sudo yum -y install mariadb-server\r\n\r\n#systemctl start mariadb\r\n#systemctl enable mariadb<\/pre>\n<p><strong>Now run the command below to configure MariaDB root password.<\/strong><\/p>\n<pre class=\"lang:default decode:true \">#mysql_secure_installation<\/pre>\n<p>If you installed Mariadb , and you havent set the root password yet, then the password is blank and you just Enter here(default password is blank)<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-155 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-18-18-44-300x59.png\" alt=\"\" width=\"915\" height=\"180\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-18-18-44-300x59.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-18-18-44-768x151.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-18-18-44-400x78.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-18-18-44.png 897w\" sizes=\"(max-width: 915px) 100vw, 915px\" \/><\/p>\n<p>after this level press &#8220;Y&#8221; and enter new password for root<\/p>\n<p>Now, Mariadb has installed<\/p>\n<p>Next we create a database for zabbix with username:<strong>zabbix<\/strong> and password:<strong>zabbix@<\/strong><\/p>\n<pre class=\"lang:default decode:true\">#mysql -u root -p<\/pre>\n<pre class=\"lang:default decode:true\" title=\"#mysql -u root -p\">-&gt;\u00a0create database zabbix;\r\n\r\n-&gt;grant all privileges on zabbix.* to\u00a0zabbix@'localhost' identified by 'zabbix@';\r\n\r\n-&gt;grant all privileges on zabbix.* to\u00a0zabbix@'%' identified by 'zabbix@';\r\n\r\n-&gt;flush privileges;\r\n\r\n-&gt;quit<\/pre>\n<pre class=\"lang:default decode:true\"># zcat \/usr\/share\/doc\/zabbix-server-mysql*\/create.sql.gz | mysql -uzabbix -p zabbix<\/pre>\n<p>(first &#8216;zabbix&#8217; is user and the second is table&#8217;s name)<\/p>\n<p><strong>Edit file \/etc\/zabbix\/zabbix_server.conf<\/strong><\/p>\n<pre class=\"lang:default decode:true\">#vim\u00a0\/etc\/zabbix\/zabbix_server.conf<\/pre>\n<pre class=\"lang:default decode:true \" title=\"\/etc\/zabbix\/zabbix_server.conf\">DBPassword=zabbix@<\/pre>\n<pre class=\"lang:default decode:true\">#vim \/etc\/httpd\/conf.d\/zabbix.conf<\/pre>\n<pre class=\"lang:default decode:true\" title=\"\/etc\/httpd\/conf.d\/zabbix.conf\">php_value date.timezone Asia\/Tehran<\/pre>\n<pre class=\"lang:default decode:true\"># systemctl restart zabbix-server zabbix-agent httpd\r\n# systemctl enable zabbix-server zabbix-agent httpd\r\n\r\n#systemctl status zabbix-server<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_zabbix_on_centos_7\/6.png\" alt=\"Configure zabbix server\" width=\"500\" height=\"140\" \/><\/p>\n<p>Now your Zabbix server is up and running!<\/p>\n<h2 id=\"step-install-and-configure-mariadb\">Step 4 &#8211;\u00a0configure Zabbix frontend:<\/h2>\n<p>now go to this link http:\/\/<span class=\"red\">server_ip_or_name<\/span>\/zabbix<\/p>\n<p>if the page not open , maybe you have to disable selinux<\/p>\n<pre class=\"lang:default decode:true\">#vim \/etc\/selinux\/config<\/pre>\n<blockquote>\n<pre class=\"lang:default decode:true\" title=\"\/etc\/selinux\/config\">SELINUX=disabled<\/pre>\n<\/blockquote>\n<p>now, restrat the server(init 6)<\/p>\n<p>Check selinux by <strong>getenforce<\/strong> command<\/p>\n<p>Zabbix-agent is running on the system &#8211; check it using the following command.<\/p>\n<pre class=\"lang:default decode:true\">#systemctl status zabbix-agent<\/pre>\n<p>the result as shown below,<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_zabbix_on_centos_7\/7.png\" alt=\"Configure zabbix agent\" width=\"500\" height=\"255\" \/><\/p>\n<h2 id=\"step-nbsp-configure-firewalld\">Step 5 &#8211;\u00a0 Configure Firewalld<\/h2>\n<p>In this step, we will open the HTTP and https port<\/p>\n<p>If you do not have firewalld on your system, install it using the following command.<\/p>\n<pre class=\"lang:default decode:true \">#yum -y install firewalld\r\n\r\n#systemctl start firewalld\r\n#systemctl enable firewalld\r\n\r\n#firewall-cmd --add-service={http,https} --permanent\r\n#firewall-cmd --add-port={10051\/tcp,10050\/tcp} --permanent\r\n\r\n#firewall-cmd --reload#firewall-cmd --list-all<\/pre>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_zabbix_on_centos_7\/8.png\" alt=\"Configure the firewall\" width=\"761\" height=\"218\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"step-zabbix-initial-setup\">Step 6 &#8211; Restart All Service<\/h2>\n<pre class=\"lang:default decode:true\">#systemctl restart zabbix-server\r\n#systemctl restart zabbix-agent\r\n#systemctl restart httpd<\/pre>\n<p>Now open your web browser, and type your server IP address.<\/p>\n<p>http:\/\/Your-Server-IP\/zabbix\/<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-156 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-08-39-300x149.png\" alt=\"\" width=\"745\" height=\"370\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-08-39-300x149.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-08-39-768x382.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-08-39-1024x509.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-08-39-400x199.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-08-39.png 1206w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/p>\n<p>Click the &#8216;<strong>Next Step<\/strong>&#8216; button.<\/p>\n<p>Now, Zabbix will check all system requirements for its installation. Make sure there is no error.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-159 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za2-300x177.png\" alt=\"\" width=\"705\" height=\"416\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za2-300x177.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za2-768x453.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za2-1024x604.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za2-400x236.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za2.png 1091w\" sizes=\"(max-width: 705px) 100vw, 705px\" \/><\/p>\n<p>For this error :<\/p>\n<pre class=\"lang:default decode:true\">#cat\u00a0 \/etc\/php.ini |grep timezone<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-160 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zab3-300x63.png\" alt=\"\" width=\"599\" height=\"126\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zab3-300x63.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zab3-400x84.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zab3.png 519w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/p>\n<pre class=\"lang:default decode:true\">#vim \/etc\/php.ini<\/pre>\n<blockquote>\n<pre class=\"lang:default decode:true\" title=\"\/etc\/php.ini\">date.timezone=\"Asia\/Tehran\"<\/pre>\n<\/blockquote>\n<pre class=\"lang:default decode:true\">#systemctl restart httpd<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-161 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-35-31-300x169.png\" alt=\"\" width=\"767\" height=\"432\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-35-31-300x169.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-35-31-768x432.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-35-31-1024x576.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-35-31-400x225.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-19-35-31.png 1366w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/p>\n<p>And click the &#8216;<strong>Next step<\/strong>&#8216; button.<\/p>\n<p>For the database info, type all your database setup.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-163 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za4-300x169.png\" alt=\"\" width=\"707\" height=\"398\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za4-300x169.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za4-768x432.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za4-400x225.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za4.png 950w\" sizes=\"(max-width: 707px) 100vw, 707px\" \/><\/p>\n<p>Now comes the Zabbix server details configuration. On the &#8216;Host&#8217; field, type your own server IP address, and change the name with your own domain name or hostname.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-164 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb5-300x184.png\" alt=\"\" width=\"668\" height=\"410\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb5-300x184.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb5-768x471.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb5-400x245.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb5.png 994w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><\/p>\n<p>Click Next Button<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-166 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb6-300x182.png\" alt=\"\" width=\"671\" height=\"407\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb6-300x182.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb6-768x465.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb6-1024x620.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb6-400x242.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb6.png 1055w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/p>\n<p>click Next.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-167 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb7-300x183.png\" alt=\"\" width=\"662\" height=\"403\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb7-300x183.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb7-768x468.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb7-1024x624.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb7-400x244.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb7.png 1064w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/><\/p>\n<p>Click Finish,<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-168 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-300x179.png\" alt=\"\" width=\"656\" height=\"392\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-300x179.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-768x458.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-1024x610.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-400x238.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8.png 1042w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/p>\n<p>welcome to Zabbix: the default username is: <strong>Admin<\/strong> and Password is : <strong>zabbix<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-169 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-1-257x300.png\" alt=\"\" width=\"313\" height=\"364\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-1-257x300.png 257w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb8-1.png 419w\" sizes=\"(max-width: 313px) 100vw, 313px\" \/><\/p>\n<p>Maybe you meet this Error&#8221;zabbix server is not running&#8221;:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-170 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za9-300x163.png\" alt=\"\" width=\"813\" height=\"442\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za9-300x163.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za9-768x417.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za9-1024x556.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za9-400x217.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za9.png 1177w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/p>\n<p>here , do like this:<\/p>\n<pre class=\"lang:default decode:true\">#vim \/etc\/zabbix\/web\/zabbix.conf.php<\/pre>\n<p>Change Port to <strong>10051<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-172 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb10-300x169.png\" alt=\"\" width=\"707\" height=\"397\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb10-300x169.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb10-768x432.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb10-400x225.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/zb10.png 950w\" sizes=\"(max-width: 707px) 100vw, 707px\" \/><\/p>\n<pre class=\"lang:default decode:true\">#systemctl restart zabbix-server\r\n\r\n#systemctl restart zabbix-server<\/pre>\n<p>Check <strong>DBUser<\/strong>,\u00a0<strong>DBPassword<\/strong> in &#8216;\/etc\/zabbix\/zabbix_server.conf file &#8216; :<\/p>\n<pre class=\"lang:default decode:true\">#vim\u00a0\/etc\/zabbix\/zabbix_server.conf<\/pre>\n<pre class=\"lang:default decode:true  \" title=\"zabbix_server.conf\">DBUser = zabbix\r\n\r\nDBPassword = zabbix@<\/pre>\n<pre class=\"lang:default decode:true \">#systemctl restart zabbix-server<\/pre>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-173 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za11-300x169.png\" alt=\"\" width=\"736\" height=\"415\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za11-300x169.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za11-768x432.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za11-400x225.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/za11.png 950w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><\/p>\n<h3><\/h3>\n<h3><strong>congratulations, zabbix is running now .<\/strong><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>zabbix is a great tool that collect data from all device of the network such as Server,Router,Switches , DataCenter sensor&#8217;s,UPS, &#8230;. Prerequisites: Centos server Step 1 \u2014 Start your server and get IP with ifconfig command, Or set new IP with nmtui command: Now my server&#8217;s IP is : 192.168.25.128 To do this, we will&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[17,18,8],"_links":{"self":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/142"}],"collection":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":28,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":350,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/142\/revisions\/350"}],"wp:attachment":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}