Installation von Grafana und Prometheus auf Ubuntu 24.04

 

 

In diesem Tutorial führen wir Sie durch die Installation von Grafana und Prometheus auf Ihrem Ubuntu 24.04 VPS-Server. Grafana ist ein leistungsfähiges Open-Source-Tool zur Visualisierung und Analyse von Metriken, während Prometheus ein Open-Source-Monitoring- und Alerting-Toolkit ist. Zusammen bieten sie eine umfassende Lösung zur Überwachung und Analyse Ihrer System- und Anwendungsleistung.

Schritt 1: Prometheus installieren

  1. Fügen Sie das Prometheus-Repository hinzu:

    sudo apt update
    sudo apt install -y curl gnupg2 software-properties-common
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
    echo \
      "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
      $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    sudo apt update
  2. Installieren Sie Prometheus:

    sudo apt install prometheus -y
  3. Starten und aktivieren Sie den Prometheus-Dienst:

    sudo systemctl start prometheus
    sudo systemctl enable prometheus
  4. Überprüfen Sie den Status von Prometheus:

    sudo systemctl status prometheus

Schritt 2: Grafana installieren

  1. Fügen Sie das Grafana-Repository hinzu:

    sudo apt-get install -y adduser libfontconfig1
    wget https://dl.grafana.com/oss/release/grafana_10.1.0_amd64.deb
    sudo dpkg -i grafana_10.1.0_amd64.deb
  2. Starten und aktivieren Sie den Grafana-Dienst:

    sudo systemctl daemon-reload
    sudo systemctl start grafana-server
    sudo systemctl enable grafana-server
  3. Überprüfen Sie den Status von Grafana:

    sudo systemctl status grafana-server

Schritt 3: Prometheus als Datenquelle in Grafana hinzufügen

  1. Öffnen Sie Ihren Webbrowser und navigieren Sie zu http://Ihre_Server_IP:3000. Melden Sie sich mit dem Standardbenutzernamen admin und dem Passwort admin an.

  2. Klicken Sie im linken Menü auf "Configuration" (Zahnradsymbol) und dann auf "Data Sources".

  3. Klicken Sie auf "Add data source" und wählen Sie "Prometheus" aus.

  4. Geben Sie im Feld "URL" die Adresse http://localhost:9090 ein.

  5. Klicken Sie auf "Save & Test".

Abschluss

Sie haben nun erfolgreich Grafana und Prometheus auf Ihrem Ubuntu 24.04 Server installiert und konfiguriert. Sie können nun Grafana verwenden, um die von Prometheus gesammelten Metriken zu visualisieren und zu analysieren.



Windows VPS

Windows VPS UK

Windows VPS

VPS Windows

Serwer VPS Windows

VPS Windows Deutschland

Windows VPS Hosting

VPS Windows España

Windows VPS Nederland

VPS Windows Italia

VPS Windows Portugal

VPS Windows Россия

VPS Windows Украина

VPS Windows 日本

VPS Windows Sverige

VPS Windows Norge

VPS Windows عربى

VPS Windows Türkiye

Remote Desktop Services (RDS)

RDS CAL (Client Access License)

Remote Desktop VPS

Keywords: windows vps uk, windows vps, uk windows vps, windows vps hosting uk, vps windows server, uk vps windows, vps windows, servidor vps windows, vps uk windows, vps with windows, virtual private server windows, windows virtual private server, windows vps server uk, vps for windows, servidores vps windows, vps windows uk, windows vps hosting, vps windows hosting, windows vps server, windows virtual private servers, vps on windows, vps windows servers, cheap windows vps uk, windowsvps, windows desktop vps, buy vps windows, windows server vps, windows 10 vps uk, rds services, rds cal, remote desktop services, remote desktop hosting

#windowsvps #vpshosting #ukvps #virtualserver #windowsvpsuk #vpsserver #hostingvps #cloudvps #windowsvpshosting #cheapvps #vpswithwindows #windowsserver #servervps #vpssolutions #vpswindows #rdscal #remotedesktop #remotedesktopvps #rds #windowsrds

vps windows
  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

Update des ISPConfig Perfect Servers von Ubuntu 22.04 auf Ubuntu 24.04

  Aktualisierung des ISPConfig Perfect Servers von Ubuntu 22.04 auf 24.04 Dieser Leitfaden...

Upgrade von Ubuntu 22.04 auf 24.04

    Diese Anleitung führt Sie durch den Prozess des Upgrades eines Ubuntu 22.04 (Jammy...

Installation von Syncthing auf AlmaLinux 9

    Syncthing ist eine Open-Source-Software zur kontinuierlichen Dateisynchronisierung, die...

Installation von Plex Media Server auf Debian 12

    Plex Media Server ist eine leistungsstarke Anwendung, mit der Sie Ihre Medienbibliothek...

Installation von WonderCMS auf AlmaLinux 9

    WonderCMS ist ein einfaches und leichtgewichtiges Content-Management-System (CMS), das...