Direkt zum Hauptinhalt

Prometheus Exporter

Grundinstallation für Monitoring mit Prometheus und Grafana.

Base Exporter:

#!/bin/bash
apt-get update && apt-get upgrade -y

#Base Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter

Exporter for Apache Webserver:

#!/bin/bash
apt-get update && apt-get upgrade -y

#Apache Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter prometheus-apache-exporter

Exporter for Mysql Datenbankserver:

#!/bin/bash
apt-get update && apt-get upgrade -y

#Mysql Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter prometheus-mysqld-exporter

Exporter for Redis Datenbankserver:

#!/bin/bash
apt-get update && apt-get upgrade -y

#Redis Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter prometheus-redis-exporter

Exporter for IPMI:

#!/bin/bash
apt-get update && apt-get upgrade -y

#Ipmi Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter prometheus-ipmi-exporter

Exporter for NGINX Webserver: 

#!/bin/bash
apt-get update && apt-get upgrade -y

#NGINX Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter prometheus-nginx-exporter

Exporter for PostGRES Datenbankserver: 

#!/bin/bash
apt-get update && apt-get upgrade -y

#PostGRES Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter prometheus-postgres-exporter

Exporter for SNMP: 

#!/bin/bash
apt-get update && apt-get upgrade -y

#SNMP Exporter
apt-get install -y prometheus-node-exporter prometheus-process-exporter prometheus-snmp-exporter