#!/bin/bash
# check Prometheus status http://192.168.122.10:9090/targets
# http://192.168.29.170:9090/targets
if [ "$1" = "stop" ]; then
pkill mysqld_exporter
pkill prometheus
pkill node_exporter
systemctl stop grafana-server
#systemctl stop httpd
性能测试--24prometheus、grafana一键启动脚本
最新推荐文章于 2025-05-10 20:11:03 发布