1.Install MySQL Exporter#curl -s https://api.github.com/repos/prometheus/mysqld_exporter/releases/latest | grep browser_download_url | grep linux-amd64 | cut -d '"' -f 4 | wget -qi -#tar xvf mysqld_exporter*.tar.gz#sudo mv mysqld_exporter-*.linux-amd64/mysqld_exporter /usr/local/bin/#sudo chmod +x /usr/local/bin/mysqld_exporter2.Checking version of mysql...
Showing posts with label prometheues. Show all posts
Showing posts with label prometheues. Show all posts
Thursday, May 23, 2024
Tuesday, May 21, 2024
Prometheus and Grafana : Monitor NGINX
A: nginx configuration1.Expose the stub_status page at /stub_status on port 8080 server { listen 8080; server_name _; location /stub_status { stub_status; ...
Wednesday, November 29, 2023
Prometheus and Grafana : Monitor BIND DNS server
1.Pre-requisites- BIND need to have been build with libxml2 support# named -V | grep libxml22.Installed Bind Prometheus Exporter- Download the latest release of bind_exporter binary:# curl -s https://api.github.com/repos/prometheus-community/bind_exporter/releases/latest | grep browser_download_url | grep linux-amd64 | cut -d '"' -f 4 | wget -qi -# tar xvf bind_exporter*.tar.gz# sudo mv...
Tuesday, May 25, 2021
Prometheus and Grafana : Monitor Apache
1. Download apache_exporter #wget https://github.com/Lusitaniae/apache_exporter/releases/download/v1.0.2/apache_exporter-1.0.2.linux-amd64.tar.gz2.Install apache_exporter#tar xvzf apache_exporter-1.0.2.linux-amd64.tar.gz#cd apache_exporter-1.0.2.linux-amd64#chown apache:apache apache_exporter# mv apache_exporter /usr/bin3.Create apache_exporter services#vi /etc/systemd/system/apache-exporter.service-...
Subscribe to:
Posts (Atom)