{"id":2665,"date":"2023-09-10T15:41:45","date_gmt":"2023-09-10T13:41:45","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=2665"},"modified":"2023-09-10T15:41:46","modified_gmt":"2023-09-10T13:41:46","slug":"zabbix-monitoring-des-netzwerkes-und-der-geraete","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/10\/zabbix-monitoring-des-netzwerkes-und-der-geraete\/","title":{"rendered":"Zabbix &#8211; Monitoring des Netzwerkes und der Ger\u00e4te"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Nichts ist schlimmer als wenn etwas im Netzwerk nicht funktioniert! Ist es das Netzwerk selbst, ein Computer, eine Software, ein Switch &#8211; oder was auch immer?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Vor allem in einem Unternehmen &#8211; der Admin wird angerufen &#8211; etwas funktioniert nicht. In der Firma kann nicht gearbeitet werden, der Admin muss erst ran. W\u00e4re es nicht besser, der Admin w\u00fcrde dies selbst sehen, gleich bevor irgendwer anderes daraufkommt?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mit der Open Source-Software Zabbix ist genau dies m\u00f6glich. So gut wie jedes Betriebssystem, jeder Computer, jede Netzwerk-Hardware und vieles an Software l\u00e4sst sich damit \u00fcberwachen. Auch die Belegung der Festplatten, der Arbeitsspeicher, die Auslastung der CPU und vieles mehr. Im Falle des Falles l\u00e4sst sich der Rechner, bei dem Probleme bestehen, nach Vorgaben das System neu starten, Anwender per E-Mail, SMS und Co. zu informieren und vieles mehr.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In diesem Thema sehen wir uns diese Software etwas genauer an. Bis dieser Artikel von meiner Seite fertig ist, wird er gesperrt bleiben &#8211; anschlie\u00dfend kann sich jeder beteiligen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Zabbix installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Grundlegend &#8211; Monitoring-Systeme sollten immer auf einem eigenen Rechner laufen, dieser sollte auch vom Internet abgeschottet sein. Auch sollte Zabbix nur per SSL (<em>HTTPS<\/em>) erreichbar sein, dies werden wir hier aber nicht besprechen (<em>mehr dazu unter\u00a0Lets encrypt<\/em>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In diesem Beitrag wird die Installation unter Debian 11 (<em>Bullseye<\/em>) vorgenommen, die Installation ist jedoch auch unter Alma Linux, CentOS, Oracle Linux, Raspberry Pi OS, Red Hat Enterprise Linux, Rocky Linux, SUSE Linux Enterprise Server, Ubuntu und Ubuntu ARM problemlos \u00fcber die Paket-Verwaltung mittels Paketen m\u00f6glich (siehe&nbsp;<a href=\"https:\/\/www.zabbix.com\/download\" target=\"_blank\" rel=\"noreferrer noopener\">Zabbix &#8211; Downloads<\/a>). F\u00fcr weitere Distributionen gilt es, die Quellen selbst zu kompilieren.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Zu Beginn laden wir uns das initiale Paket herunter, \u00fcber dieses wird das Zabbix-Repository und die GPG-Schl\u00fcssel automatisch in das System integriert &#8211; als normaler Benutzer am\u00a0Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/repo.zabbix.com\/zabbix\/6.2\/debian\/pool\/main\/z\/zabbix-release\/zabbix-release_6.2-2%2Bdebian11_all.deb<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt installieren wir dieses Paket als\u00a0Administrator\u00a0auf dem Terminal \u00fcber die\u00a0Paket-Verwaltung\u00a0durch den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install .\/zabbix-release_VERSION+debian11_all.deb<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend aktualisieren wir die Quellen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Und installieren die n\u00f6tigen Pakete (<em>in diesem Fall, mit dem Webserver Apache und der Datenbank MySQL &#8211; Sie k\u00f6nnen aber auch PostgreSQL als Datenbank und Nginx als Webserver nutzen &#8211; siehe Zabbix-Link<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In diesem Fall installieren wir den Zabbix-Server &#8211; zum Proxy, den Agenten und Co werden wir sp\u00e4ter mehr erfahren. Jetzt erlauben wir den automatischen Start des Zabbix-Servers &#8211; nat\u00fcrlich als Administrator:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable zabbix-server --now<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Absolut wichtig ist die richtige Zeitzone, wir sehen erst einmal an, wie sich diese nennt:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>timedatectl list-timezones | grep Europe<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Diese k\u00f6nnen wir zur Sicherheit gleich noch einmal fix festlegen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>timedatectl set-timezone Europe\/Vienna<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Den Befehl gilt es nat\u00fcrlich entsprechend anzupassen. Mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">k\u00f6nnen wir die Zeitzone kontrollieren:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"687\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-1-1024x687.jpg\" alt=\"\" class=\"wp-image-2668\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-1-1024x687.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-1-300x201.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-1-768x515.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-1.jpg 1091w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wichtig ist die richtige Zeitzone f\u00fcr die Zeitstempel &#8211; Timestamps. Noch besser der Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>timedatectl status<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"687\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-2-1024x687.jpg\" alt=\"\" class=\"wp-image-2670\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-2-1024x687.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-2-300x201.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-2-768x515.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-2.jpg 1091w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir installieren die Datenbank:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install mysql-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Diese wird jetzt konfiguriert:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -uroot -p<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Geben Sie Ihr root-Passwort ein &#8211; es folgt der Datenbank-Prompt &#8222;<strong>mysql&gt;<\/strong>&#8220; &#8211; hier geben Sie die weiteren Befehle ein:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wir erstellen die Datenbank:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>create database zabbix character set utf8mb4 collate utf8mb4_bin;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt erstellen wir den Benutzer &#8222;<strong>zabbix<\/strong>&#8220; und sein Passwort &#8211; &#8222;<strong>password<\/strong>&#8220; ersetzen Sie dabei durch ein sicheres Passwort:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>create user zabbix@localhost identified by 'password';<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt vergeben wir die Rechte:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grant all privileges on zabbix.* to zabbix@localhost;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir schlie\u00dfen ab und loggen uns aus:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>set global log_bin_trust_function_creators = 1;\nquit;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt bef\u00fcllen wir die Datenbank mit dem Befehl (anschlie\u00dfend geben Sie den:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zcat \/usr\/share\/zabbix-sql-scripts\/mysql\/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir \u00f6ffnen wieder die Datenbank:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hier wenden wir uns der Datenbank &#8222;<strong>zabbix<\/strong>&#8220; zu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>use zabbix<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt sehen wir uns die Tabellen an, diese sollten in etwa so aussehen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show tables;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>| trigger_depends            |\n| trigger_discovery          |\n| trigger_queue              |\n| trigger_tag                |\n| triggers                   |\n| userdirectory              |\n| users                      |\n| users_groups               |\n| usrgrp                     |\n| valuemap                   |\n| valuemap_mapping           |\n| widget                     |\n| widget_field               |\n+----------------------------+\n176 rows in set (0.001 sec)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir k\u00f6nnen uns wieder ausloggen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>quit;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir wenden uns der Konfigurationsdatei von Zabbix zu &#8211; &#8222;<em>\/etc\/zabbix\/zabbix_server.conf<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/zabbix\/zabbix_server.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hier suchen wir zun\u00e4chst den Eintrag f\u00fcr den Namen der Datenbank:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>### Option: DBName\n#       Database name.\n#       If the Net Service Name connection method is used to connect to Oracle database, specify the service name from\n#       the tnsnames.ora file or set to empty string; also see the TWO_TASK environment variable if DBName is set to\n#       empty string.\n#\n# Mandatory: yes\n# Default:\n# DBName=\n\nDBName=zabbix<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wichtig &#8211; die Zeile &#8222;<strong>DBName=zabbix<\/strong>&#8220; &#8211; unter Debian sollte dies schon richtig hier stehen. Weiter geht es zum Eintrag:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>### Option: DBUser\n#       Database user.\n#\n# Mandatory: no\n# Default:\n# DBUser=\n\nDBUser=zabbix<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Auch hier &#8211; der Datenbank-Benutzer &#8222;<strong>DBUser=zabbix<\/strong>&#8220; sollte unter Debian schon passen. Jetzt noch wichtig &#8211; das Passwort:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>### Option: DBPassword\n#       Database password.\n#       Comment this line if no password is used.\n#\n# Mandatory: no\n# Default:\nDBPassword=PASSWORT<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Entfernen Sie die Raute (#) vor dem Passwort und setzen das Passwort der Datenbank in der Zeile &#8222;<strong>DBPassword=<\/strong>&#8222;. Wir speichern die Datei mit\u00a0<strong><kbd>Strg+o<\/kbd><\/strong>, best\u00e4tigen mit\u00a0<strong><kbd>Eingabe<\/kbd><\/strong>\u00a0und schlie\u00dfen den Editor mit\u00a0<strong><kbd>Strg+x<\/kbd><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wir starten den Server neu und kontrollieren den Status:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart zabbix-server\nsystemctl status zabbix-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Dies sollte jetzt so aussehen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl --type=service<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u25cf zabbix-server.service - Zabbix Server\n     Loaded: loaded (\/lib\/systemd\/system\/zabbix-server.service; enabled; vendor preset: enabled)\n     Active: active (running) since Sat 2022-10-15 05:49:47 CEST; 4s ago\n    Process: 16075 ExecStart=\/usr\/sbin\/zabbix_server -c $CONFFILE (code=exited, status=0\/SUCCESS)\n   Main PID: 16077 (zabbix_server)\n      Tasks: 48 (limit: 6972)\n     Memory: 47.9M\n        CPU: 175ms\n     CGroup: \/system.slice\/zabbix-server.service\n             \u251c\u250016077 \/usr\/sbin\/zabbix_server -c \/etc\/zabbix\/zabbix_server.conf\n             \u251c\u250016084 \/usr\/sbin\/zabbix_server: ha manager\n...\n...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Eine weitere Kontrolle &#8211; der Server sollte bereits die Log-Dateibef\u00fcllen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tail -n50 \/var\/log\/zabbix\/zabbix_server.log<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> 16093:20221015:054947.239 server #6 started &#91;alerter #3]\n 16094:20221015:054947.239 server #7 started &#91;preprocessing manager #1]\n 16095:20221015:054947.239 server #8 started &#91;preprocessing worker #1]\n 16096:20221015:054947.240 server #9 started &#91;preprocessing worker #2]\n 16097:20221015:054947.240 server #10 started &#91;preprocessing worker #3]\n 16098:20221015:054947.241 server #11 started &#91;lld manager #1]\n 16099:20221015:054947.241 server #12 started &#91;lld worker #1]\n 16100:20221015:054947.242 server #13 started &#91;lld worker #2]\n 16102:20221015:054947.243 server #14 started &#91;housekeeper #1]\n 16103:20221015:054947.243 server #15 started &#91;timer #1]\n...\n...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ebenso sollten so einige Zabbix-Prozesse laufen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps ax | grep zabbix_server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt starten wir den Zabbix-Server und Komponenten neu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart zabbix-server zabbix-agent apache2\nsystemctl enable zabbix-server zabbix-agent apache2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Damit w\u00e4re die Installation des Servers abgeschlossen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Weiter geht es mit der Einrichtung der grafischen Oberfl\u00e4che im Webbrowser. Dazu \u00f6ffnen Sie am lokalen Rechner die Adresse &#8222;<strong>localhost:\/\/zabbix<\/strong>&#8220; oder von einem entfernten Rechner die Adresse &#8222;<strong><a rel=\"noreferrer noopener\" href=\"http:\/\/ip-adresse\/zabbix\" target=\"_blank\">http:\/\/ip-adresse\/zabbix<\/a><\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-3-1024x576.jpg\" alt=\"\" class=\"wp-image-2674\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Unter Debian m\u00fcssen wir erst \u00fcber die Paket-Verwaltung das Paket &#8222;<strong>locales-all<\/strong>&#8220; installieren und den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg-reconfigure locales<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">ausf\u00fchren &#8211; wird der Befehl nicht gefunden:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/sbin\/depkg-reconfigure locales<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt starten wir den Server neu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart apache2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend wird die Seite im Browser neu geladen &#8211; anschlie\u00dfend k\u00f6nnen wir auch die Sprache anpassen &#8211; etwa Deutsch nat\u00fcrlich:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-4-1024x576.jpg\" alt=\"\" class=\"wp-image-2675\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-4-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-4-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-4-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-4-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-4.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sind Sie bei der Datenbank angelangt, m\u00fcssen Sie eventuell die Datenbank und das Passwort anpassen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-5-1024x576.jpg\" alt=\"\" class=\"wp-image-2676\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-5-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-5-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-5-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-5-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-5.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Weiter geht es mit einer Bezeichnung f\u00fcr den Server &#8211; wichtig auch die Zeitzone anpassen. Zuletzt loggen Sie sich mit dem Benutzer &#8222;<strong>Admin<\/strong>&#8220; und dem Passwort &#8222;<strong>zabbix<\/strong>&#8220; ein:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-6-1024x576.jpg\" alt=\"\" class=\"wp-image-2678\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-6-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-6-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-6-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-6-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-6.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bevor Sie sich auf etwas anderes st\u00fcrzen, sollten Sie das Passwort des Administrators wechseln &#8211; dies gelingt links \u00fcber das Men\u00fc &#8222;<em>Benutzereinstellungen \u2192 Profil<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-7-1024x576.jpg\" alt=\"\" class=\"wp-image-2679\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-7-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-7-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-7-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-7-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-7.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Es kann sein, das Zabbix einige Sekunden ben\u00f6tigt, bis das Passwort im System aktualisiert wurde &#8211; es kann also dauern, bis Sie sich das n\u00e4chste Mal einloggen k\u00f6nnen. Unter &#8222;<em>\u00dcberwachung \u2192 Hosts<\/em>&#8220; finden wir jetzt als ersten Eintrag unseren Zabbix-Server:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-8-1024x576.jpg\" alt=\"\" class=\"wp-image-2680\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-8-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-8-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-8-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-8-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-8.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Die Zabbix-Komponenten<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Bevor wir uns jetzt an die Arbeit mit Zabbix machen, werden wir uns mit dem Drumherum ein wenig besch\u00e4ftigen. Was kann Zabbix eigentlich \u00fcberwachen?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Computer und Hardware wie nat\u00fcrlich auch Switches<\/li>\n\n\n\n<li>Sensoren<\/li>\n\n\n\n<li>Industrielle Hardware<\/li>\n\n\n\n<li>Software, wie etwa Datenbanken und Webserver, Services<\/li>\n\n\n\n<li>Logfiles<\/li>\n\n\n\n<li>Virtuelle Maschinen, wie etwa VMWare, Docker, Podman<\/li>\n\n\n\n<li>Cloud<\/li>\n\n\n\n<li>Belegung von Dateisystemen und Verzeichnissen<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Dies ist aber nur eine grobe Auflistung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Zabbix besteht aus mehreren Komponenten:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Zabbix-Server<\/strong>&nbsp;&#8211; dieser sammelt Daten, verarbeitet sie und speichert diese in einer Datenbank<\/li>\n\n\n\n<li><strong>Zabbix-Frontend<\/strong>&nbsp;&#8211; dieses l\u00e4sst Einstellungen am Zabbix-Server vornehmen und pr\u00e4sentiert die Daten grafisch<\/li>\n\n\n\n<li><strong>Zabbix-Proxys<\/strong>&nbsp;&#8211; in gro\u00dfen Umgebungen sind Proxys vorteilhaft &#8211; sie k\u00f6nnen zahlreiche Aufgaben des Servers \u00fcbernehmen, etwa das Sammeln und Verarbeiten von Daten &#8211; diese werden anschlie\u00dfend dem Server \u00fcbergeben<\/li>\n\n\n\n<li><strong>Zabbix-Agents<\/strong>&nbsp;&#8211; diese werden auf Clients &#8211; etwa den zu \u00fcberwachenden Systemen installiert, sie k\u00f6nnen Daten zum Zabbix-Server senden, oder der Server kann \u00fcber diese die Clients abfragen<\/li>\n\n\n\n<li><strong>Zabbix-Java-Gateway<\/strong>&nbsp;&#8211; zum \u00dcberwachen von Java-Applikationen<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Der&nbsp;<strong>Zabbix-Server<\/strong>&nbsp;(<em>diesen haben wir im ersten Beitrag installiert<\/em>) und der Proxy kann auf allen auf UNIX \/ Linux basierenden Betriebssystemen installiert werden &#8211; nicht aber auf Windows. Das&nbsp;<strong>Frontend<\/strong>&nbsp;kann wiederum etwa auch unter Windows auf einem Webserver installiert werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wichtig sind vor allem die genutzten Ports &#8211; je nach Aufgabe m\u00fcssen folgende Ports (<em>TCP<\/em>) durch die Firewall ge\u00f6ffnet werden:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Zabbix-Agent (<em>1 und 2<\/em>) h\u00f6ren im passiven Modus (<em>auf den Clients<\/em>) auf dem Port&nbsp;<strong>10050<\/strong><\/li>\n\n\n\n<li>Server und Proxy warten auf dem Port&nbsp;<strong>10051<\/strong>&nbsp;auf aktive Eingaben von den Agents<\/li>\n\n\n\n<li>Der Java-Gateway wartet auf dem Port&nbsp;<strong>10052<\/strong><\/li>\n\n\n\n<li>Der Zabbix-Web-Service wartet auf Port&nbsp;<strong>10053<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Zabbix-Server und Proxy k\u00f6nnen in unterschiedlichen Versionen zusammenarbeiten. Der Unterschied darf jedoch nicht zu gro\u00df sein &#8211; Server und Proxy m\u00fcssen in derselben Major-Version installiert sein. So wird etwa ein Proxy in der Version 6.0.0 und der Server in der Version 6.0.2 problemlos funktionieren &#8211; aber ein Proxy in der Version 5.0.0 und der Server in Version 6.0.0 nicht.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Zu \u00fcberwachende Hosts \/ Clients hinzuf\u00fcgen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Wie gesagt &#8211; statische IP-Adressen sind vom Vorteil. Die IP-Adresse am aktuellen Rechner erfagen Sie am Terminal mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip a<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nach erstem Grundwissen f\u00fcgen wir jetzt einen ersten Rechner im Netzwerk hinzu. Da wir ein Betriebssystem installiert haben, k\u00f6nnen wir auf diesen (<em>Linux, macOS, Solaris, UNIX, Windows, &#8230;<\/em>), k\u00f6nnen wir auf diesen die Zabbix-Agents installieren &#8211; wie bei der Server-Installation das Zabbix-Repository einf\u00fcgen und den Zabbix-Agenten installieren. Unter Debian etwa gleich auf dem Terminal mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install zabbix-agent<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt haben wir auf dem ersten Host &#8211; eben einem von Zabbix \u00fcberwachten Rechner den Agenten installiert. Diesen gilt es jetzt zu konfigurieren. Dies gelingt nat\u00fcrlich als Administrator auf dem Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/zabbix-\/zabbix-agent.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hier finden wir ab Zeile 105 die passenden Eintr\u00e4ge:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>### Option: Server\n#\tList of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies.\n#\tIncoming connections will be accepted only from the hosts listed here.\n#\tIf IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally\n#\tand '::\/0' will allow any IPv4 or IPv6 address.\n#\t'0.0.0.0\/0' can be used to allow any IPv4 address.\n#\tExample: Server=127.0.0.1,192.168.1.0\/24,::1,2001:db8::\/32,zabbix.example.com\n#\n# Mandatory: yes, if StartAgents is not explicitly set to 0\n# Default:\n# Server=\n\nServer=127.0.0.1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Die letzte Zeile gilt es jetzt anzupassen &#8211; hier geben wir die IP-Adresse des Servers an, im Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Server=192.168.178.21<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Auf dem Server gilt es nat\u00fcrlich die entsprechenden Ports (<em>siehe obiger Beitrag<\/em>) zu \u00f6ffnen. Auf dem Client den Port &#8222;<strong>10050<\/strong>&#8222;. Anschlie\u00dfend gehen wir auf den Server und erstellen im Men\u00fc unter &#8222;<em>Konfiguration \u2192 Hostgruppen<\/em>&#8220; eine neue Gruppe:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-10-1024x576.jpg\" alt=\"\" class=\"wp-image-2682\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-10-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-10-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-10-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-10-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-10.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Klicken Sie auf den Schalter &#8222;<strong>Neue Hostgruppe<\/strong>&#8220; rechts oben. Hostgruppen dienen dazu, Hosts in Gruppen zusammenzufassen, so kann man etwa normale Rechner in eine Gruppe legen, Server f\u00fcr Datenbanken und Webserver in eigene Gruppen legen &#8211; um einfacher die gerade gew\u00fcnschten Rechner schneller zu finden. Ohne eine Hostgruppe l\u00e4sst sich kein einzelner Host anlegen. Ich nenne die erste Gruppe jetzt einfach einmal &#8222;<strong>Rechner<\/strong>&#8220; &#8211; diese sind dann in der \u00dcbersicht der Hostgruppen zu finden:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-11-1024x576.jpg\" alt=\"\" class=\"wp-image-2683\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-11-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-11-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-11-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-11-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-11.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Haben wir eine erste Hostgruppe erstellt, lassen sich auch einzelne Hosts erstellen &#8211; dies gelingt im Men\u00fc unter &#8222;<em>Konfiguration \u2192 Hosts<\/em>&#8222;. Klicken Sie rechts oben auf den Schalter &#8222;<strong>Neuer Host<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-12-1024x576.jpg\" alt=\"\" class=\"wp-image-2684\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-12-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-12-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-12-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-12-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-12.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alle Felder mit Sternchen m\u00fcssen ausgef\u00fcllt werden! Zu Beginn der Hostname des Hosts &#8211; diesen erfragen Sie am Terminal mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostname<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Unter &#8222;<strong>Sichtbarer Name<\/strong>&#8220; k\u00f6nnen Sie wie gew\u00fcnscht vorgehen &#8211; standardm\u00e4\u00dfig ist es wieder der Hostname &#8211; Sie k\u00f6nnen die Bezeichnung aber v\u00f6llig frei vergeben.<br>Wichtig ist jetzt die Vorlagen (<em>Template<\/em>) &#8211; klicken Sie rechts auf den Schalter &#8222;<strong>Ausw\u00e4hlen<\/strong>&#8220; und w\u00e4hlen &#8222;<em>Templates \u2192 Linux by Zabbix-Agent<\/em>&#8220; (im Falle von Linux nat\u00fcrlich).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend l\u00e4sst sich unter &#8222;<strong>Hostgruppen<\/strong>&#8220; die zuvor erstellte Gruppe mit einem Klick auf &#8222;<strong>Ausw\u00e4hlen<\/strong>&#8220; benennen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine der wichtigsten Angaben &#8211; die &#8222;<strong>Schnittstelle<\/strong>&#8220; (<em>das Interface<\/em>), geben Sie die IP-Adresse oder den DNS-Namen an und klicken dahinter auf die Passende Schaltfl\u00e4che.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend k\u00f6nnen Sie noch eine Beschreibung angeben. Es ist kein Muss &#8211; aber klicken Sie oben auf den Reiter &#8222;<em>Marker (Tags)<\/em>&#8220; &#8211; mittels Markern l\u00e4sst sich sp\u00e4ter viel einfacher arbeiten &#8211; glauben Sie mir, vor allem, wenn es um viele Rechner geht:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-13-1024x576.jpg\" alt=\"\" class=\"wp-image-2686\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-13-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-13-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-13-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-13-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-13.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Einen Wert m\u00fcssen Sie nicht vergeben, anschlie\u00dfend klicken Sie unten links auf den Schalter &#8222;<strong>Hinzuf\u00fcgen<\/strong>&#8222;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt finden Sie den erstellten neuen Host in der \u00dcbersicht der Hosts, anschlie\u00dfend \u00f6ffnen Sie das Men\u00fc &#8222;<em>\u00dcberwachung \u2192 Hosts<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-14-1024x576.jpg\" alt=\"\" class=\"wp-image-2687\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-14-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-14-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-14-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-14-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-14.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hier finden Sie jetzt alle \u00fcberwachte Hosts &#8211; egal, ob diese erreichbar sind oder nicht. Zu Beginn wird der Status des neuen Hosts (<strong>ZBX<\/strong>) ausgegraut sein &#8211; etwa nach einer Minute sollte das Icon jedoch gr\u00fcn werden &#8211; alles ist in Ordnung. \u00d6ffnen Sie das Men\u00fc &#8222;<em>\u00dcberwachung \u2192 Probleme<\/em>&#8222;, sehen Sie nicht erreichbare Hosts und andere Probleme die durch das genutzte Template \u00fcberwacht werden. Die Erreichbarkeit zeigt sich etwa auch unter allen Hosts &#8211; hier habe ich etwa den Agenten auf dem Host gestoppt:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-15-1024x576.jpg\" alt=\"\" class=\"wp-image-2688\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-15-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-15-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-15-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-15-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-15.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Klicken Sie in der \u00dcbersicht auf den Schalter &#8222;<strong>Diagramme<\/strong>&#8222;, erhalten Sie bereits zahlreiche Informationen \u00fcber den Rechner und das System:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-16-1024x576.jpg\" alt=\"\" class=\"wp-image-2691\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-16-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-16-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-16-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-16-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-16.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir dem Host nat\u00fcrlich zahlreiche weitere Informationen entlocken. Dazu klicken Sie im Men\u00fc &#8222;<em>Konfiguration \u2192 Hosts<\/em>&#8220; direkt auf den Host und f\u00fcgen weitere Vorlagen hinzu, alternativ erstellen Sie Vorlagen selbst. \u00d6ffnen wir einmal das Men\u00fc &#8222;<em>Konfiguration \u2192 Hosts<\/em>&#8220; und klicken in der Zeile des Hosts auf den Schalter &#8222;<strong>Datenpunkte<\/strong>&#8220; und hier rechts oben auf den Schalter &#8222;<strong>Neuer Datenpunkt<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-17-1024x576.jpg\" alt=\"\" class=\"wp-image-2692\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-17-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-17-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-17-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-17-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-17.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir wechseln auf den Reiter &#8222;<em>Marker<\/em>&#8220; und geben eine Beschreibung an &#8211; etwa &#8222;<strong>Anwendung \/ ICMP<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-18-1024x576.jpg\" alt=\"\" class=\"wp-image-2693\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-18-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-18-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-18-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-18-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-18.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir klicken auf &#8222;<strong>Verwenden<\/strong>&#8220; und schon ist die neue Abfrage aktiv.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sehen wir uns zur Entspannung einmal an, wann uns Zabbix nun \u00fcber was informieren wird (<em>im Men\u00fc &#8222;\u00dcberwachung \u2192 Probleme&#8220;<\/em>) &#8211; siehe etwa der Neustart des Zabbix-Servers:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-19-1024x576.jpg\" alt=\"\" class=\"wp-image-2694\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-19-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-19-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-19-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-19-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-19.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Entsprechende Meldungen sehen wir nat\u00fcrlich auch in der \u00dcbersicht im Men\u00fc &#8222;<em>\u00dcberwachung \u2192 Hosts<\/em>&#8222;. Klicken Sie im Men\u00fc &#8222;<em>Konfiguration \u2192 Hosts<\/em>&#8220; in der Zeile des jeweiligen Hosts auf den Eintrag &#8222;<strong>Ausl\u00f6ser<\/strong>&#8222;, sehen Sie die einzelnen Ausl\u00f6ser (<em>Trigger<\/em>):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-20-1024x576.jpg\" alt=\"\" class=\"wp-image-2695\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-20-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-20-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-20-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-20-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabbix-20.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Links sehen Sie auch die Farben, in welchen die Probleme gekennzeichnet werden.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Templates \/ Vorlagen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Zabbix besitzt bereits in der Standardinstallation Vorlagen f\u00fcr verschiedene Betriebssysteme, Software und Ger\u00e4te im System integriert. Dies sorgt daf\u00fcr, dass man nicht f\u00fcr jeden Host selbst Tests erstellen muss.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Um uns die Vorlagen anzusehen, gehen wir unter im Men\u00fc nach &#8222;<em>Konfiguration \u2192 Hosts<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1024x576.jpeg\" alt=\"\" class=\"wp-image-2696\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir klicken jetzt auf den gew\u00fcnschten Hostnamen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1-1024x576.jpeg\" alt=\"\" class=\"wp-image-2697\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-1.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hier klicken wir wieder unter den Vorlagen \/ Templates aus den Schalter &#8222;<strong>Ausw\u00e4hlen<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-2-1024x576.jpeg\" alt=\"\" class=\"wp-image-2698\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-2-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-2-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-2-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-2-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-2.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Haben wir jetzt bereits mehrere Hosts, k\u00f6nnen wir nach dem gew\u00fcnschten suchen, alternativ klicken wir auf den Schalter &#8222;<strong>Ausw\u00e4hlen<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-3-1024x576.jpeg\" alt=\"\" class=\"wp-image-2699\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-3-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-3-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-3-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-3-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-3.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hier k\u00f6nnen wir jetzt aus zahlreichen Vorlagen ausw\u00e4hlen &#8211; nehmen wir beispielsweise &#8222;<strong>Templates \/ Operating Systems<\/strong>&#8222;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-4-1024x576.jpeg\" alt=\"\" class=\"wp-image-2700\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-4-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-4-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-4-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-4-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-4.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hier finden wir Vorlagen f\u00fcr unterschiedliche Betriebssysteme, Windows, Linux &#8211; unter &#8222;<strong>Templates<\/strong>&#8220; (<em>Vorlagen<\/em>) selbst, zeigen sich wiederum alle Vorlagen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-5-1024x576.jpeg\" alt=\"\" class=\"wp-image-2701\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-5-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-5-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-5-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-5-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-5.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nat\u00fcrlich ist auch die Suche hilfreich. Ein Klick auf das jeweilige Template und dies ist schon aktiv:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-6-1024x576.jpeg\" alt=\"\" class=\"wp-image-2702\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-6-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-6-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-6-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-6-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-6.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Weitere Vorlagen \/ Templates<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Man findet nat\u00fcrlich nicht f\u00fcr alles bereits vorinstallierte Vorlagen, das System w\u00fcrde platzen. Unter\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.zabbix.com\/integrations\" target=\"_blank\">Zabbix &#8211; Templates<\/a>\u00a0finden wir zahlreiche weitere:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-7-1024x576.jpeg\" alt=\"\" class=\"wp-image-2703\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-7-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-7-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-7-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-7-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-7.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So gibt es etwa auch eine Vorlage f\u00fcr Dienste unter Linux &#8211; Systemd-Dienste. Diese Vorlage \u00fcberwacht, ob auch alle Dienste, die starten sollten, gestartet wurden und laufen &#8211; findet sich etwa unter\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.zabbix.com\/integrations\/systemd\" target=\"_blank\">Zabbix &#8211; Systemd<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-8-1024x576.jpeg\" alt=\"\" class=\"wp-image-2705\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-8-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-8-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-8-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-8-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-8.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir klicken auf den Link f\u00fcr die YAML-Datei &#8211; dieser f\u00fchrt uns zur Konfigurationsdatei:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-10-1024x576.jpeg\" alt=\"\" class=\"wp-image-2706\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-10-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-10-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-10-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-10-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-10.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir kopieren den Text und erstellen uns eine Textdatei nach gleichen Namen &#8211; hier etwa &#8222;<strong>template_app_systemd.yaml<\/strong>&#8222;, in diese kopieren wir den kopierten Text. In Zabbix \u00f6ffnen wir das Men\u00fc &#8222;<em>Konfiguration \u2192 Vorlagen<\/em>&#8220; und klicken rechts oben auf den Schalter &#8222;<strong>Importieren<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-111-1024x576.jpeg\" alt=\"\" class=\"wp-image-2707\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-111-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-111-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-111-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-111-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-111.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir w\u00e4hlen die zuvor erstellte Datei und klicken auf den Schalter &#8222;<strong>Importieren<\/strong>&#8220; &#8211; die Software importiert die Vorlage, ist alles gr\u00fcn &#8211; passt. In der Konfiguration des Hosts k\u00f6nnen wir das neue Template jetzt integrieren:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-11-1024x576.jpeg\" alt=\"\" class=\"wp-image-2708\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-11-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-11-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-11-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-11-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-11.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Auf dem zu \u00fcberwachenden Host, aktualisieren wir am Terminal die Einstellungen, so kommen die Daten schneller:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemd restart zabbix-agent2.service<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir im Men\u00fc unter &#8222;<em>Monitoring \u2192 Letzte Daten<\/em>&#8220; den Host angeben und auf die ersten Datenwarten.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Userparameter in Zabbix<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Mit Userparametern k\u00f6nnen wir auf einem Host jeden Befehl ausf\u00fchren &#8211; etwa um eigene Abfragen zu erstellen. Auf dem Server gilt es dann f\u00fcr diese Abfrage wieder ein eigenes Template zu erstellen. In diesem Beispiel werden wir noch kein eigenes Template erstellen, wir nutzen einfach ein vorgefertigtes.<br>Dazu nutzen wir das APT-Update-Monitoring von&nbsp;<a href=\"https:\/\/github.com\/theranger\/zabbix-apt\" target=\"_blank\" rel=\"noreferrer noopener\">Zabbix-APT-Monitoring<\/a>. Dieses Template \u00fcberwacht alle darauf konfigurierten Hosts, ob normale und Sicherheitsupdates installiert sind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dazu laden wir uns erst einmal das Template herunter (<em><strong>apt-updates.xml<\/strong><\/em>) und importieren dieses \u00fcber die Templates:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-12-1024x576.jpeg\" alt=\"\" class=\"wp-image-2709\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-12-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-12-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-12-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-12-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-12.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Schon zeigt sich das neue Template in Zabbix. Bevor wir dieses jetzt auf einen oder mehrere Hosts loslassen, m\u00fcssen wir den Userparameter direkt auf dem Host erstellen. Dabei handelt es sich um eine Datei unter &#8222;<em>\/etc\/zabbix\/zabbix_agent2.d\/<\/em>&#8222;. Auch hier k\u00f6nnen wir die Datei einfach herunterladen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Treat security and regular updates differently\n# This is just a simulation, that can be run under zabbix user\n# Since updating packages lists (apt-get update) requires root user,\n# use APT::Periodic or some other functionality for that\nUserParameter=apt.security,apt-get -s upgrade | grep -ci ^inst.*security | tr -d '\\n'\nUserParameter=apt.updates,apt-get -s upgrade | grep -iPc '^Inst((?!security).)*$' | tr -d '\\n'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In diesem Fall nennt sich die Datei einfach &#8222;<strong>apt.conf<\/strong>&#8222;, diese speichern wir auf dem Host im genannten Verzeichnis. Und schon k\u00f6nnen wir dem Host das neue Template zuweisen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-14-1024x576.jpeg\" alt=\"\" class=\"wp-image-2710\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-14-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-14-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-14-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-14-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-14.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Damit wir schneller an Daten kommen, starten wir den Zabbix-Server und den jeweiligen Agent neu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart zabbix-agent2\nsystemctl restart zabbix-server<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-15-1024x576.jpeg\" alt=\"\" class=\"wp-image-2711\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-15-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-15-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-15-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-15-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-15.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sobald Daten eintreffen, zeigen sich diese (<em>im Bild oben sind nur noch keine da<\/em>).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grafana in Zabbix<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Man muss sagen, die Info-Grafiken von Zabbix sind nicht unbedingt die sch\u00f6nsten und aussagekr\u00e4ftigsten:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-16-1024x576.jpeg\" alt=\"\" class=\"wp-image-2712\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-16-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-16-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-16-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-16-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-16.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr die sch\u00f6nen und \u00fcbersichtlichen Grafiken gibt es Grafana &#8211; besser gesagt das Grafana-Plugin f\u00fcr Zabbix. Dieses installieren wir jetzt.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>install apt-transport-https software-properties-common<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -q -O \/usr\/share\/keyrings\/grafana.key https:\/\/apt.grafana.com\/gpg.key<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;signed-by=\/usr\/share\/keyrings\/grafana.key] https:\/\/apt.grafana.com stable main\" | sudo tee -a \/etc\/apt\/sources.list.d\/grafana.list<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir Grafana installieren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install grafana<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir aktivieren Grafana:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl daemon-reload\nsystemctl start grafana-server\nsystemctl enable grafana-server.service<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend k\u00f6nnen wir Grafana im Webbrowser \u00fcber den Port 3000 \u00f6ffnen &#8211; Beispiel &#8222;<em>localhost:3000<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-17-1024x576.jpeg\" alt=\"\" class=\"wp-image-2713\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-17-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-17-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-17-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-17-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-17.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Zum Einloggen nutzen wir den Usernamen &#8222;<strong>admin<\/strong>&#8220; und das Passwort &#8222;<strong>admin<\/strong>&#8222;, dieses gilt es gleich zu \u00e4ndern &#8211; anschlie\u00dfend landet man im Dashboard:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-18-1024x576.jpeg\" alt=\"\" class=\"wp-image-2714\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-18-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-18-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-18-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-18-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-18.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt haben wir Grafana installiert &#8211; wir m\u00fcssen noch daf\u00fcr sorgen das Grafana mit Zabbix kommunizieren kann &#8211; hierzu installieren wir \u00fcber das Terminal das Plugin:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grafana-cli plugins install alexanderzobnin-zabbix-app<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend starten wir Grafana neu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart grafana-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir \u00f6ffnen die Einstellungen von Grafana und suchen uns das Zabbix-Plugin:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-19-1024x576.jpeg\" alt=\"\" class=\"wp-image-2715\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-19-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-19-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-19-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-19-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-19.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Als Erstes aktivieren wir das Plugin:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-20-1024x576.jpeg\" alt=\"\" class=\"wp-image-2716\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-20-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-20-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-20-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-20-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-20.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt wechseln wir links in den Einstellungen auf &#8222;<em>Data source<\/em>&#8220; und klicken auf den Schalter &#8222;<strong>Add data source<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-22-1024x576.jpeg\" alt=\"\" class=\"wp-image-2717\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-22-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-22-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-22-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-22-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-22.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Scrollen Sie in den Eintr\u00e4gen ganz hinunter zu &#8222;<em>Zabbix<\/em>&#8220; und klicken darauf:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-23-1024x576.jpeg\" alt=\"\" class=\"wp-image-2718\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-23-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-23-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-23-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-23-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-23.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Unter &#8222;<strong>HTTP &#8211; URL<\/strong>&#8220; geben Sie &#8222;<strong><a href=\"http:\/\/localhost\/zabbix\/api_jsonrpc.php\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/localhost\/zabbix\/api_jsonrpc.php<\/a><\/strong>&#8220; an. Bis zu &#8222;Zabbix API details&#8220; k\u00f6nnen Sie die Einstellungen belassen, wie sie sind &#8211; dann geben Sie den Login f\u00fcr Zabbix ein, ganz unten klicken Sie anschlie\u00dfend auf den Schalter &#8222;<strong>Save &amp; test<\/strong>&#8220; &#8211; fertig.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt \u00f6ffnen wir die Dashboards und klicken auf &#8222;<em>Import<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-24-1024x576.jpeg\" alt=\"\" class=\"wp-image-2719\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-24-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-24-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-24-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-24-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-24.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir k\u00f6nnten hier jetzt selbst Dashboards erstellen, dies sehen wir uns etwas sp\u00e4ter an &#8211; es gibt auch vorgefertigte Dashboars. Diese finden Sie unter\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/grafana.com\/grafana\/dashboards\/\" target=\"_blank\">Grafana Dashboards<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-25-1024x576.jpeg\" alt=\"\" class=\"wp-image-2720\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-25-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-25-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-25-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-25-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-25.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Dashboards sind nach Datenquellen sortiert &#8211; w\u00e4hlen Sie \u00fcber den Schalter links oben erst einmal &#8222;<em>Zabbix<\/em>&#8222;, ich nehme als Beispiel das Dashboard &#8222;<strong>Performance Ambiente Zabbix<\/strong>&#8220; &#8211; es zeigt die Daten des Zabbix-Servers selbst:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-26-1024x576.jpeg\" alt=\"\" class=\"wp-image-2721\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-26-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-26-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-26-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-26-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-26.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hier l\u00e4sst sich jetzt die ID des Dashboards kopieren oder die JSON-Datei herunterladen &#8211; beides integrieren Sie in Grafana. Anschlie\u00dfend w\u00e4hlen Sie die Datenquelle und klicken auf &#8222;<strong>Import<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-27-1024x576.jpeg\" alt=\"\" class=\"wp-image-2722\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-27-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-27-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-27-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-27-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-27.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt landen Sie direkt im Dashboard &#8211; dieses geh\u00f6rt jetzt noch an den Server angepasst &#8211; klicken Sie auf jedem Element auf den kleinen Schalter und w\u00e4hlen &#8222;<em>Edit<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-28-1024x576.jpeg\" alt=\"\" class=\"wp-image-2724\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-28-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-28-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-28-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-28-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-28.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In den Feldern geben Sie jetzt die gew\u00fcnschten Daten an &#8211; Host-Gruppe, Hostname, Item und Tag &#8211; Tipp, klicken Sie einfach in das Feld und w\u00e4hlen die gew\u00fcnschten Daten an \/ w\u00e4hlen aus. Rechts finden Sie dann die Einstellungen. Am Ende k\u00f6nnte die Geschichte so aussehen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-31-1024x576.jpeg\" alt=\"\" class=\"wp-image-2726\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-31-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-31-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-31-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-31-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-31.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In den Feldern geben Sie jetzt die gew\u00fcnschten Daten an &#8211; Host-Gruppe, Hostname, Item und Tag &#8211; Tipp, klicken Sie einfach in das Feld und w\u00e4hlen die gew\u00fcnschten Daten an \/ w\u00e4hlen aus. Rechts finden Sie dann die Einstellungen. Am Ende k\u00f6nnte die Geschichte so aussehen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-333-1024x576.jpeg\" alt=\"\" class=\"wp-image-2727\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-333-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-333-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-333-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-333-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/zabb-333.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Da ich hier selbst keine Proxys nutze, fehlen nat\u00fcrlich Daten &#8211; ungew\u00fcnschte Elemente lassen sich nat\u00fcrlich l\u00f6schen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Auf f\u00fcr Grafana gibt es unendlich viele Dashboards f\u00fcr alles M\u00f6gliche.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nichts ist schlimmer als wenn etwas im Netzwerk nicht funktioniert! Ist es das Netzwerk selbst, ein Computer, eine Software, ein Switch &#8211; oder was auch immer? Vor allem in einem Unternehmen &#8211; der Admin wird angerufen &#8211; etwas funktioniert nicht. In der Firma kann nicht gearbeitet werden, der Admin muss erst ran. W\u00e4re es nicht [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2712,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,72],"tags":[39,37],"class_list":["post-2665","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-netzwerk","category-sicherheit","tag-netzwerk","tag-sicherheit"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/2665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=2665"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/2665\/revisions"}],"predecessor-version":[{"id":2728,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/2665\/revisions\/2728"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/2712"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}