prometheus-process-exporter
监控系统架构方案
https://blog.csdn.net/weixin_45801289/article/details/126922395
sudo apt install prometheus-process-exporter
prometheus-process-exporter_0.4.0+ds-1_amd64.deb
service prometheus-process-exporter status
netstat -anplut|grep alert
systemctl daemon-reload
systemctl start alertmanager
systemctl enable alertmanager
systemctl status alertmanager
systemctl restart alertmanager
Ubuntu 20.04 部署Prmoetheus+grafana+mysql+mysqld_exporter+node_exporter
https://www.cnblogs.com/yangzp/p/16281547.html
输入导入的模板id 249,数据源选择Prometheus,点击import导入。
展示process exporter监控到信息
vi /etc/default/prometheus-process-exporter
ARGS="-web.listen-address :9256"
curl http://localhost:9256/metrics > ccc
http://192.168.99.40:9256/metrics
sudo vi /etc/prometheus/prometheus.yml
- job_name: 'linux-node-process-1'
static_configs:
- targets: ['192.168.99.40:9256']
sudo systemctl restart prometheus