kubesphere 部署 nginx-exporter
1- 镜像
sophos/nginx-vts-exporter:v0.10.7
2-
端口 在这里没有默认的
我自己写的9913
3- 启动命令
nginx-vts-exporter
参数:
-nginx.scrape_uri=http://10.0.0.207/status/format/json,
-telemetry.address :9913
-t
我的测试环境:
192.168.1.210:8000/nginx_status
这个需要自己编译NGINX 的, 参考:
nginx 编译安装 (监控) 1.22.1 : 连接

2-配置 grafan
2949
发现没有数据,
但是 检查采集的数据是有数据的

先来配置prometheus
  - job_name: "nginx-exporter"
    static_configs:
      - targets: ["nginx-exporter-node.zzy-monitor:9913"] 
3-

 51工具盒子
51工具盒子 
                 
                             
                         
                         
                         
                         
                         
                        