在linux节点上安装node exporter随记:修订间差异
来自三线的随记
(创建页面,内容为“=== systemd configure file === [Unit] Description=node_exporter After=network.target [Service] User=prometheus Group=prometheus ExecStart=/usr/local/export…”) |
小无编辑摘要 |
||
第1行: | 第1行: | ||
=== systemd configure file === | == MONITORING LINUX HOST METRICS WITH THE NODE EXPORTER == | ||
===systemd configure file=== | |||
[Unit] | [Unit] | ||
Description=node_exporter | Description=node_exporter | ||
第18行: | 第20行: | ||
<br /> | <br /> | ||
=== binary file download === | ===binary file download=== | ||
https://github.com/prometheus/node_exporter/releases | https://github.com/prometheus/node_exporter/releases | ||
<br /> | <br /> |
2020年10月22日 (四) 12:08的版本
MONITORING LINUX HOST METRICS WITH THE NODE EXPORTER
systemd configure file
[Unit] Description=node_exporter After=network.target [Service] User=prometheus Group=prometheus ExecStart=/usr/local/exporter/node_exporter/node_exporter\ --web.listen-address=:20001\ --collector.systemd\ --collector.systemd.unit-whitelist=(sshd|nginx).service\ --collector.processes\ --collector.tcpstat\ --collector.supervisord [Install] WantedBy=multi-user.target