Module monitoring

Source
Expand description

§Monitoring Module

This module provides functionality for setting up a comprehensive monitoring system using Prometheus, Grafana, and Node Exporter. It handles the installation, configuration, and deployment of these tools across different Linux distributions.

Functions§

configure_prometheus
Configures Prometheus with a basic scrape configuration.
install_monitoring_tools
Installs Prometheus and Grafana based on the system’s package manager.
install_node_exporter_from_source
Installs Node Exporter from source.
install_prometheus_from_source
Installs Prometheus from source.
setup_grafana
Sets up and starts the Grafana server.
setup_monitoring
Sets up the monitoring system based on the provided configuration.
setup_node_exporter
Sets up and starts the Node Exporter.