Sonde mysql-exporter pour Eole 2.7.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

eole-mysql-exporter.mk 648B

1234567891011
  1. upstart_DATA_DIR := $(DESTDIR)/etc/init
  2. MYSQL_EXPORTER_VERSION := 0.11.0
  3. download-exporter:
  4. mkdir -p tmp
  5. cd tmp && wget https://github.com/prometheus/mysqld_exporter/releases/download/v$(MYSQL_EXPORTER_VERSION)/mysqld_exporter-$(MYSQL_EXPORTER_VERSION).linux-amd64.tar.gz
  6. cd tmp && wget https://github.com/prometheus/mysqld_exporter/releases/download/v$(MYSQL_EXPORTER_VERSION)/sha256sums.txt
  7. cd tmp && sha256sum -c --ignore-missing sha256sums.txt
  8. cd tmp && tar -xzf mysqld_exporter-$(MYSQL_EXPORTER_VERSION).linux-amd64.tar.gz
  9. cp -f tmp/mysqld_exporter-$(MYSQL_EXPORTER_VERSION).linux-amd64/mysqld_exporter ./bin/mysqld_exporter
  10. rm -rf tmp