{"id":38148,"date":"2025-05-19T14:21:14","date_gmt":"2025-05-19T06:21:14","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/38148.html"},"modified":"2025-05-19T14:21:14","modified_gmt":"2025-05-19T06:21:14","slug":"%e8%bf%9c%e7%a8%8b%e4%b8%bb%e6%9c%ba%e7%8a%b6%e6%80%81%e7%9b%91%e6%8e%a7-gpu%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%8a%b6%e6%80%81%e7%9b%91%e6%8e%a7-%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/38148.html","title":{"rendered":"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7"},"content":{"rendered":"<h2>\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062106-682acdd2abd58.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<p>\u2b50\ufe0f \u63a8\u8350\u6587\u7ae0: Docker&#043;PyCharm\u8fdc\u7a0b\u8c03\u8bd5&amp;\u73af\u5883\u9694\u79bb\u89e3\u51b3\u65b9\u6848<\/p>\n<hr \/>\n<h3>1. \u6574\u4f53\u67b6\u6784<\/h3>\n<p>\u5728\u672c\u76d1\u63a7\u7cfb\u7edf\u4e2d&#xff0c;\u6211\u4eec\u91c7\u7528\u4e86Prometheus\u4f5c\u4e3a\u6838\u5fc3\u76d1\u63a7\u89e3\u51b3\u65b9\u6848&#xff0c;\u5e76\u7ed3\u5408Node Exporter\u548cGrafana\u6784\u5efa\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u76d1\u63a7\u4f53\u7cfb\u3002\u7cfb\u7edf\u7684\u6574\u4f53\u67b6\u6784\u5206\u4e3a\u8fdc\u7a0b\u4e3b\u673a(remote host: Ubuntu)\u548c\u672c\u5730\u4e3b\u673a(local host: Windows)\u4e24\u90e8\u5206&#xff0c;\u5177\u4f53\u90e8\u7f72\u548c\u7ec4\u4ef6\u4f5c\u7528\u5982\u4e0b&#xff1a;<\/p>\n<li>\n<p>Remote Host \u90e8\u7f72: Linux\/Ubuntu\u2026<\/p>\n<ul>\n<li>Node Exporter&#xff1a; Node Exporter \u90e8\u7f72\u5728\u8fdc\u7a0b\u4e3b\u673a\u4e0a&#xff0c;\u7528\u4e8e\u6536\u96c6\u4e3b\u673a\u7684\u8fd0\u884c\u6307\u6807\u6570\u636e&#xff0c;\u4f8b\u5982 CPU \u4f7f\u7528\u7387\u3001\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3001\u78c1\u76d8 I\/O\u3001\u7f51\u7edc\u6d41\u91cf\u7b49\u3002\u5b83\u901a\u8fc7 HTTP \u63a5\u53e3\u5c06\u8fd9\u4e9b\u6307\u6807\u66b4\u9732\u51fa\u6765&#xff0c;\u4f9b Prometheus \u6293\u53d6\u3002<\/li>\n<li>Prometheus&#xff1a; Prometheus \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u65f6\u5e8f\u6570\u636e\u5e93\u548c\u76d1\u63a7\u7cfb\u7edf&#xff0c;\u540c\u6837\u90e8\u7f72\u5728\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u3002\u5b83\u8d1f\u8d23\u5b9a\u671f\u4ece Node Exporter \u66b4\u9732\u7684\u7aef\u70b9\u62c9\u53d6&#xff08;Pull&#xff09;\u76d1\u63a7\u6570\u636e&#xff0c;\u5e76\u5c06\u8fd9\u4e9b\u6570\u636e\u5b58\u50a8\u5728\u672c\u5730\u65f6\u5e8f\u6570\u636e\u5e93\u4e2d\u3002Prometheus \u8fd8\u63d0\u4f9b\u5f3a\u5927\u7684\u67e5\u8be2\u8bed\u8a00&#xff08;PromQL&#xff09;&#xff0c;\u7528\u4e8e\u5206\u6790\u548c\u5904\u7406\u76d1\u63a7\u6570\u636e&#xff0c;\u540c\u65f6\u652f\u6301\u544a\u8b66\u89c4\u5219\u914d\u7f6e&#xff0c;\u4ee5\u4fbf\u5728\u6307\u6807\u5f02\u5e38\u65f6\u89e6\u53d1\u544a\u8b66\u3002Prometheus \u4e5f\u53ef\u90e8\u7f72\u5728 Local Host \u4e0a&#xff0c;\u8fd9\u6837&#xff0c;\u4e0d\u540c\u7684 Remote Host \u901a\u8fc7 Node Export \u66b4\u9732 Metrics&#xff0c;\u53ef\u7edf\u4e00\u7531\u4e00\u53f0 Local Host \u4f7f\u7528 Prometheus \u76d1\u63a7\u548c\u8bb0\u5f55\u8fd9\u4e9b Metrics\u3002\u6211\u7531\u4e8e\u53ea\u6709\u4e00\u53f0 Remote Host&#xff0c;\u6240\u4ee5\u5c31\u5728 Remote Host \u4e0a\u90e8\u7f72 Prometheus\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Local Host \u90e8\u7f72: Windows\/Linux\u2026<\/p>\n<ul>\n<li>Grafana&#xff1a; Grafana \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u53ef\u89c6\u5316\u5de5\u5177&#xff0c;\u90e8\u7f72\u5728\u672c\u5730\u4e3b\u673a\u4e0a\u3002\u5b83\u901a\u8fc7\u8fde\u63a5\u5230\u8fdc\u7a0b\u4e3b\u673a\u7684 Prometheus \u6570\u636e\u6e90&#xff0c;\u83b7\u53d6\u5b58\u50a8\u7684\u76d1\u63a7\u6570\u636e&#xff0c;\u5e76\u4ee5\u56fe\u8868\u3001\u4eea\u8868\u76d8\u7b49\u5f62\u5f0f\u76f4\u89c2\u5730\u5c55\u793a\u51fa\u6765\u3002Grafana \u652f\u6301\u81ea\u5b9a\u4e49\u4eea\u8868\u76d8&#xff0c;\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u521b\u5efa\u4e2a\u6027\u5316\u7684\u76d1\u63a7\u89c6\u56fe&#xff0c;\u540c\u65f6\u4e5f\u652f\u6301\u544a\u8b66\u901a\u77e5\u7684\u53ef\u89c6\u5316\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u7ec4\u4ef6\u95f4\u4ea4\u4e92\u6d41\u7a0b<\/p>\n<ul>\n<li>Node Exporter \u5728\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u8fd0\u884c&#xff0c;\u6301\u7eed\u6536\u96c6\u7cfb\u7edf\u6307\u6807\u5e76\u66b4\u9732\u7ed9 Prometheus\u3002<\/li>\n<li>Prometheus \u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\u5b9a\u4e49\u7684\u6293\u53d6\u76ee\u6807&#xff08;targets&#xff09;&#xff0c;\u5b9a\u65f6\u4ece Node Exporter \u83b7\u53d6\u6570\u636e\u5e76\u5b58\u50a8\u3002<\/li>\n<li>\u672c\u5730\u4e3b\u673a\u4e0a\u7684 Grafana \u901a\u8fc7\u7f51\u7edc\u8fde\u63a5\u5230 Prometheus&#xff0c;\u67e5\u8be2\u6240\u9700\u6570\u636e\u5e76\u6e32\u67d3\u6210\u53ef\u89c6\u5316\u56fe\u8868&#xff0c;\u4f9b\u7528\u6237\u67e5\u770b\u548c\u5206\u6790\u3002<\/li>\n<\/ul>\n<\/li>\n<p>\u901a\u8fc7\u8fd9\u79cd\u67b6\u6784&#xff0c;\u8fdc\u7a0b\u4e3b\u673a\u8d1f\u8d23\u6570\u636e\u91c7\u96c6\u548c\u5b58\u50a8&#xff0c;\u672c\u5730\u4e3b\u673a\u4e13\u6ce8\u4e8e\u6570\u636e\u5c55\u793a\u548c\u7528\u6237\u4ea4\u4e92&#xff0c;\u5b9e\u73b0\u4e86\u76d1\u63a7\u7cfb\u7edf\u7684\u5206\u5e03\u5f0f\u90e8\u7f72\u548c\u9ad8\u6548\u8fd0\u884c\u3002<\/p>\n<h3>2. \u7f51\u7edc\u914d\u7f6e<\/h3>\n<p>\u786e\u4fddWindows\u7535\u8111\u548cLinux\u8bbe\u5907\u5728\u540c\u4e00\u5c40\u57df\u7f51\u5185&#xff0c;\u5e76\u4e14\u9632\u706b\u5899\u6216\u7aef\u53e3\u672a\u88ab\u963b\u6b62&#xff1a;<\/p>\n<ul>\n<li>Node Exporter \u9ed8\u8ba4\u7aef\u53e3&#xff1a;9100<\/li>\n<li>Prometheus \u9ed8\u8ba4\u7aef\u53e3&#xff1a;9090<\/li>\n<li>Grafana \u9ed8\u8ba4\u7aef\u53e3&#xff1a;3000<\/li>\n<li>\u5982\u679c\u6709\u9632\u706b\u5899&#xff0c;\u9700\u5f00\u653e\u76f8\u5173\u7aef\u53e3\u3002<\/li>\n<\/ul>\n<p>\u5728Linux\u4e0a\u68c0\u67e5\u7aef\u53e3\u662f\u5426\u5f00\u653e&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">9100<\/span>\/tcp<br \/>\n<span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">9090<\/span>\/tcp<\/p>\n<p>\u5728Windows\u4e0a&#xff0c;\u786e\u4fdd\u9632\u706b\u5899\u5141\u8bb8\u76f8\u5173\u6d41\u91cf\u3002<\/p>\n<h3>3. Remote&#xff1a;Node Exporter<\/h3>\n<p>Monitoring Linux host metrics with the Node Exporter<\/p>\n<p>The Prometheus Node Exporter is a single static binary that you can install via tarball. Once you\u2019ve downloaded it from the Prometheus downloads page extract it, and run it:<\/p>\n<p><span class=\"token comment\"># NOTE: Replace the URL with one from the above mentioned &#034;downloads&#034; page.<\/span><br \/>\n<span class=\"token comment\"># &lt;VERSION&gt;, &lt;OS&gt;, and &lt;ARCH&gt; are placeholders.<\/span><br \/>\n<span class=\"token function\">wget<\/span> https:\/\/github.com\/prometheus\/node_exporter\/releases\/download\/v<span class=\"token operator\">&lt;<\/span>VERSION<span class=\"token operator\">&gt;<\/span>\/node_exporter-<span class=\"token operator\">&lt;<\/span>VERSION<span class=\"token operator\">&gt;<\/span>.<span class=\"token operator\">&lt;<\/span>OS<span class=\"token operator\">&gt;<\/span>&#8211;<span class=\"token operator\">&lt;<\/span>ARCH<span class=\"token operator\">&gt;<\/span>.tar.gz<br \/>\n<span class=\"token comment\"># https:\/\/github.com\/prometheus\/node_exporter\/releases\/download\/v1.9.1\/node_exporter-1.9.1.linux-amd64.tar.gz<\/span><br \/>\n<span class=\"token function\">tar<\/span> xvfz node_exporter-*.*-amd64.tar.gz<br \/>\n<span class=\"token builtin class-name\">cd<\/span> node_exporter-*.*-amd64<br \/>\n.\/node_exporter <span class=\"token comment\"># for test<\/span><\/p>\n<p>You should see output like this indicating that the Node Exporter is now running and exposing metrics on port 9100:<\/p>\n<p>INFO[0000] Starting node_exporter (version&#061;0.16.0, branch&#061;HEAD, revision&#061;d42bd70f4363dced6b77d8fc311ea57b63387e4f)  source&#061;&#034;node_exporter.go:82&#034;<br \/>\nINFO[0000] Build context (go&#061;go1.9.6, user&#061;root&#064;a67a9bc13a69, date&#061;20180515-15:53:28)  source&#061;&#034;node_exporter.go:83&#034;<br \/>\nINFO[0000] Enabled collectors:                           source&#061;&#034;node_exporter.go:90&#034;<br \/>\nINFO[0000]  &#8211; boottime                                   source&#061;&#034;node_exporter.go:97&#034;<br \/>\n&#8230;<br \/>\nINFO[0000] Listening on :9100                            source&#061;&#034;node_exporter.go:111&#034;<\/p>\n<p>\u5047\u8bbe\u4f60\u60f3\u5c06 Node Exporter \u7684\u76d1\u542c\u7aef\u53e3\u6539\u4e3a 9200&#xff0c;\u53ef\u4ee5\u5728\u542f\u52a8\u547d\u4ee4\u4e2d\u6dfb\u52a0\u53c2\u6570&#xff1a;<\/p>\n<p>.\/node_exporter &#8211;web.listen-address<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;:9200&#034;<\/span><\/p>\n<p>\u5982\u679c\u4f60\u9700\u8981\u7ed1\u5b9a\u5230\u7279\u5b9a\u7684 IP \u5730\u5740&#xff08;\u4f8b\u5982 192.168.1.100&#xff09;\u548c\u7aef\u53e3&#xff0c;\u53ef\u4ee5\u8fd9\u6837\u8bbe\u7f6e&#xff1a;<\/p>\n<p>.\/node_exporter &#8211;web.listen-address<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;192.168.1.100:9200&#034;<\/span><\/p>\n<p>\u5c06 Node Exporter \u914d\u7f6e\u4e3a\u7cfb\u7edf\u670d\u52a1&#xff08;\u4f8b\u5982\u4f7f\u7528 systemd&#xff0c;\u7f16\u8f91\u670d\u52a1\u6587\u4ef6&#xff0c;\u901a\u5e38\u4f4d\u4e8e\/etc\/systemd\/system\/node_exporter.service&#xff09;&#xff1a;<\/p>\n<p>[Unit]<br \/>\nDescription&#061;Node Exporter<br \/>\nAfter&#061;network.target<br \/>\n[Service]<br \/>\nUser&#061;node_exporter<br \/>\nGroup&#061;node_exporter<br \/>\nType&#061;simple<br \/>\nExecStart&#061;\/path\/to\/node_exporter &#8211;web.listen-address&#061;&#034;:9200&#034;<br \/>\n[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<p>\u91cd\u65b0\u52a0\u8f7d\u670d\u52a1\u914d\u7f6e\u5e76\u91cd\u542f\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl restart node_exporter<\/p>\n<p>\u9a8c\u8bc1\u7aef\u53e3\u662f\u5426\u751f\u6548&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">netstat<\/span> -tuln <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token number\">9200<\/span><\/p>\n<h4>\u5bb9\u5668\u73af\u5883<\/h4>\n<p>\u5982\u679cLinux\u7cfb\u7edf\u6ca1\u6709\u4f7f\u7528 systemd \u4f5c\u4e3ainit system&#xff0c;\u4f1a\u51fa\u73b0\u5982\u4e0b\u62a5\u9519&#xff1a;<\/p>\n<p>&#8230;<br \/>\nsystemctl restart node_exporter<br \/>\nSystem has not been booted with systemd as init system (PID 1). Can&#039;t operate.<br \/>\nFailed to connect to bus: Host is down<br \/>\n&#8230;<\/p>\n<p>\u4f60\u53ef\u80fd\u5728\u67d0\u4e9b\u5bb9\u5668\u73af\u5883&#xff08;\u5982 Docker&#xff09;\u4e2d\u8fd0\u884c\u547d\u4ee4&#xff0c;\u800c\u5bb9\u5668\u901a\u5e38\u4e0d\u8fd0\u884c\u5b8c\u6574\u7684 systemd\u3002\u5982\u679c\u9700\u8981\u81ea\u52a8\u5316\u7ba1\u7406&#xff0c;\u53ef\u4ee5\u5728\u5bb9\u5668\u542f\u52a8\u811a\u672c\u4e2d\u914d\u7f6e Node Exporter \u7684\u542f\u52a8\u53c2\u6570\u3002<\/p>\n<p>\u4f7f\u7528 nohup \u53ef\u4ee5\u6682\u65f6\u957f\u671f\u540e\u53f0\u8fd0\u884c Node Exporter&#xff1a;<\/p>\n<p><span class=\"token function\">nohup<\/span> \/path\/to\/node_exporter <span class=\"token operator\">&amp;<\/span><\/p>\n<h3>4. Remote&#xff1a;Prometheus<\/h3>\n<p>\u627e\u5230\u5bf9\u5e94\u7248\u672c\u7684 Prometheus: Download<\/p>\n<p><span class=\"token function\">wget<\/span> https:\/\/github.com\/prometheus\/prometheus\/releases\/download\/v3.4.0\/prometheus-3.4.0.linux-amd64.tar.gz<br \/>\n<span class=\"token function\">tar<\/span> xvfz prometheus-*.*-amd64.tar.gz<br \/>\n<span class=\"token builtin class-name\">cd<\/span> prometheus-*.*-amd64<br \/>\n.\/prometheus <span class=\"token comment\"># for test<\/span><\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;Prometheus \u4f1a\u76d1\u542c 9090 \u7aef\u53e3\u3002\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee http:\/\/&lt;Prometheus_IP&gt;:9090 \u67e5\u770b Web UI\u3002<\/p>\n<p>\u4f7f\u7528 Prometheus \u6293\u53d6 Node Exporter (default port: 9100) \u7684\u6570\u636e&#xff0c;\u5728 prometheus.yml \u6587\u4ef6\u4e2d\u66f4\u65b0\u76ee\u6807\u7aef\u53e3&#xff1a;<\/p>\n<p><span class=\"token function\">vim<\/span> .\/prometheus.yml<\/p>\n<p><span class=\"token key atrule\">scrape_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">job_name<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;prometheus&#034;<\/span><br \/>\n    <span class=\"token key atrule\">static_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">targets<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;localhost:9100&#034;<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p>\u5e26\u914d\u7f6e\u8fd0\u884c\u6d4b\u8bd5, \u67e5\u770b\u662f\u5426\u6293\u53d6\u5230 Node Exporter (default port: 9100) \u6570\u636e:<\/p>\n<p>.\/prometheus &#8211;config.file<span class=\"token operator\">&#061;<\/span>\/path\/to\/prometheus.yml<\/p>\n<p>\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee http:\/\/&lt;Prometheus_IP&gt;:9090 \u67e5\u770b Web UI\u3002<\/p>\n<p>\u5c06 Prometheus \u8bbe\u7f6e\u4e3a\u7cfb\u7edf\u670d\u52a1<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/systemd\/system\/prometheus.service<\/p>\n<p>[Unit]<br \/>\nDescription&#061;Prometheus<br \/>\nAfter&#061;network.target<br \/>\n[Service]<br \/>\nUser&#061;prometheus<br \/>\nGroup&#061;prometheus<br \/>\nType&#061;simple<br \/>\nExecStart&#061;\/path\/to\/prometheus &#8211;config.file&#061;\/path\/to\/prometheus.yml &#8211;web.listen-address&#061;&#034;:9091&#034;<br \/>\nRestart&#061;always<br \/>\n[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<p>\u542f\u7528\u5e76\u542f\u52a8\u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> prometheus<br \/>\n<span class=\"token function\">sudo<\/span> systemctl start prometheus<\/p>\n<h3>5. Local&#xff1a;Grafana<\/h3>\n<p>\u5728\u672c\u5730\u4e3b\u673a\u4e0a\u5b89\u88c5 Grafana \u5e76\u6784\u5efa Dashboard:<\/p>\n<ul>\n<li>Install Grafana on Windows<\/li>\n<li>Build your first dashboard<\/li>\n<\/ul>\n<p>Grafana \u9ed8\u8ba4\u76d1\u542c: http:\/\/localhost:3000\/, \u6d4f\u89c8\u5668\u8bbf\u95ee\u6d4b\u8bd5\u662f\u5426\u6b63\u5e38\u542f\u52a8.<\/p>\n<h4>Add Data Sources<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062109-682acdd5416d8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062110-682acdd617576.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062110-682acdd6a40e7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>Create Dashboard from template<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062111-682acdd7d36f5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062112-682acdd87be6a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u63a8\u8350\u6a21\u677f: Node Exporter Full, Available on github: https:\/\/github.com\/rfmoz\/grafana-dashboards.git<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062112-682acdd8b5565.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<p>\u539f\u521b\u58f0\u660e&#xff1a;\u00a9\ufe0f \u672c\u6587\u4e3a\u535a\u4e3b\u539f\u521b\u6587\u7ae0&#xff0c;\u8f6c\u8f7d\u9700\u6ce8\u660e\u51fa\u5904\u2014\u2014https:\/\/blog.csdn.net\/IYXUAN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb665\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u5728\u672c\u76d1\u63a7\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u91c7\u7528\u4e86Prometheus\u4f5c\u4e3a\u6838\u5fc3\u76d1\u63a7\u89e3\u51b3\u65b9\u6848\uff0c\u5e76\u7ed3\u5408Node Exporter\u548cGrafana\u6784\u5efa\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u6df1\u5ea6\u5b66\u4e60\u8fdc\u7a0b\u670d\u52a1\u5668\u76d1\u63a7\u4f53\u7cfb\u3002<\/p>\n","protected":false},"author":2,"featured_media":38141,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3313,3311,3310,3312,43,86,20,44,3314],"topic":[],"class_list":["post-38148","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-gpu","tag-nlp-agents-agi","tag-3310","tag-3312","tag-43","tag-86","tag-20","tag-44","tag-3314"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/38148.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb665\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u5728\u672c\u76d1\u63a7\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u91c7\u7528\u4e86Prometheus\u4f5c\u4e3a\u6838\u5fc3\u76d1\u63a7\u89e3\u51b3\u65b9\u6848\uff0c\u5e76\u7ed3\u5408Node Exporter\u548cGrafana\u6784\u5efa\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u6df1\u5ea6\u5b66\u4e60\u8fdc\u7a0b\u670d\u52a1\u5668\u76d1\u63a7\u4f53\u7cfb\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/38148.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-19T06:21:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062106-682acdd2abd58.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38148.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/38148.html\",\"name\":\"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-19T06:21:14+00:00\",\"dateModified\":\"2025-05-19T06:21:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/38148.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/38148.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38148.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/38148.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb665\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u5728\u672c\u76d1\u63a7\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u91c7\u7528\u4e86Prometheus\u4f5c\u4e3a\u6838\u5fc3\u76d1\u63a7\u89e3\u51b3\u65b9\u6848\uff0c\u5e76\u7ed3\u5408Node Exporter\u548cGrafana\u6784\u5efa\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u6df1\u5ea6\u5b66\u4e60\u8fdc\u7a0b\u670d\u52a1\u5668\u76d1\u63a7\u4f53\u7cfb\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/38148.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-19T06:21:14+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250519062106-682acdd2abd58.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/38148.html","url":"https:\/\/www.wsisp.com\/helps\/38148.html","name":"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-19T06:21:14+00:00","dateModified":"2025-05-19T06:21:14+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/38148.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/38148.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/38148.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001\u76d1\u63a7-GPU\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7-\u6df1\u5ea6\u5b66\u4e60\u670d\u52a1\u5668\u72b6\u6001\u76d1\u63a7"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=38148"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38148\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/38141"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=38148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=38148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=38148"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=38148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}