Skip to content

Prometheus-AutoStack: A streamlined tool to automate the deployment and configuration of Prometheus, Node Exporter, and MySQL Exporter. Simplify your monitoring setup with a single command.

License

Notifications You must be signed in to change notification settings

mehmetaliuysal/prometheus-autostack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-autostack

Prometheus-AutoStack: A streamlined tool to automate the deployment and configuration of Prometheus, Node Exporter, and MySQL Exporter. Simplify your monitoring setup with a single command.

Prerequisites

  • A Linux-based system
  • Internet access to download packages from GitHub
  • Permission to execute system commands (typically requires sudo privileges)

For Python:

  • Python 3.x installed
  • Required Python libraries (specified in a requirements.txt file)

For PHP:

  • PHP installed
  • curl extension enabled in PHP

Installation

  1. Clone the repository:

    git clone https://github.com/mehmetaliuysal/prometheus-autostack
    cd prometheus-autostack
  2. Depending on your language choice:

    For Python:

    pip install -r requirements.txt
    chmod +x prometheus_autosetup.py
    ./prometheus_autosetup.py

    For PHP:

    chmod +x prometheus_autosetup.php
    ./prometheus_autosetup.php
  3. Follow the on-screen instructions to select which tools you want to install.

Features

  • Automatic fetching of the latest versions of Prometheus, Node Exporter, and MySQL Exporter.
  • Easy-to-follow CLI interface for a seamless setup experience.
  • Custom MySQL user creation for the MySQL Exporter.

Troubleshooting

If you encounter any errors:

  • Ensure you have the necessary permissions to execute system commands.
  • Check your internet connection to ensure packages can be downloaded.
  • Depending on your language choice, ensure the required dependencies are installed or the curl extension is enabled in your PHP configuration.

Contributions

Feel free to fork the repository and submit pull requests for any improvements or fixes you'd like to add.

License

This tool is open-source and free to use under the MIT License.

About

Prometheus-AutoStack: A streamlined tool to automate the deployment and configuration of Prometheus, Node Exporter, and MySQL Exporter. Simplify your monitoring setup with a single command.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published