成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

prometheus03-node_exporter

1.地址

網(wǎng)站建設(shè)哪家好,找成都創(chuàng)新互聯(lián)公司!專(zhuān)注于網(wǎng)頁(yè)設(shè)計(jì)、網(wǎng)站建設(shè)、微信開(kāi)發(fā)、微信小程序開(kāi)發(fā)、集團(tuán)企業(yè)網(wǎng)站建設(shè)等服務(wù)項(xiàng)目。為回饋新老客戶(hù)創(chuàng)新互聯(lián)還提供了鶴山免費(fèi)建站歡迎大家使用!

使用文檔:https://prometheus.io/docs/guides/node-exporter/
GitHub:https://github.com/prometheus/node_exporter
exporter列表:https://prometheus.io/docs/instrumenting/exporters/

2.下載

?wget??https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz

3. 安裝并啟動(dòng)

mv?node_exporter-0.18.1.linux-amd64??/usr/local/node_exporter
[root@zabbix-server?system]#?cat?node_exporter.service
[Unit]
Description=node_exporter
Documentation=https://prometheus.io/
After=network.target
[Service]
Type=simple
User=prometheus
ExecStart=/usr/local/node_exporter/node_exporter
Restart=on-failure
[Install]
WantedBy=multi-user.target
[root@zabbix-server?system]#?pwd
/usr/lib/systemd/system
[root@zabbix-server?system]#?
systemctl??daemon-reload
systemctl?start?node_exporter

4.查看 metrics

http://192.168.249.10:9100/metrics

prometheus03-node_exporter

5. prometheus 把 node_exporter加載進(jìn)去

[root@zabbix-proxy?sd_config]#?cat?prometheus-server.yml?
-?labels:
????service:?prometheus
????idc:?su
????project:?monitor
??targets:
??-?192.168.249.11:9090
??-?192.168.249.10:9100
[root@zabbix-proxy?sd_config]#?cat?../prometheus.yml
#?my?global?config
global:
??scrape_interval:?????15s?#?Set?the?scrape?interval?to?every?15?seconds.?Default?is?every?1?minute.
??evaluation_interval:?15s?#?Evaluate?rules?every?15?seconds.?The?default?is?every?1?minute.
??#?scrape_timeout?is?set?to?the?global?default?(10s).
#?Alertmanager?configuration
alerting:
??alertmanagers:
??-?static_configs:
????-?targets:
??????#?-?alertmanager:9093
#?Load?rules?once?and?periodically?evaluate?them?according?to?the?global?'evaluation_interval'.
rule_files:
??#?-?"first_rules.yml"
??#?-?"second_rules.yml"
#?A?scrape?configuration?containing?exactly?one?endpoint?to?scrape:
#?Here?it's?Prometheus?itself.
scrape_configs:
??#?The?job?name?is?added?as?a?label?`job=<job_name>`?to?any?timeseries?scraped?from?this?config.
??-?job_name:?'prometheus'
????file_sd_configs:
??????-?files:?['/usr/local/prometheus/sd_config/*.yml']
????????refresh_interval:?5s
[root@zabbix-proxy?sd_config]#

6.查看

prometheus03-node_exporter

本文名稱(chēng):prometheus03-node_exporter
URL標(biāo)題:http://jinyejixie.com/article6/iiseig.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供標(biāo)簽優(yōu)化商城網(wǎng)站、外貿(mào)建站網(wǎng)站營(yíng)銷(xiāo)、企業(yè)網(wǎng)站制作、搜索引擎優(yōu)化

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

手機(jī)網(wǎng)站建設(shè)
轮台县| 静宁县| 巴青县| 枣阳市| 建水县| 会宁县| 南投县| 万州区| 河北省| 南川市| 杭锦旗| 达州市| 迁西县| 开封县| 丰原市| 土默特左旗| 铁力市| 丹阳市| 儋州市| 台南县| 古田县| 武平县| 清远市| 安乡县| 绥阳县| 金阳县| 克拉玛依市| 宁德市| 濮阳市| 西峡县| 徐州市| 秀山| 晋中市| 句容市| 稷山县| 铜陵市| 左云县| 绥中县| 黔江区| 榆社县| 长岛县|