{"id":12461,"date":"2024-05-14T13:26:10","date_gmt":"2024-05-14T07:56:10","guid":{"rendered":"https:\/\/www.skynats.com\/?p=12461"},"modified":"2025-10-23T16:08:21","modified_gmt":"2025-10-23T10:38:21","slug":"how-to-setup-zabbix-proxy","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-setup-zabbix-proxy\/","title":{"rendered":"How To Setup Zabbix proxy"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/05\/zabbix-1024x1024.png\" alt=\"\" class=\"wp-image-12465\" style=\"width:129px;height:auto\" srcset=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/05\/zabbix-1024x1024.png 1024w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/05\/zabbix-300x300.png 300w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/05\/zabbix-150x150.png 150w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/05\/zabbix-768x768.png 768w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/05\/zabbix.png 1080w\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/www.skynats.com\/server-management\/\">Zabbix proxy<\/a> plays a crucial role in handling performance and availability data for the Zabbix server, effectively distributing the data collection workload. By employing a proxy, the server can delegate some of its responsibilities, lightening its load.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moreover, integrating a proxy offers a straightforward method for establishing centralized and decentralized monitoring systems, as all agents and proxies report data to a singular server<a href=\"https:\/\/www.zabbix.com\/index\" target=\"_blank\" rel=\"noopener\">,<\/a> streamlining data collection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The functionalities of a Zabbix proxy include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Monitoring areas with unreliable communication networks.<\/li>\n\n\n\n<li>Offload&nbsp; the Zabbix server, particularly when monitoring extensive device networks.<\/li>\n\n\n\n<li>Distributed environment monitoring<\/li>\n\n\n\n<li>For monitoring a client server that belongs to different network as that of the server<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;Here, we are discussing the steps involved in adding a client server that belongs to different network as that of the server to Zabbix monitoring,<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-install-and-configure-zabbix-for-your-platform\">Install and configure Zabbix for your platform<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Download the latest version from the official website of Zabbix for your Operating system. Please note that the proxy should have the same major version as the zabbix server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-install-zabbix-repository\"><strong>Install Zabbix repository<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/repo.zabbix.com\/zabbix\/6.4\/ubuntu\/pool\/main\/z\/zabbix-release\/zabbix-release_6.4-1+ubuntu22.04_all.deb<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-normal-font-size\" id=\"h-install-zabbix-proxy\"><strong>Install Zabbix proxy<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You could choose MySQL\/PostgreSQL\/SQLite3 as database. Here we choose SQLite3.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install zabbix-proxy-sqlite3<\/code><\/pre>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\"><strong>Configure the database for Zabbix proxy<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit file \/etc\/zabbix\/zabbix_proxy.conf and set DBName parameter as \/tmp\/Zabbixproxy<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For Passive mode, set ProxyMode=1 and for active mode,set&nbsp; ProxyMode=0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The IP address of the server needs to be provided in the \u201cServer=\u201d parameter of configuration file.<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\"><strong>Start Zabbix proxy process<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart zabbix-proxy<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable zabbix-proxy<\/code><\/pre>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\"><strong>Configure Zabbix agent<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In \/etc\/zabbix\/zabbix_agentd.conf , give private IP address of proxy server in the \u201cServer=\u201d field<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\"><strong>Retart Zabbix proxy process<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart zabbix-agent<\/code><\/pre>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\"><strong>Add zabbix proxy<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add it in frontend interface with public IP of the proxy server as interface IP address. The proxy name should be the same as the name given in the configuration file.<\/p>\n\n\n\n<p class=\"has-normal-font-size wp-block-paragraph\"><strong>Add Zabbix client<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add it in frontend Zabbix interface as Host with it\u2019s private IP as interface IP address. Choose it from the dropdown list from where you have created.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check the availability status of the client server we have added to verify the connection.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have any questions or require assistance with &#8220;How to Setup Zabbix Proxy&#8221;, please don&#8217;t hesitate to contact <a href=\"https:\/\/www.skynats.com\/blog\/\">Skynats<\/a>. Feel free to reach out to us with any queries you may have.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Zabbix proxy plays a crucial role in handling performance and availability data for the Zabbix server, effectively distributing the data collection workload. By employing a proxy, the server can delegate some of its responsibilities, lightening its load. Moreover, integrating a proxy offers a straightforward method for establishing centralized and decentralized monitoring systems, as all [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[777,5,68],"tags":[863],"class_list":["post-12461","post","type-post","status-publish","format-standard","hentry","category-zabbix-monitoring","category-blog","category-server-management","tag-zabbix-proxy"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/12461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=12461"}],"version-history":[{"count":1,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/12461\/revisions"}],"predecessor-version":[{"id":16217,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/12461\/revisions\/16217"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=12461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=12461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=12461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}