{"id":353,"date":"2022-04-18T23:44:23","date_gmt":"2022-04-18T21:44:23","guid":{"rendered":"https:\/\/schoppe.it\/wiki\/?p=353"},"modified":"2024-09-03T08:50:58","modified_gmt":"2024-09-03T06:50:58","slug":"zabbix-agent2-version-6-auf-ubuntu-20-installieren","status":"publish","type":"post","link":"https:\/\/schoppe.it\/wiki\/zabbix-agent2-version-6-auf-ubuntu-20-installieren\/","title":{"rendered":"Zabbix Agent2 Version 6 auf Ubuntu 20 installieren"},"content":{"rendered":"\n<p>Offizielles Repository: <a href=\"https:\/\/repo.zabbix.com\/zabbix\/6.0\/ubuntu\/pool\/main\/z\/zabbix-release\/\">https:\/\/repo.zabbix.com\/zabbix\/6.0\/ubuntu\/pool\/main\/z\/zabbix-release\/<\/a><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nwget https:\/\/repo.zabbix.com\/zabbix\/6.0\/ubuntu\/pool\/main\/z\/zabbix-release\/zabbix-release_6.0-1%2Bubuntu20.04_all.deb\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ndpkg -i zabbix-release_6.0-1+ubuntu20.04_all.deb\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\napt update\napt upgrade\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\napt install zabbix-agent2\n<\/pre><\/div>\n\n\n<p>Die Zabbix Konfigurationsdatei muss angepasst werden. Als Hostname muss nicht zwingend der Hostname des Servers eingetragen werden. Es ist lediglich der Anzeigewert f\u00fcr den Zabbix Server.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnano \/etc\/zabbix\/zabbix_agent2.conf\n\n## In Zeile 80\nServer=dein.zabbixserver.de oder IP-Adresse\n\n## In Zeile 88 optional den Default-Port \u00e4ndern\n# ListenPort=10050\n\n## In Zeile 126\nServerActive=dein.zabbixserver.de oder IP-Adresse\n\n## In Zeile 137\nHostname=Hetzner-Server02\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsystemctl enable zabbix-agent2\nsystemctl start zabbix-agent2\n<\/pre><\/div>\n\n\n<p>In der Firewall des zu \u00fcberwachenden Servers muss der Port 10050 TCP f\u00fcr die IP-Adresse des Zabbix Servers ge\u00f6ffnet werden.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nufw allow from &#x5B;IP-Adresse-Zabbix-Server] to any port 10050 proto tcp\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Offizielles Repository: https:\/\/repo.zabbix.com\/zabbix\/6.0\/ubuntu\/pool\/main\/z\/zabbix-release\/ Die Zabbix Konfigurationsdatei muss angepasst werden. Als Hostname muss nicht zwingend der Hostname des Servers eingetragen werden. Es ist lediglich der Anzeigewert f\u00fcr den Zabbix Server. In der Firewall des zu \u00fcberwachenden Servers muss der Port 10050 TCP f\u00fcr die IP-Adresse des Zabbix Servers ge\u00f6ffnet werden.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[118],"tags":[130,106,129],"powershell":[],"wordpress":[],"exchange":[],"linux":[128,93],"class_list":["post-353","post","type-post","status-publish","format-standard","hentry","category-linux","tag-ubuntu","tag-zabbix","tag-zabbix-agent2","linux-dpkg","linux-wget","entry"],"_links":{"self":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":2,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":360,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts\/353\/revisions\/360"}],"wp:attachment":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/tags?post=353"},{"taxonomy":"powershell","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/powershell?post=353"},{"taxonomy":"wordpress","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/wordpress?post=353"},{"taxonomy":"exchange","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/exchange?post=353"},{"taxonomy":"linux","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/linux?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}