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.
- A Linux-based system
- Internet access to download packages from GitHub
- Permission to execute system commands (typically requires sudo privileges)
- Python 3.x installed
- Required Python libraries (specified in a
requirements.txt
file)
- PHP installed
curl
extension enabled in PHP
-
Clone the repository:
git clone https://github.com/mehmetaliuysal/prometheus-autostack cd prometheus-autostack
-
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
-
Follow the on-screen instructions to select which tools you want to install.
- 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.
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.
Feel free to fork the repository and submit pull requests for any improvements or fixes you'd like to add.
This tool is open-source and free to use under the MIT License.