日韩在线不卡一区二区三区四区五区,欧美视频一区二区三,欧美视频中文字幕一区二区,高端 精品 国产 探花,亚欧无吗一二三四五六区
RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
怎么將Prometheus對應(yīng)的exporter做成系統(tǒng)服務(wù)

本篇內(nèi)容介紹了“怎么將Prometheus對應(yīng)的exporter做成系統(tǒng)服務(wù)”的有關(guān)知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細閱讀,能夠?qū)W有所成!

我們提供的服務(wù)有:成都做網(wǎng)站、網(wǎng)站制作、微信公眾號開發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認證、和順ssl等。為千余家企事業(yè)單位解決了網(wǎng)站和推廣的問題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的和順網(wǎng)站制作公司

這里以node_exporter為例介紹這個過程,node_exporter的作用是用于機器系統(tǒng)數(shù)據(jù)收集,監(jiān)控服務(wù)器CPU、內(nèi)存、磁盤、I/O等信息。

1、下載解壓

wget https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.0.1.linux-amd64.tar.gz
tar zxvf node_exporter-1.0.1.linux-amd64.tar.gz
mv node_exporter-1.0.1.linux-amd64 /usr/local/node_exporter

2、創(chuàng)建用戶

groupadd prometheus
useradd -g prometheus -m -d /var/lib/prometheus -s /sbin/nologin prometheus
chown prometheus.prometheus -R /usr/local/node_exporter

3、創(chuàng)建Systemd服務(wù)

cat > /etc/systemd/system/node_exporter.service <

4、啟動node_exporter

systemctl daemon-reload
systemctl start node_exporter
systemctl status node_exporter
systemctl enable node_exporter

5、驗證啟動成功

curl 127.0.0.1:9100
curl 127.0.0.1:9100/metrics
或
http://127.0.0.1:9100/metrics

End~

“怎么將Prometheus對應(yīng)的exporter做成系統(tǒng)服務(wù)”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實用文章!


新聞標(biāo)題:怎么將Prometheus對應(yīng)的exporter做成系統(tǒng)服務(wù)
URL分享:http://biofuelwatch.net/article/goghej.html
日韩在线不卡一区二区三区四区五区,欧美视频一区二区三,欧美视频中文字幕一区二区,高端 精品 国产 探花,亚欧无吗一二三四五六区