Automation

Monitoring Stack Installation through Automation

These scripts are in the DevOps Automation Scripts repository of Devops Model Organisation in Github along with the tech stack installation scripts. We have written python scripts to install the all required monitoring stack through automation. We aimed to monitor the metrics of the push gateway, jenkins, redpanda, scylla, mysql, haproxy, black box exporter, node exporterand prometheus.

To get to know about stack used for monitoring and their installation manually refer this page Link

Scylla, redpanda, jenkins exposes their metrics by default on a endpoint. So, they doesn’t need exporters to exposes their metrics. we just need to configure the endpoints in the prometheus config file to scrape their metrics.

Monitoring stack: Version
Grafana Mimir Latest
Grafana Latest
Prometheus Latest
Node exporter Latest
Prometheus push gateway Latest
Haproxy exporter Latest
Black Box exporter Latest
Mysql exporter Latest

How we did it There is a MonitoringSetup.py python file in DevOps Automation Scripts repository to install the whole monitoring stack. It included several functions based on the stack and you need to pass the command line arguments to install the specific stack or whole stack. It checks the command line arguments and install

Change the variables in Configuration FIles/MonstackVaraibles.conf for your project

How to use it