{"id":26159,"date":"2023-06-22T13:03:34","date_gmt":"2023-06-22T11:03:34","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=26159"},"modified":"2024-09-11T10:18:33","modified_gmt":"2024-09-11T08:18:33","slug":"zabbix-agent-automated-registration","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/","title":{"rendered":"Zabbix Agent Automated Registration"},"content":{"rendered":"\n<p>For those reading my blog posts regularly, you know I am an fan of automation. Declaring each host in Zabbix configuration manually is not an idea I like very much. Moreover, in dynamic environments which are moving a lot, manual registration is not sustainable.<\/p>\n\n\n\n<p>I sought for the best way to automate that, and I found several:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Autoregistration with Active Agent<\/li>\n\n\n\n<li>Network discovery<\/li>\n\n\n\n<li>Ansible role <a href=\"https:\/\/galaxy.ansible.com\/community\/zabbix\" target=\"_blank\" rel=\"noreferrer noopener\"><code>community.zabbix<\/code><\/a><\/li>\n\n\n\n<li>PHP library <a href=\"https:\/\/github.com\/intellitrend\/zabbixapi-php\" target=\"_blank\" rel=\"noreferrer noopener\"><code>zabbixapi-php<\/code><\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.zabbix.com\/documentation\/current\/en\/manual\/api\" target=\"_blank\" rel=\"noreferrer noopener\">Zabbix API<\/a> directly<\/li>\n<\/ul>\n\n\n\n<p>In this blog post, I will focus on autoregistration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Active vs Passive Agent<\/h2>\n\n\n\n<p>A Zabbix Agent can run in two modes: Active or Passive.<\/p>\n\n\n\n<p>Active means that metrics are pushed to Zabbix server with the requirement that it should know what to push. Passive means Zabbix server polls the agents. As you might have guessed, this also implies a change in connection direction.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Active: Agent to Server<\/li>\n\n\n\n<li>Passive: Server to Agent<\/li>\n<\/ul>\n\n\n\n<p>I will not go deeper on the difference as everything is very well explained in this <a href=\"https:\/\/blog.zabbix.com\/zabbix-agent-active-vs-passive\/9207\/\" target=\"_blank\" rel=\"noreferrer noopener\">blog post<\/a> by Zabbix.<\/p>\n\n\n\n<p>Until now, I used only passive mode. In case where you want to use autoregistration, agent must also use active mode to register itself to Zabbix server. The only configuration change is to add (or modify) this line with the Zabbix server hostname\/IP:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nServerActive=ZabbixServerHostName\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Actions<\/h2>\n\n\n\n<p>For the host to register, we need to setup an autoregistration action on server side. This will allow us to apply several operations to the new host like associating a template, sending a notification to administrator, etc. So, let&#8217;s do that now. Go in Alerts, Actions, Autoregistration actions menu:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"175\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-09_55_33-zabbix_-Services-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-26183\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-09_55_33-zabbix_-Services-\u2014-Mozilla-Firefox.png 351w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-09_55_33-zabbix_-Services-\u2014-Mozilla-Firefox-300x150.png 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/figure>\n\n\n\n<p>I will create a new action. As you can have different types of servers, which can have different operations, you must find the condition used to match the host trying to register. Condition (ie. filter) can be based on multiple type like hostname, host meta data or Zabbix proxy. As far as I am concerned, I want to apply <em>Linux by Zabbix agent<\/em> and <em>Zabbix agent<\/em> (passive mode) template when host is linux server.<\/p>\n\n\n\n<p>Luckily, server hostname contains linux, thus the condition is easy:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"183\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_12_02-zabbix_-Configuration-of-actions-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-26185\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_12_02-zabbix_-Configuration-of-actions-\u2014-Mozilla-Firefox.png 489w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_12_02-zabbix_-Configuration-of-actions-\u2014-Mozilla-Firefox-300x112.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/figure>\n\n\n\n<p>Once I clicked Add, I go to <em>Operations<\/em> tab to link both templates. I am adding an operation and select Link to template and both templates:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"463\" height=\"164\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_17_56-zabbix_-Configuration-of-actions-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-26187\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_17_56-zabbix_-Configuration-of-actions-\u2014-Mozilla-Firefox.png 463w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_17_56-zabbix_-Configuration-of-actions-\u2014-Mozilla-Firefox-300x106.png 300w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/figure>\n\n\n\n<p>Then, click <em>Add<\/em> button to confirm new operation and <em>Add<\/em> again to create action.<\/p>\n\n\n\n<p>I am also adding another operation to assign middleware_webserver hostgroup to the host.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Autoregistration<\/h2>\n\n\n\n<p>Initially, my hosts list shows only Zabbix server itself:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1019\" height=\"64\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_20_28-zabbix_-Hosts-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-26188\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_20_28-zabbix_-Hosts-\u2014-Mozilla-Firefox.png 1019w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_20_28-zabbix_-Hosts-\u2014-Mozilla-Firefox-300x19.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_20_28-zabbix_-Hosts-\u2014-Mozilla-Firefox-768x48.png 768w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/figure>\n\n\n\n<p>Few seconds after agent starts (<code>systemctl start zabbix-agent2.service<\/code>), new hosts will appear in Hosts list, and I can check its settings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"541\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_42_28-zabbix_-Hosts-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-26191\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_42_28-zabbix_-Hosts-\u2014-Mozilla-Firefox.png 875w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_42_28-zabbix_-Hosts-\u2014-Mozilla-Firefox-300x185.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-10_42_28-zabbix_-Hosts-\u2014-Mozilla-Firefox-768x475.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n\n<p>If you look carefully, you can see there is no templates applied and I also noticed that ZBX interface never goes green. So, I investigated into Zabbix server log (ie. \/var\/log\/zabbix\/zabbix_server.log) and found the following error:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n  3241:20230622:085808.278 cannot link template(s) &quot;Linux by Zabbix agent&quot;, &quot;Zabbix agent&quot; to host &quot;srv-linux-wls-ols-1&quot;: conflicting item key &quot;agent.version&quot; found\n<\/pre><\/div>\n\n\n<p>This is because both templates contain the same key definition. I can reproduce this by trying to add both template to the host manually:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"944\" height=\"389\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_04_31-zabbix_-Hosts-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-26197\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_04_31-zabbix_-Hosts-\u2014-Mozilla-Firefox.png 944w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_04_31-zabbix_-Hosts-\u2014-Mozilla-Firefox-300x124.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_04_31-zabbix_-Hosts-\u2014-Mozilla-Firefox-768x316.png 768w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><\/figure>\n\n\n\n<p>The solution is to remove <em>Zabbix agent<\/em> template for autoregistration action operation and here we are:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"60\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_06_27-zabbix_-Hosts-\u2014-Mozilla-Firefox-1024x60.png\" alt=\"\" class=\"wp-image-26198\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_06_27-zabbix_-Hosts-\u2014-Mozilla-Firefox-1024x60.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_06_27-zabbix_-Hosts-\u2014-Mozilla-Firefox-300x18.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_06_27-zabbix_-Hosts-\u2014-Mozilla-Firefox-768x45.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_06_27-zabbix_-Hosts-\u2014-Mozilla-Firefox.png 1068w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Note that you must delete host for registration process to happen again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Next Steps<\/h2>\n\n\n\n<p>With this method, new hosts are only assigned the Agent interface. It is missing JMX interface as setup on this <a href=\"https:\/\/www.dbi-services.com\/blog\/wildfly-monitoring-in-zabbix\/\" target=\"_blank\" rel=\"noreferrer noopener\">blog post<\/a>. and as required by <em>WildFly Server by JMX<\/em> template. If I try to link that template, I will face that error:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"132\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_16_02-zabbix_-Hosts-\u2014-Mozilla-Firefox-1024x132.png\" alt=\"\" class=\"wp-image-26202\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_16_02-zabbix_-Hosts-\u2014-Mozilla-Firefox-1024x132.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_16_02-zabbix_-Hosts-\u2014-Mozilla-Firefox-300x39.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_16_02-zabbix_-Hosts-\u2014-Mozilla-Firefox-768x99.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-22-11_16_02-zabbix_-Hosts-\u2014-Mozilla-Firefox.png 1036w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>An enhancement exists for that <a href=\"https:\/\/support.zabbix.com\/browse\/ZBXNEXT-6745\" target=\"_blank\" rel=\"noreferrer noopener\">feature<\/a>, but it does not seem to be coming anytime soon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For those reading my blog posts regularly, you know I am an fan of automation. Declaring each host in Zabbix configuration manually is not an idea I like very much. Moreover, in dynamic environments which are moving a lot, manual registration is not sustainable. I sought for the best way to automate that, and I [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,1320],"tags":[143,2430],"type_dbi":[],"class_list":["post-26159","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware","category-devops","tag-monitoring","tag-zabbix"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Zabbix Agent Automated Registration - dbi Blog<\/title>\n<meta name=\"description\" content=\"How to avoid declaring new zabbix agent manually and use autoregistration feature instead?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Zabbix Agent Automated Registration\" \/>\n<meta property=\"og:description\" content=\"How to avoid declaring new zabbix agent manually and use autoregistration feature instead?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-22T11:03:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-11T08:18:33+00:00\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"Zabbix Agent Automated Registration\",\"datePublished\":\"2023-06-22T11:03:34+00:00\",\"dateModified\":\"2024-09-11T08:18:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/\"},\"wordCount\":580,\"commentCount\":0,\"keywords\":[\"Monitoring\",\"Zabbix\"],\"articleSection\":[\"Application integration &amp; Middleware\",\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/\",\"name\":\"Zabbix Agent Automated Registration - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2023-06-22T11:03:34+00:00\",\"dateModified\":\"2024-09-11T08:18:33+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\"},\"description\":\"How to avoid declaring new zabbix agent manually and use autoregistration feature instead?\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/zabbix-agent-automated-registration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Zabbix Agent Automated Registration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/middleware-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Zabbix Agent Automated Registration - dbi Blog","description":"How to avoid declaring new zabbix agent manually and use autoregistration feature instead?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/","og_locale":"en_US","og_type":"article","og_title":"Zabbix Agent Automated Registration","og_description":"How to avoid declaring new zabbix agent manually and use autoregistration feature instead?","og_url":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/","og_site_name":"dbi Blog","article_published_time":"2023-06-22T11:03:34+00:00","article_modified_time":"2024-09-11T08:18:33+00:00","author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"Zabbix Agent Automated Registration","datePublished":"2023-06-22T11:03:34+00:00","dateModified":"2024-09-11T08:18:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/"},"wordCount":580,"commentCount":0,"keywords":["Monitoring","Zabbix"],"articleSection":["Application integration &amp; Middleware","DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/","url":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/","name":"Zabbix Agent Automated Registration - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2023-06-22T11:03:34+00:00","dateModified":"2024-09-11T08:18:33+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"description":"How to avoid declaring new zabbix agent manually and use autoregistration feature instead?","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/zabbix-agent-automated-registration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Zabbix Agent Automated Registration"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/26159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=26159"}],"version-history":[{"count":10,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/26159\/revisions"}],"predecessor-version":[{"id":26212,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/26159\/revisions\/26212"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=26159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=26159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=26159"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=26159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}