{"id":83582,"date":"2026-07-26T02:12:08","date_gmt":"2026-07-25T18:12:08","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83582.html"},"modified":"2026-07-26T02:12:08","modified_gmt":"2026-07-25T18:12:08","slug":"%e8%bf%9c%e7%a8%8b%e7%9b%91%e6%8e%a7-linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8d%e8%b8%a9%e5%9d%91%ef%bc%81prometheusnode-exporter-%e8%bd%bb%e6%9d%be%e6%90%9e%e5%ae%9a%e8%b7%a8%e4%b8%bb%e6%9c%ba","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83582.html","title":{"rendered":"\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181203-6a64fc7346aea.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>\u4f60\u662f\u4e0d\u662f\u4e5f\u9047\u5230\u8fc7\u8fd9\u4e9b\u7cdf\u5fc3\u4e8b&#xff1a;<\/h5>\n<p>\u2705 \u6848\u4f8b 1&#xff1a;\u8fd0\u7ef4\u5c0f\u54e5\u5c0f\u674e&#xff0c;\u516c\u53f8\u670d\u52a1\u5668\u5206\u6563\u5728\u673a\u623f\u548c\u5f02\u5730\u529e\u516c\u70b9&#xff0c;\u4e4b\u524d\u53ea\u80fd\u8e72\u5728\u673a\u623f\u770b\u76d1\u63a7&#xff0c;\u51fa\u5dee\u65f6\u670d\u52a1\u5668 CPU \u98d9\u5230 90% \u90fd\u4e0d\u77e5\u9053&#xff0c;\u56de\u6765\u88ab\u8001\u677f\u9a82\u5230\u72d7\u8840\u6dcb\u5934&#xff1b;\u7528\u4e86 Prometheus&#043;Node Exporter&#043;cpolar \u540e&#xff0c;\u638f\u51fa\u624b\u673a\u5c31\u80fd\u770b\u6240\u6709\u670d\u52a1\u5668\u7684 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u6570\u636e&#xff0c;\u544a\u8b66\u4fe1\u606f\u5b9e\u65f6\u5f39\u5230\u5fae\u4fe1&#xff0c;\u51fa\u5dee\u4e5f\u80fd\u7a33\u5982\u8001\u72d7\u3002<\/p>\n<p>\u2705 \u6848\u4f8b 2&#xff1a;\u5c0f\u516c\u53f8 IT \u8001\u738b&#xff0c;\u9884\u7b97\u53ea\u591f\u4e70\u4e24\u53f0 Linux \u670d\u52a1\u5668&#xff0c;\u60f3\u505a\u8de8\u4e3b\u673a\u76d1\u63a7\u4f46\u6ca1\u516c\u7f51 IP&#xff0c;\u627e\u8fd0\u8425\u5546\u7533\u8bf7\u8981\u7b49\u534a\u4e2a\u6708\u8fd8\u5f97\u52a0\u94b1&#xff1b;\u7528 cpolar \u5185\u7f51\u7a7f\u900f&#xff0c;5 \u5206\u949f\u628a\u5185\u7f51\u7684 Node Exporter \u670d\u52a1\u66b4\u9732\u5230\u516c\u7f51&#xff0c;Prometheus \u8fdc\u7a0b\u6293\u53d6\u6570\u636e&#xff0c;\u96f6\u6210\u672c\u641e\u5b9a\u8fdc\u7a0b\u76d1\u63a7&#xff0c;\u8001\u677f\u76f4\u5938\u4ed6\u4f1a\u7701\u94b1\u3002<\/p>\n<p>\u2705 \u6848\u4f8b 3&#xff1a;\u6280\u672f\u5b85\u5c0f\u5f20&#xff0c;\u5bb6\u91cc\u642d\u4e86 Linux \u5b9e\u9a8c\u673a&#xff0c;\u60f3\u5728\u5916\u559d\u5496\u5561\u65f6\u8c03\u8bd5\u76d1\u63a7\u914d\u7f6e&#xff0c;\u7ed3\u679c\u53ea\u80fd\u8fdc\u7a0b\u63a7\u5236\u5bb6\u91cc\u7535\u8111\u624d\u80fd\u770b&#xff1b;\u7528 cpolar \u914d\u4e2a\u56fa\u5b9a\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u624b\u673a\u6d4f\u89c8\u5668\u8f93\u5165\u5730\u5740\u5c31\u80fd\u8bbf\u95ee Node Exporter&#xff0c;\u968f\u65f6\u968f\u5730\u6298\u817e\u5b9e\u9a8c&#xff0c;\u518d\u4e5f\u4e0d\u7528\u88ab\u7ed1\u5728\u5bb6\u91cc\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181203-6a64fc73b78e2.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u8f6f\u4ef6\u540d\u79f0<\/h4>\n<p>\u6838\u5fc3\u5de5\u5177&#xff1a;Prometheus&#xff08;\u76d1\u63a7\u6838\u5fc3&#xff09; Node Exporter&#xff08;Linux \u7cfb\u7edf\u6307\u6807\u91c7\u96c6&#xff09; cpolar&#xff08;\u5185\u7f51\u7a7f\u900f&#xff09;<\/p>\n<h4>\u64cd\u4f5c\u7cfb\u7edf\u652f\u6301<\/h4>\n<ul>\n<li>Prometheus&#xff1a;\u652f\u6301 Linux&#xff08;CentOS\u3001Ubuntu \u7b49&#xff09;\u3001Windows\u3001macOS&#xff0c;\u672c\u6b21\u5b9e\u6218\u57fa\u4e8e CentOS7&#xff1b;<\/li>\n<li>Node Exporter&#xff1a;\u4ec5\u652f\u6301 Linux \u7cfb\u7edf&#xff08;\u5168\u7248\u672c\u517c\u5bb9&#xff0c;\u672c\u6b21\u7528 CentOS7&#xff09;&#xff1b;<\/li>\n<li>cpolar&#xff1a;\u652f\u6301 Linux&#xff08;CentOS\u3001Ubuntu\u3001Debian \u7b49&#xff09;\u3001Windows\u3001macOS\u3001\u7fa4\u6656\u7b49&#xff0c;\u672c\u6b21\u57fa\u4e8e CentOS7 \u90e8\u7f72\u3002<\/li>\n<\/ul>\n<h4>\u8f6f\u4ef6\u4ecb\u7ecd<\/h4>\n<ul>\n<li>Prometheus&#xff1a;\u5c31\u50cf\u76d1\u63a7\u754c\u7684 \u201c\u5168\u80fd\u7ba1\u5bb6\u201d&#xff0c;\u4e0d\u7528\u5b88\u5728\u670d\u52a1\u5668\u65c1&#xff0c;\u80fd\u4e3b\u52a8 \u201c\u62c9\u53d6\u201d \u670d\u52a1\u5668\u7684\u5404\u9879\u6570\u636e&#xff0c;\u8fd8\u80fd\u8bbe\u7f6e\u544a\u8b66\u89c4\u5219&#xff0c;CPU \/ \u5185\u5b58\u8d85\u6807\u5c31\u63d0\u9192&#xff0c;\u662f Linux \u670d\u52a1\u5668\u76d1\u63a7\u7684 \u201c\u625b\u628a\u5b50\u201d&#xff1b;<\/li>\n<li>Node Exporter&#xff1a;Prometheus \u7684 \u201c\u4e13\u5c5e\u91c7\u96c6\u5458\u201d&#xff0c;\u8f7b\u91cf\u5230\u51e0\u4e4e\u4e0d\u5360\u670d\u52a1\u5668\u8d44\u6e90&#xff0c;\u80fd\u628a Linux \u670d\u52a1\u5668\u7684 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8 I\/O\u3001\u7f51\u7edc\u6d41\u91cf\u7b49\u6307\u6807&#xff0c;\u6253\u5305\u6210 HTTP \u63a5\u53e3\u7684\u5f62\u5f0f\u4f9b Prometheus \u6293\u53d6&#xff0c;\u6ca1\u6709\u5b83&#xff0c;Prometheus \u5c31\u662f \u201c\u5de7\u5987\u96be\u4e3a\u65e0\u7c73\u4e4b\u708a\u201d&#xff1b;<\/li>\n<li>cpolar&#xff1a;\u5185\u7f51\u7a7f\u900f\u754c\u7684 \u201c\u76f4\u901a\u8f66\u201d&#xff0c;\u4e0d\u7528\u6298\u817e\u516c\u7f51 IP\u3001\u57df\u540d\u5907\u6848&#xff0c;\u4e00\u952e\u5c31\u80fd\u628a\u5185\u7f51\u7684 Node Exporter \u670d\u52a1\u66b4\u9732\u5230\u516c\u7f51&#xff0c;\u8ba9\u5f02\u5730\u7684 Prometheus \u8f7b\u677e\u6293\u5230\u6570\u636e&#xff0c;\u582a\u79f0 \u201c\u5185\u7f51\u670d\u52a1\u51fa\u5708\u795e\u5668\u201d\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181204-6a64fc74321d7.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>Prometheus&#043;Node Exporter \u7684\u51fa\u8272\u529f\u80fd<\/h4>\n<li>\n<p>Prometheus&#xff1a;\u76d1\u63a7 &#043; \u544a\u8b66\u4e00\u628a\u6293<\/p>\n<ul>\n<li>\u8de8\u4e3b\u673a\u62c9\u53d6\u6570\u636e&#xff1a;\u4e0d\u7ba1\u88ab\u76d1\u63a7\u670d\u52a1\u5668\u5728\u54ea&#xff0c;\u53ea\u8981\u80fd\u901a&#xff0c;\u5c31\u80fd\u5b9a\u65f6\u6293\u53d6 Node Exporter \u7684\u6307\u6807&#xff0c;\u4e0d\u7528\u5728\u6bcf\u53f0\u670d\u52a1\u5668\u88c5\u4e00\u5806\u8f6f\u4ef6&#xff1b;<\/li>\n<li>\u7075\u6d3b\u544a\u8b66\u89c4\u5219&#xff1a;\u60f3\u8bbe \u201cCPU \u4f7f\u7528\u7387\u8d85 10% \u544a\u8b66\u201d \u8fd8\u662f \u201c\u5185\u5b58\u5360\u6ee1\u544a\u8b66\u201d&#xff0c;\u5199\u51e0\u884c\u7b80\u5355\u89c4\u5219\u5c31\u80fd\u5b9e\u73b0&#xff0c;\u544a\u8b66\u65f6\u957f\u3001\u7ea7\u522b\u90fd\u80fd\u81ea\u5b9a\u4e49&#xff1b;<\/li>\n<li>\u6570\u636e\u53ef\u89c6\u5316&#xff1a;\u81ea\u5e26\u7b80\u5355\u9762\u677f&#xff0c;\u80fd\u76f4\u89c2\u770b\u5230\u670d\u52a1\u5668\u6307\u6807\u53d8\u5316&#xff0c;\u540e\u7eed\u52a0 Grafana \u8fd8\u80fd\u505a\u66f4\u70ab\u9177\u7684\u56fe\u8868\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Node Exporter&#xff1a;\u8f7b\u91cf\u53c8\u5168\u9762\u7684 \u201c\u6570\u636e\u91c7\u96c6\u5668\u201d<\/p>\n<ul>\n<li>\u96f6\u4fb5\u5165\u91c7\u96c6&#xff1a;\u5b89\u88c5\u7b80\u5355&#xff0c;\u4e0d\u4fee\u6539\u670d\u52a1\u5668\u6838\u5fc3\u914d\u7f6e&#xff0c;\u8dd1\u8d77\u6765\u53ea\u5360\u51e0\u5341 M \u5185\u5b58&#xff1b;<\/li>\n<li>\u6307\u6807\u5168\u8986\u76d6&#xff1a;CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u3001\u7f51\u7edc\u3001\u8fdb\u7a0b\u2026\u2026Linux \u670d\u52a1\u5668\u7684 \u201c\u4e00\u4e3e\u4e00\u52a8\u201d \u90fd\u80fd\u91c7\u96c6\u5230&#xff0c;\u6ca1\u6709\u9057\u6f0f&#xff1b;<\/li>\n<li>\u7cfb\u7edf\u670d\u52a1\u5316&#xff1a;\u6ce8\u518c\u6210 Linux \u7cfb\u7edf\u670d\u52a1&#xff0c;\u5f00\u673a\u81ea\u542f&#xff0c;\u4e0d\u7528\u6bcf\u6b21\u624b\u52a8\u542f\u52a8&#xff0c;\u8fd0\u7ef4\u7701\u5fc3 100 \u500d\u3002<\/li>\n<\/ul>\n<\/li>\n<h4>\u5b9e\u7528\u573a\u666f<\/h4>\n<h6>\u573a\u666f 1&#xff1a;\u4e2d\u5c0f\u4f01\u4e1a\u591a\u670d\u52a1\u5668\u96c6\u4e2d\u76d1\u63a7<\/h6>\n<ul>\n<li>\u75db\u70b9&#xff1a;\u670d\u52a1\u5668\u5206\u5e03\u5728\u4e0d\u540c\u529e\u516c\u533a&#xff0c;\u6ca1\u6709\u516c\u7f51 IP&#xff0c;\u76d1\u63a7\u5de5\u5177\u53ea\u80fd\u672c\u5730\u770b&#xff0c;\u8fd0\u7ef4\u4eba\u5458\u6765\u56de\u8dd1&#xff0c;\u6548\u7387\u4f4e\u8fd8\u5bb9\u6613\u6f0f\u544a\u8b66&#xff1b;<\/li>\n<li>\u723d\u70b9&#xff1a;\u5728\u6bcf\u53f0\u670d\u52a1\u5668\u88c5 Node Exporter&#xff0c;\u7528 cpolar \u628a\u5185\u7f51\u670d\u52a1\u66b4\u9732\u5230\u516c\u7f51&#xff0c;\u76d1\u63a7\u4e3b\u673a\u7684 Prometheus \u901a\u8fc7 cpolar \u516c\u7f51\u5730\u5740\u7edf\u4e00\u6293\u53d6\u6240\u6709\u670d\u52a1\u5668\u6570\u636e&#xff0c;\u5750\u5728\u529e\u516c\u5ba4\u5c31\u80fd\u770b\u5168\u516c\u53f8\u670d\u52a1\u5668\u72b6\u6001&#xff0c;\u544a\u8b66\u4fe1\u606f\u5b9e\u65f6\u63a8\u9001&#xff0c;\u518d\u4e5f\u4e0d\u7528\u8dd1\u65ad\u817f\u3002<\/li>\n<\/ul>\n<h6>\u573a\u666f 2&#xff1a;\u4e2a\u4eba\u5f00\u53d1\u8005 \/ \u6280\u672f\u7231\u597d\u8005\u5b9e\u9a8c\u73af\u5883\u8fdc\u7a0b\u8c03\u8bd5<\/h6>\n<ul>\n<li>\u75db\u70b9&#xff1a;\u5bb6\u91cc\u7684 Linux \u5b9e\u9a8c\u673a\u53ea\u6709\u5185\u7f51 IP&#xff0c;\u5916\u51fa\u65f6\u60f3\u8c03\u8bd5\u76d1\u63a7\u914d\u7f6e\u3001\u67e5\u770b\u6307\u6807\u6570\u636e&#xff0c;\u53ea\u80fd\u8fdc\u7a0b\u63a7\u5236\u5bb6\u91cc\u7535\u8111&#xff0c;\u64cd\u4f5c\u7e41\u7410&#xff1b;<\/li>\n<li>\u723d\u70b9&#xff1a;\u7ed9\u5bb6\u91cc\u7684 Node Exporter \u914d cpolar \u56fa\u5b9a\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u5728\u5916\u7528\u624b\u673a\u3001\u7b14\u8bb0\u672c\u5c31\u80fd\u76f4\u63a5\u8bbf\u95ee Node Exporter \u63a5\u53e3&#xff0c;\u4fee\u6539 Prometheus \u914d\u7f6e\u540e\u5b9e\u65f6\u9a8c\u8bc1\u6548\u679c&#xff0c;\u968f\u65f6\u968f\u5730\u6298\u817e\u6280\u672f&#xff0c;\u6548\u7387\u62c9\u6ee1\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181204-6a64fc74a325d.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>cpolar \u5185\u7f51\u7a7f\u900f\u6280\u672f\u5e26\u6765\u7684\u4fbf\u5229<\/h4>\n<li>\n<p>\u4e0d\u7528\u6c42\u8fd0\u8425\u5546&#xff0c;\u96f6\u6210\u672c\u62ff \u201c\u516c\u7f51\u901a\u9053\u201d<\/p>\n<p>\u4f20\u7edf\u8fdc\u7a0b\u76d1\u63a7\u9700\u8981\u7533\u8bf7\u516c\u7f51 IP&#xff0c;\u8981\u4e48\u7b49\u5ba1\u6279\u3001\u8981\u4e48\u52a0\u94b1&#xff0c;cpolar \u4e00\u952e\u5b89\u88c5\u540e&#xff0c;\u76f4\u63a5\u7ed9\u5185\u7f51\u7684 Node Exporter \u5206\u914d\u516c\u7f51\u5730\u5740&#xff0c;\u4e0d\u7ba1\u662f\u5728\u5bb6\u3001\u516c\u53f8\u8fd8\u662f\u673a\u623f&#xff0c;\u53ea\u8981\u80fd\u4e0a\u7f51&#xff0c;Prometheus \u5c31\u80fd\u8fdc\u7a0b\u6293\u53d6\u6570\u636e&#xff0c;\u7701\u4e86\u516c\u7f51 IP \u7684\u94b1\u548c\u65f6\u95f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u56fa\u5b9a\u5730\u5740\u4e0d\u7ffb\u8f66&#xff0c;\u76d1\u63a7\u4e0d\u4e2d\u65ad<\/p>\n<p>cpolar \u652f\u6301\u4fdd\u7559\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u4e0d\u7528\u6bcf\u6b21\u91cd\u542f\u90fd\u6362\u516c\u7f51\u5730\u5740&#xff0c;\u907f\u514d Prometheus \u914d\u7f6e\u9891\u7e41\u4fee\u6539&#xff1b;\u4e0d\u7ba1\u662f\u4e34\u65f6\u8c03\u8bd5\u8fd8\u662f\u957f\u671f\u76d1\u63a7&#xff0c;\u56fa\u5b9a\u5730\u5740\u90fd\u80fd\u4fdd\u8bc1\u76d1\u63a7\u94fe\u8def\u7a33\u5b9a&#xff0c;\u518d\u4e5f\u4e0d\u7528\u56e0\u4e3a\u5730\u5740\u53d8\u4e86\u91cd\u65b0\u914d\u7f6e\u3002<\/p>\n<\/li>\n<li>\n<p>\u64cd\u4f5c\u50bb\u74dc\u5316&#xff0c;\u6280\u672f\u5c0f\u767d\u4e5f\u80fd\u4e0a\u624b<\/p>\n<p>\u4e0d\u7528\u61c2\u7aef\u53e3\u6620\u5c04\u3001\u9632\u706b\u5899\u914d\u7f6e\u3001\u57df\u540d\u5907\u6848\u8fd9\u4e9b\u590d\u6742\u64cd\u4f5c&#xff0c;cpolar \u6709\u53ef\u89c6\u5316\u7ba1\u7406\u754c\u9762&#xff0c;\u70b9\u51e0\u4e0b\u9f20\u6807\u5c31\u80fd\u521b\u5efa\u96a7\u9053\u3001\u914d\u7f6e\u57df\u540d&#xff0c;\u8fd0\u7ef4\u65b0\u624b\u4e5f\u80fd 5 \u5206\u949f\u641e\u5b9a\u5185\u7f51\u670d\u52a1\u66b4\u9732&#xff0c;\u628a\u7cbe\u529b\u653e\u5728\u76d1\u63a7\u672c\u8eab&#xff0c;\u800c\u4e0d\u662f\u7f51\u7edc\u914d\u7f6e\u4e0a\u3002<\/p>\n<\/li>\n<li>\n<p>\u8de8\u7f51\u7edc\u65e0\u969c\u788d&#xff0c;\u5f02\u5730\u76d1\u63a7\u8d85\u4e1d\u6ed1<\/p>\n<p>\u4e0d\u7ba1\u662f\u51fa\u5dee\u5728\u5916\u7528 4G \u7f51\u7edc&#xff0c;\u8fd8\u662f\u5ba2\u6237\u73b0\u573a\u7528\u9152\u5e97 WiFi&#xff0c;\u53ea\u8981\u80fd\u8bbf\u95ee\u4e92\u8054\u7f51&#xff0c;\u5c31\u80fd\u901a\u8fc7 cpolar \u7684\u516c\u7f51\u5730\u5740\u67e5\u770b\u670d\u52a1\u5668\u76d1\u63a7\u6570\u636e\u3001\u8c03\u6574\u544a\u8b66\u89c4\u5219&#xff0c;\u771f\u6b63\u5b9e\u73b0 \u201c\u670d\u52a1\u5668\u8ddf\u7740\u4eba\u8d70&#xff0c;\u76d1\u63a7\u4e0d\u6253\u70ca\u201d\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b89\u5168\u4e0d\u6253\u6298&#xff0c;\u5185\u7f51\u670d\u52a1\u4e0d\u88f8\u5954<\/p>\n<p>cpolar \u7684\u96a7\u9053\u8bbf\u95ee\u6709\u8eab\u4efd\u9a8c\u8bc1&#xff0c;\u4e0d\u7528\u62c5\u5fc3\u5185\u7f51\u7684 Node Exporter \u670d\u52a1\u88ab\u964c\u751f\u4eba\u8bbf\u95ee&#xff1b;\u76f8\u6bd4\u76f4\u63a5\u5f00\u653e\u670d\u52a1\u5668\u7aef\u53e3\u5230\u516c\u7f51&#xff0c;cpolar \u76f8\u5f53\u4e8e\u7ed9\u5185\u7f51\u670d\u52a1\u52a0\u4e86 \u201c\u5b89\u5168\u95e8\u201d&#xff0c;\u65e2\u65b9\u4fbf\u8bbf\u95ee\u53c8\u4fdd\u8bc1\u5b89\u5168\u3002<\/p>\n<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181205-6a64fc751fb7f.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u603b\u7ed3<\/h4>\n<p>Prometheus&#043;Node Exporter \u672c\u6765\u5c31\u662f Linux \u8de8\u4e3b\u673a\u76d1\u63a7\u7684 \u201c\u9ec4\u91d1\u7ec4\u5408\u201d&#xff0c;\u80fd\u7cbe\u51c6\u91c7\u96c6\u3001\u7075\u6d3b\u544a\u8b66&#xff0c;\u4f46\u53d7\u9650\u4e8e\u5185\u7f51\u73af\u5883&#xff0c;\u8fdc\u7a0b\u8bbf\u95ee\u4e00\u76f4\u662f\u8001\u5927\u96be&#xff1b;\u800c cpolar \u5c31\u50cf\u7ed9\u8fd9\u4e2a\u7ec4\u5408\u88c5\u4e86 \u201c\u7fc5\u8180\u201d&#xff0c;\u4e0d\u7528\u6298\u817e\u590d\u6742\u7684\u7f51\u7edc\u914d\u7f6e&#xff0c;\u5c31\u80fd\u8ba9\u5185\u7f51\u7684\u76d1\u63a7\u670d\u52a1\u8f7b\u677e \u201c\u98de\u201d \u5230\u516c\u7f51\u3002<\/p>\n<p>\u4e0d\u7ba1\u662f\u4e2d\u5c0f\u4f01\u4e1a\u8fd0\u7ef4\u3001\u4e2a\u4eba\u5f00\u53d1\u8005&#xff0c;\u8fd8\u662f\u6280\u672f\u7231\u597d\u8005&#xff0c;\u7528\u8fd9\u5957\u7ec4\u5408\u65e2\u80fd\u4f4e\u6210\u672c\u5b9e\u73b0\u8de8\u4e3b\u673a\u76d1\u63a7&#xff0c;\u53c8\u80fd\u968f\u65f6\u968f\u5730\u8bbf\u95ee\u76d1\u63a7\u6570\u636e&#xff0c;\u65e2\u89e3\u51b3\u4e86 \u201c\u770b\u5f97\u89c1\u201d \u7684\u95ee\u9898&#xff0c;\u53c8\u89e3\u51b3\u4e86 \u201c\u770b\u5f97\u8fdc\u201d \u7684\u95ee\u9898\u3002\u4ece\u5b89\u88c5 Node Exporter \u91c7\u96c6\u6570\u636e&#xff0c;\u5230\u914d\u7f6e Prometheus \u62c9\u53d6\u76d1\u63a7\u6307\u6807&#xff0c;\u518d\u5230 cpolar \u6253\u901a\u5185\u7f51\u5230\u516c\u7f51\u7684\u901a\u9053&#xff0c;\u6574\u4e2a\u6d41\u7a0b\u7b80\u5355\u6613\u4e0a\u624b&#xff0c;\u582a\u79f0 \u201c\u96f6\u95e8\u69db\u642d\u5efa\u8fdc\u7a0b\u670d\u52a1\u5668\u76d1\u63a7\u201d \u7684\u6700\u4f18\u89e3\u3002<\/p>\n<h5>\u770b\u5f97\u89c1\u53c8\u770b\u5f97\u8fdc\u5f53\u7136\u662f\u8d85\u597d\u7684\u7ec4\u5408\u55bd\u3002\u770b\u4e0b\u9762\u7684\u6559\u7a0b\u5b89\u88c5\u8d77\u6765\u5427\u3002<\/h5>\n<p>\u672c\u6587\u5c06\u4ee5\u6700\u7b80\u62d3\u6251\u4e3a\u4f8b&#xff1a;\u4e00\u53f0\u4e3b\u673a\u8fd0\u884cPrometheus\u4f5c\u4e3a\u76d1\u63a7\u4e2d\u5fc3&#xff0c;\u53e6\u4e00\u53f0\u4e3b\u673a\u8fd0\u884cNode Exporter\u4f5c\u4e3a\u88ab\u76d1\u63a7\u7aef&#xff0c;\u624b\u628a\u624b\u6f14\u793a\u5982\u4f55\u914d\u7f6e\u7f51\u7edc\u3001\u670d\u52a1\u53d1\u73b0\u4e0e\u91c7\u96c6\u4efb\u52a1&#xff0c;\u5b9e\u73b0\u8de8\u4e3b\u673a\u7684Linux\u7cfb\u7edf\u6307\u6807\u76d1\u63a7\u3002\u65e0\u8bba\u4f60\u662fDevOps\u5de5\u7a0b\u5e08\u3001SRE&#xff0c;\u8fd8\u662f\u6b63\u5728\u642d\u5efa\u4e2a\u4eba\u5b9e\u9a8c\u73af\u5883\u7684\u6280\u672f\u7231\u597d\u8005&#xff0c;\u8fd9\u5957\u65b9\u6848\u90fd\u662f\u6784\u5efa\u53ef\u89c2\u6d4b\u6027\u57fa\u7840\u8bbe\u65bd\u7684\u7b2c\u4e00\u6b65\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181205-6a64fc758f571.png\" alt=\"image-20251118165942514\" \/><\/p>\n<h3>1.Centos7\u5b89\u88c5node_exporter\u5b9e\u73b0\u76d1\u63a7\u90e8\u7f72<\/h3>\n<p>\u5b89\u88c5\u524d\u63d0&#xff1a;\u4e24\u53f0\u865a\u62df\u673a&#xff08;\u4e00\u53f0\u76d1\u63a7\u53e6\u4e00\u53f0\u6570\u636e&#xff09;<\/p>\n<ul>\n<li>\u76d1\u63a7\u4e3b\u673aip&#xff1a;192.168.42.140<\/li>\n<li>\u88ab\u76d1\u63a7\u4e3b\u673aip&#xff1a;192.168.42.145<\/li>\n<\/ul>\n<p>\u76d1\u63a7\u4e3b\u673a\u9700\u8981\u5b89\u88c5&#xff1a;<\/p>\n<ul>\n<li>prometheus<\/li>\n<li>alertmanager<\/li>\n<\/ul>\n<p>\u88ab\u76d1\u63a7\u4e3b\u673a\u9700\u8981\u5b89\u88c5&#xff1a;<\/p>\n<ul>\n<li>node_exporter<\/li>\n<\/ul>\n<p>\u5b89\u88c5prometheus\u548calertmanager\u53ef\u4ee5\u53c2\u8003\u8fd9\u4e2a\u4e24\u7bc7\u6559\u7a0b&#xff1a;\u76d1\u63a7\u4e0d\u518d\u5c40\u57df\u7f51&#xff01;Cpolar \u8ba9 Prometheus \u8d70\u51fa\u5185\u7f51\u9650\u5236&#xff01; &#8211; cpolar \u6781\u70b9\u4e91\u5b98\u7f51<\/p>\n<p>\u544a\u522b\u5b95\u673a&#xff01;\u96f6\u57fa\u7840\u642d\u5efa\u670d\u52a1\u5668\u76d1\u63a7\u544a\u8b66\u7cfb\u7edf&#xff01;\u5c0f\u767d\u4e5f\u80fd\u5b66\u4f1a&#xff01;<\/p>\n<p>\u88ab\u76d1\u63a7\u4e3b\u673a\u4f7f\u7528\u547d\u4ee4\u5b89\u88c5node_exporter&#xff1a;<\/p>\n<p><span class=\"token function\">curl<\/span> -LO https:\/\/github.com\/prometheus\/node_exporter\/releases\/download\/v1.2.0\/node_exporter-1.2.0.linux-amd64.tar.gz<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181205-6a64fc75b8c92.png\" alt=\"67d94e9bf4d52e5bf630219002f5fee2\" \/><\/p>\n<p>\u4e0b\u8f7d\u5b8c\u540e&#xff0c;\u89e3\u538b&#xff1a;<\/p>\n<p><span class=\"token function\">tar<\/span> xvfz node_exporter-1.2.0.linux-amd64.tar.gz<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181205-6a64fc75ce534.png\" alt=\"50e525519c2f5818aecc5e3f4364cfd0\" \/><\/p>\n<p>\u5c06\u540d\u4e3a node_exporter-1.2.0.linux-amd64 \u7684\u76ee\u5f55&#xff0c;\u79fb\u52a8\u5230 \/opt \u76ee\u5f55\u4e0b&#xff0c;\u5e76\u91cd\u547d\u540d\u4e3a node_exporter&#xff1a;<\/p>\n<p> <span class=\"token function\">mv<\/span> node_exporter-1.2.0.linux-amd64 \/opt\/node_exporter<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181205-6a64fc75d9b14.png\" alt=\"93ff7acd392aadd752a4d0ddd8c3ac9b\" \/><\/p>\n<p>\u4f7f\u7528 vi \u7f16\u8f91\u5668&#xff0c;\u521b\u5efa\u6216\u4fee\u6539\u4e00\u4e2a systemd \u670d\u52a1\u914d\u7f6e\u6587\u4ef6&#xff0c;\u4ee5\u4fbf\u5c06 node_exporter \u6ce8\u518c\u4e3a\u4e00\u4e2a\u7cfb\u7edf\u670d\u52a1&#xff0c;\u5b9e\u73b0\u5f00\u673a\u81ea\u542f\u3001\u72b6\u6001\u7ba1\u7406&#xff08;\u5982 start\/stop\/status&#xff09;\u7b49\u529f\u80fd&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">vi<\/span> \/etc\/systemd\/system\/node_exporter.service<\/p>\n<p>\u5c06 node_exporter \u6ce8\u518c\u4e3a\u4e00\u4e2a Linux \u7cfb\u7edf\u670d\u52a1&#xff0c;\u4ee5\u4e13\u7528\u7528\u6237\u8eab\u4efd\u8fd0\u884c&#xff0c;\u786e\u4fdd\u5728\u7f51\u7edc\u5c31\u7eea\u540e\u81ea\u52a8\u542f\u52a8&#xff0c;\u5e76\u652f\u6301\u901a\u8fc7 systemctl \u547d\u4ee4\u8fdb\u884c\u7ba1\u7406:<\/p>\n<p><span class=\"token punctuation\">[<\/span>Unit<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">Description<\/span><span class=\"token operator\">&#061;<\/span>Node Exporter<br \/>\n<span class=\"token assign-left variable\">Documentation<\/span><span class=\"token operator\">&#061;<\/span>https:\/\/github.com\/prometheus\/node_exporter<br \/>\n<span class=\"token assign-left variable\">After<\/span><span class=\"token operator\">&#061;<\/span>network.target<\/p>\n<p><span class=\"token punctuation\">[<\/span>Service<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">User<\/span><span class=\"token operator\">&#061;<\/span>node_exporter<br \/>\n<span class=\"token assign-left variable\">Group<\/span><span class=\"token operator\">&#061;<\/span>node_exporter<br \/>\n<span class=\"token assign-left variable\">Type<\/span><span class=\"token operator\">&#061;<\/span>simple<br \/>\n<span class=\"token assign-left variable\">ExecStart<\/span><span class=\"token operator\">&#061;<\/span>\/opt\/node_exporter\/node_exporter<\/p>\n<p><span class=\"token punctuation\">[<\/span>Install<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">WantedBy<\/span><span class=\"token operator\">&#061;<\/span>default.target<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181205-6a64fc75e4642.png\" alt=\"a52a219f4376276f0b149cb067daae74\" \/><\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a node_exporter \u7684\u7cfb\u7edf\u7528\u6237&#xff0c;\u4e0d\u521b\u5efa\u5bb6\u76ee\u5f55\u3001\u4e0d\u5141\u8bb8\u767b\u5f55&#xff0c;\u4e13\u7528\u4e8e\u8fd0\u884c node_exporter \u670d\u52a1:<\/p>\n<p><span class=\"token function\">useradd<\/span> &#8211;no-create-home &#8211;shell \/bin\/false node_exporter<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181205-6a64fc75f38bc.png\" alt=\"984dbbcd4abf705132294920d9afd0c3\" \/><\/p>\n<p>\u901a\u77e5 systemd \u91cd\u65b0\u52a0\u8f7d\u6240\u6709\u670d\u52a1\u914d\u7f6e\u6587\u4ef6:<\/p>\n<p> systemctl daemon-reload<br \/>\n systemctl <span class=\"token builtin class-name\">enable<\/span> node_exporter<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181206-6a64fc76095d6.png\" alt=\"cf4a78285e92a6f1563c4834ca03bc2e\" \/><\/p>\n<p>\u542f\u52a8\u540e&#xff0c;ip&#043;9100\u5373\u53ef\u542f\u52a8node_exporter:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181206-6a64fc763a4dd.png\" alt=\"1ea5b3008fb70f7dd5e120ddb83d1e55\" \/><\/p>\n<h3>2.Prometheus\u914d\u7f6enode_exporter<\/h3>\n<p>\u8fdb\u5165prometheus\u7684\u5b89\u88c5\u76ee\u5f55&#xff0c;\u7f16\u8f91prometheus.yml&#xff1a;<\/p>\n<p><span class=\"token function\">vi<\/span> prometheus.yml<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181206-6a64fc764b68b.png\" alt=\"617b7c63988725ef8a361a4e7afb4b4a\" \/><\/p>\n<p>\u52a0\u5165\u88ab\u76d1\u63a7\u4e3b\u673aip&#043;\u7aef\u53e3&#xff0c;\u5982\u4e0b&#xff0c;\u6ce8\u610f\u683c\u5f0f&#xff08;\u4e0d\u7136\u65e0\u6cd5\u542f\u52a8\u6210\u529f&#xff09;&#xff1a;<\/p>\n<p>      &#8211; targets: <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;192.168.42.145:9100&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        labels:<br \/>\n          app: <span class=\"token string\">&#034;node_exporter&#034;<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181206-6a64fc76554b7.png\" alt=\"image-20251118153325140\" \/><\/p>\n<p>\u91cd\u542fPrometheus&#xff1a;<\/p>\n<p>systemctl restart prometheus<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181206-6a64fc7665721.png\" alt=\"f69eab54844fe0c568b150191e847712\" \/><\/p>\n<p>prometheus \u6210\u529f\u6293\u53d6\u4e86node_exporter\u6307\u6807\u6570\u636e&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181206-6a64fc766fff1.png\" alt=\"image-20251118153513799\" \/><\/p>\n<p>\u6d4b\u8bd5\u4e86\u4e00\u4e0b&#xff0c;\u82e5\u662f\u672a\u542f\u52a8\u7aef\u53e3&#xff0c;\u662f\u65e0\u6cd5\u6210\u529f\u6293\u53d6\u7684&#xff01;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181206-6a64fc76d1410.png\" alt=\"6cd3706ba634cc189d2f4abcbd9f3049\" \/><\/p>\n<p>\u63a5\u4e0b\u6765&#xff0c;\u6211\u4eec\u5229\u7528\u5185\u7f51\u7a7f\u900f\u5de5\u5177cpolar\u5c06 node_exporter \u7684 9100 \u7aef\u53e3\u5b89\u5168\u66b4\u9732\u81f3\u516c\u7f51&#xff0c;\u5b9e\u73b0\u8fdc\u7a0b\u53ef\u89c6\u5316\u76d1\u63a7\u3002<\/p>\n<h3>3.\u914d\u7f6ealertmanager\u76d1\u63a7\u4e3b\u673a\u7684\u6570\u636e<\/h3>\n<p>\u914d\u7f6ealertmanager\u544a\u8b66&#xff1a;<\/p>\n<p>\u8fdb\u5165prometheus\u7684\u5b89\u88c5\u76ee\u5f55&#xff0c;\u7f16\u8f91prometheus.yml&#xff1a;<\/p>\n<p><span class=\"token function\">vi<\/span> prometheus.yml<\/p>\n<p>\u5982\u56fe\u586b\u5199&#xff1a;<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181207-6a64fc7728f54.png\" alt=\"image-20251118155320035\" \/><\/p>\n<p>\u7f16\u8f913.yml\u6dfb\u52a0\u4e0b\u9762\u4fe1\u606f\u76d1\u63a7192.168.42.145\u7684\u5185\u5b58\u548cCPU\u4f7f\u7528\u7387&#xff0c;\u8d85\u8fc710%\u5c31\u544a\u8b66&#xff1a;<\/p>\n<p>groups:<br \/>\n  &#8211; name: node-alerts<br \/>\n    rules:<br \/>\n      <span class=\"token comment\"># CPU \u4f7f\u7528\u7387 &gt; 10% \u6301\u7eed10s<\/span><br \/>\n      &#8211; alert: \u9ad8CPU\u4f7f\u7528\u7387<br \/>\n        expr: <span class=\"token number\">100<\/span> &#8211; <span class=\"token punctuation\">(<\/span>avg by <span class=\"token punctuation\">(<\/span>instance, job<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">(<\/span>rate<span class=\"token punctuation\">(<\/span>node_cpu_seconds_total<span class=\"token punctuation\">{<\/span>mode<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;idle&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">[<\/span>5m<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">))<\/span> * <span class=\"token number\">100<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">10<\/span><br \/>\n        for: 10s<br \/>\n        labels:<br \/>\n          severity: warning<br \/>\n        annotations:<br \/>\n          summary: <span class=\"token string\">&#034;\u9ad8CPU\u4f7f\u7528 {{ <span class=\"token variable\">$labels<\/span>.instance }}&#034;<\/span><br \/>\n          description: <span class=\"token string\">&#034;CPU\u5927\u4e8e10% (current value: {{ <span class=\"token variable\">$value<\/span> }}%) \u8d85\u8fc710s&#034;<\/span><\/p>\n<p>      <span class=\"token comment\"># \u5185\u5b58\u4f7f\u7528\u7387 &gt; 10%<\/span><br \/>\n      &#8211; alert: \u5185\u5b58\u4f7f\u7528\u7387<br \/>\n        expr: <span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span> &#8211; <span class=\"token punctuation\">(<\/span>node_memory_MemAvailable_bytes \/ node_memory_MemTotal_bytes<span class=\"token punctuation\">))<\/span> * <span class=\"token number\">100<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">10<\/span><br \/>\n        for: 10s<br \/>\n        labels:<br \/>\n          severity: warning<br \/>\n        annotations:<br \/>\n          summary: <span class=\"token string\">&#034;\u5185\u5b58\u4f7f\u7528\u7387\u8fc7\u9ad8 {{ <span class=\"token variable\">$labels<\/span>.instance }}&#034;<\/span><br \/>\n          description: <span class=\"token string\">&#034;\u5185\u5b58\u4f7f\u7528\u7387\u5927\u4e8e10% (current value: {{ <span class=\"token variable\">$value<\/span> }}%) \u8d85\u8fc710s&#034;<\/span><\/p>\n<p>\u91cd\u542fPrometheus&#xff1a;<\/p>\n<p>systemctl restart prometheus<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181207-6a64fc773faa0.png\" alt=\"f69eab54844fe0c568b150191e847712\" \/><\/p>\n<p>\u767b\u5230prometheus\u7f51\u9875\u540e&#xff0c;\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u7684\u544a\u8b66\u6dfb\u52a0\u6210\u529f\u5566&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-263qin1w44glw.png\" alt=\"image-20251118155940609\" \/><\/p>\n<p>\u544a\u8b66\u6570\u636e\u4e5f\u6210\u529f\u663e\u793a\u5566&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26ndn4ozuaatd.png\" alt=\"image-20251118160058667\" \/><\/p>\n<p>\u8fd9\u6837\u6211\u4eec\u6210\u529f\u5229\u7528node_exporter\u76d1\u63a7\u5230\u4e86\u53e6\u4e00\u53f0\u4e3b\u673a\u7684\u6570\u636e&#xff1a;<\/p>\n<h3>4.\u5b89\u88c5cpolar\u968f\u65f6\u968f\u5730\u5f00\u53d1&#xff08;\u88ab\u76d1\u63a7\u4e3b\u673a\u5b89\u88c5&#xff09;<\/h3>\n<p>cpolar \u53ef\u4ee5\u5c06\u4f60\u672c\u5730\u7535\u8111\u4e2d\u7684\u670d\u52a1&#xff08;\u5982 SSH\u3001Web\u3001\u6570\u636e\u5e93&#xff09;\u6620\u5c04\u5230\u516c\u7f51\u3002\u5373\u4f7f\u4f60\u5728\u5bb6\u91cc\u6216\u5916\u51fa\u65f6&#xff0c;\u4e5f\u53ef\u4ee5\u901a\u8fc7\u516c\u7f51\u5730\u5740\u8fde\u63a5\u56de\u672c\u5730\u8fd0\u884c\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<p>\u2764\ufe0f\u4ee5\u4e0b\u662f\u5b89\u88c5cpolar\u6b65\u9aa4&#xff1a;<\/p>\n<p>\u5b98\u7f51\u5728\u6b64&#xff1a;https:\/\/www.cpolar.com<\/p>\n<p>\u4f7f\u7528\u4e00\u952e\u811a\u672c\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">curl<\/span> https:\/\/get.cpolar.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><\/p>\n<p><img decoding=\"async\" src=\"2026-07-26qjzkurqkczi.png\" alt=\"6fcd3d90953ab77775b2e3ab5c2a9111\" \/><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u6267\u884c\u4e0b\u65b9\u547d\u4ee4\u67e5\u770bcpolar\u670d\u52a1\u72b6\u6001&#xff1a;&#xff08;\u5982\u56fe\u6240\u793a\u5373\u4e3a\u6b63\u5e38\u542f\u52a8&#xff09;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl status cpolar<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26vdcicwn0xcj.png\" alt=\"22e5adfaf290a17fc3384bb296055259\" \/><\/p>\n<p>Cpolar\u5b89\u88c5\u548c\u6210\u529f\u542f\u52a8\u670d\u52a1\u540e&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e0a\u8f93\u5165\u865a\u62df\u673a\u4e3b\u673aIP\u52a09200\u7aef\u53e3\u5373:\u3010http:\/\/192.168.42.145:9200\u3011\u8bbf\u95eeCpolar\u7ba1\u7406\u754c\u9762&#xff0c;\u4f7f\u7528Cpolar\u5b98\u7f51\u6ce8\u518c\u7684\u8d26\u53f7\u767b\u5f55,\u767b\u5f55\u540e\u5373\u53ef\u770b\u5230cpolar web \u914d\u7f6e\u754c\u9762,\u63a5\u4e0b\u6765\u5728web \u754c\u9762\u914d\u7f6e\u5373\u53ef&#xff1a;<\/p>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee\u672c\u57309200\u7aef\u53e3&#xff0c;\u4f7f\u7528cpolar\u8d26\u6237\u5bc6\u7801\u767b\u5f55\u5373\u53ef,\u767b\u5f55\u540e\u5373\u53ef\u5bf9\u96a7\u9053\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26rwjncbz4da4.png\" alt=\"8a6698b1bf26d64ba3645827fbfb1c29\" \/><\/p>\n<h3>5.\u914d\u7f6e\u516c\u7f51\u5730\u5740<\/h3>\n<p>\u767b\u5f55cpolar web UI\u7ba1\u7406\u754c\u9762\u540e,\u70b9\u51fb\u5de6\u4fa7\u4eea\u8868\u76d8\u7684\u96a7\u9053\u7ba1\u7406\u2014\u2014\u521b\u5efa\u96a7\u9053&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u96a7\u9053\u540d\u79f0&#xff1a;\u53ef\u81ea\u5b9a\u4e49&#xff0c;\u672c\u4f8b\u4f7f\u7528\u4e86:node_exporter&#xff0c;\u6ce8\u610f\u4e0d\u8981\u4e0e\u5df2\u6709\u7684\u96a7\u9053\u540d\u79f0\u91cd\u590d<\/p>\n<\/li>\n<li>\n<p>\u534f\u8bae&#xff1a;http<\/p>\n<\/li>\n<li>\n<p>\u672c\u5730\u5730\u5740&#xff1a;9100<\/p>\n<\/li>\n<li>\n<p>\u57df\u540d\u7c7b\u578b&#xff1a;\u968f\u673a\u57df\u540d<\/p>\n<\/li>\n<li>\n<p>\u5730\u533a&#xff1a;\u9009\u62e9China TOP<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-07-26jyjz5sxh1ol.png\" alt=\"image-20251118163042192\" \/><\/p>\n<p>\u521b\u5efa\u6210\u529f\u540e&#xff0c;\u6253\u5f00\u5de6\u4fa7\u5728\u7ebf\u96a7\u9053\u5217\u8868,\u53ef\u4ee5\u770b\u5230\u521a\u521a\u901a\u8fc7\u521b\u5efa\u96a7\u9053\u751f\u6210\u4e86\u516c\u7f51\u5730\u5740&#xff0c;\u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u5728\u5176\u4ed6\u7535\u8111\u6216\u8005\u79fb\u52a8\u7aef\u8bbe\u5907&#xff08;\u5f02\u5730&#xff09;\u4e0a&#xff0c;\u4f7f\u7528\u5730\u5740\u8bbf\u95ee\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-263n2jiuu5ceq.png\" alt=\"image-20251118163114743\" \/><\/p>\n<p>\u8bbf\u95ee\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26b1udhcwmd0b.png\" alt=\"image-20251118163136732\" \/><\/p>\n<h3>6.\u5c06node_exporter\u66b4\u9732\u7ed9Prometheus\u8fdb\u884c\u8fdc\u7a0b\u6293\u53d6<\/h3>\n<p>\u8fd4\u56de\u5230\u76d1\u63a7\u4e3b\u673a&#xff0c;\u7f16\u8f91prometheus\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">vi<\/span> prometheus.yml<\/p>\n<p>Prometheus\u53ef\u4ee5\u901a\u8fc71a0f75b.r2.cpolar.top\u8fd9\u4e2a\u516c\u7f51\u5730\u5740\u8bbf\u95ee\u5230\u8fd0\u884c\u5728192.168.42.145&#xff1a;9100\u7684node_exporter\u670d\u52a1&#xff0c;\u4ece\u800c\u6293\u53d6\u7cfb\u7edf\u6307\u6807\u3002<\/p>\n<p>      &#8211; targets: <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;1a0f75b.r2.cpolar.top&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        labels:<br \/>\n          app: <span class=\"token string\">&#034;node_exporter&#034;<\/span><\/p>\n<p><img decoding=\"async\" src=\"2026-07-265j0npzndjp4.png\" alt=\"image-20251118163414089\" \/><\/p>\n<p>\u91cd\u542fPrometheus&#xff1a;<\/p>\n<p>systemctl restart prometheus<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181207-6a64fc773faa0.png\" alt=\"f69eab54844fe0c568b150191e847712\" \/><\/p>\n<p>\u767b\u5230prometheus\u7f51\u9875\u540e&#xff0c;\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u7684\u6293\u53d6\u6210\u529f&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26seg1emcxb1s.png\" alt=\"image-20251118163704452\" \/><\/p>\n<h3>7.\u4fdd\u7559\u56fa\u5b9a\u516c\u7f51\u5730\u5740<\/h3>\n<p>\u4f7f\u7528cpolar\u4e3a\u5176\u914d\u7f6e\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u8be5\u5730\u5740\u4e3a\u56fa\u5b9a\u5730\u5740&#xff0c;\u4e0d\u4f1a\u968f\u673a\u53d8\u5316\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-265ia0a2tj4ay.png\" alt=\"bb57af88579d81253d911fe4abd7fe01\" \/><\/p>\n<p>\u70b9\u51fb\u5de6\u4fa7\u7684\u9884\u7559&#xff0c;\u9009\u62e9\u4fdd\u7559\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u5730\u533a\u9009\u62e9china Vip&#xff0c;\u7136\u540e\u8bbe\u7f6e\u4e00\u4e2a\u4e8c\u7ea7\u5b50\u57df\u540d\u540d\u79f0&#xff0c;\u6211\u8fd9\u91cc\u6f14\u793a\u4f7f\u7528\u7684\u662fnodee&#xff0c;\u5927\u5bb6\u53ef\u4ee5\u81ea\u5b9a\u4e49\u3002\u586b\u5199\u5907\u6ce8\u4fe1\u606f&#xff0c;\u70b9\u51fb\u4fdd\u7559\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26ye31uqlc0bn.png\" alt=\"image-20251118165553026\" \/><\/p>\n<p>\u767b\u5f55cpolar web UI\u7ba1\u7406\u754c\u9762&#xff0c;\u70b9\u51fb\u5de6\u4fa7\u4eea\u8868\u76d8\u7684\u96a7\u9053\u7ba1\u7406\u2014\u2014\u96a7\u9053\u5217\u8868&#xff0c;\u627e\u5230\u6240\u8981\u914d\u7f6e\u7684\u96a7\u9053node_exporter&#xff0c;\u70b9\u51fb\u53f3\u4fa7\u7684\u7f16\u8f91\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26molt4wx30f0.png\" alt=\"image-20251118165625022\" \/><\/p>\n<p>\u4fee\u6539\u96a7\u9053\u4fe1\u606f&#xff0c;\u5c06\u4fdd\u7559\u6210\u529f\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u914d\u7f6e\u5230\u96a7\u9053\u4e2d<\/p>\n<ul>\n<li>\u57df\u540d\u7c7b\u578b&#xff1a;\u9009\u62e9\u4e8c\u7ea7\u5b50\u57df\u540d<\/li>\n<li>Sub Domain&#xff1a;\u586b\u5199\u4fdd\u7559\u6210\u529f\u7684\u4e8c\u7ea7\u5b50\u57df\u540d<\/li>\n<li>\u5730\u533a: China TOP<\/li>\n<\/ul>\n<p>\u70b9\u51fb\u66f4\u65b0<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26ql3titc3bal.png\" alt=\"image-20251118165657789\" \/><\/p>\n<p>\u66f4\u65b0\u5b8c\u6210\u540e&#xff0c;\u6253\u5f00\u5728\u7ebf\u96a7\u9053\u5217\u8868&#xff0c;\u6b64\u65f6\u53ef\u4ee5\u770b\u5230\u968f\u673a\u7684\u516c\u7f51\u5730\u5740\u5df2\u7ecf\u53d1\u751f\u53d8\u5316&#xff0c;\u5730\u5740\u540d\u79f0\u4e5f\u53d8\u6210\u4e86\u4fdd\u7559\u548c\u56fa\u5b9a\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u540d\u79f0\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26pp5calhn20x.png\" alt=\"image-20251118165716130\" \/><\/p>\n<p>\u6700\u540e&#xff0c;\u6211\u4eec\u4f7f\u7528\u56fa\u5b9a\u7684\u516c\u7f51\u5730\u5740\u5728\u4efb\u610f\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee&#xff0c;\u53ef\u4ee5\u770b\u5230\u6210\u529f\u8bbf\u95ee\u672c\u5730\u90e8\u7f72\u7684node_exporter\u9875\u9762&#xff0c;\u8fd9\u6837\u4e00\u4e2a\u6c38\u4e45\u4e0d\u4f1a\u53d8\u5316\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u516c\u7f51\u7f51\u5740\u5373\u8bbe\u7f6e\u597d\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-26de1hajbimru.png\" alt=\"image-20251118165740885\" \/><\/p>\n<p>\u81f3\u6b64&#xff0c;\u6211\u4eec\u5b8c\u6210\u4e86\u8fdc\u7a0b\u670d\u52a1\u5668\u76d1\u63a7\u642d\u5efa\u3002<\/p>\n<h3>\u7ed3\u5c3e<\/h3>\n<p>\u672c\u6587\u56f4\u7ed5\u201c\u8de8\u4e3b\u673a\u76d1\u63a7\u201d\u8fd9\u4e00\u5178\u578b\u8fd0\u7ef4\u573a\u666f&#xff0c;\u8be6\u7ec6\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u7528 Prometheus &#043; Node Exporter \u6784\u5efa\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4f46\u9ad8\u6548\u7684 Linux \u7cfb\u7edf\u6307\u6807\u76d1\u63a7\u4f53\u7cfb\u3002<\/p>\n<p>\u6211\u4eec\u91c7\u7528\u5206\u79bb\u5f0f\u67b6\u6784&#xff1a;<\/p>\n<ul>\n<li>\u5728\u88ab\u76d1\u63a7\u4e3b\u673a\u4e0a\u90e8\u7f72 Node Exporter&#xff0c;\u7528\u4e8e\u91c7\u96c6 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u3001\u7f51\u7edc\u7b49\u7cfb\u7edf\u7ea7\u6307\u6807&#xff0c;\u5e76\u901a\u8fc7 HTTP \u63a5\u53e3\u66b4\u9732&#xff1b;<\/li>\n<li>\u5728\u72ec\u7acb\u7684\u76d1\u63a7\u4e3b\u673a\u4e0a\u90e8\u7f72 Prometheus&#xff0c;\u901a\u8fc7\u914d\u7f6e scrape_configs \u4e3b\u52a8\u62c9\u53d6\u8fdc\u7a0b\u4e3b\u673a\u7684\u6307\u6807\u6570\u636e\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u5408\u7406\u7684\u7f51\u7edc\u8fde\u901a\u6027\u8bbe\u7f6e\u3001Prometheus \u9759\u6001\u670d\u52a1\u53d1\u73b0\u914d\u7f6e\u4ee5\u53ca\u57fa\u7840\u9a8c\u8bc1\u6b65\u9aa4&#xff0c;\u6210\u529f\u5b9e\u73b0\u4e86\u4ece\u4e00\u53f0\u4e3b\u673a\u5bf9\u53e6\u4e00\u53f0 Linux \u670d\u52a1\u5668\u7684\u5b9e\u65f6\u6027\u80fd\u76d1\u63a7\u3002\u8be5\u65b9\u6848\u4e0d\u4ec5\u7ed3\u6784\u6e05\u6670\u3001\u8d44\u6e90\u5360\u7528\u4f4e&#xff0c;\u8fd8\u4e3a\u540e\u7eed\u96c6\u6210 Grafana \u53ef\u89c6\u5316\u3001Alertmanager \u544a\u8b66 \u6216\u6269\u5c55\u81f3\u591a\u8282\u70b9\u76d1\u63a7\u96c6\u7fa4\u5960\u5b9a\u4e86\u575a\u5b9e\u57fa\u7840\u3002<\/p>\n<p>\u8fd9\u79cd\u201c\u4e2d\u5fc3\u76d1\u63a7 &#043; \u8fb9\u7f18\u91c7\u96c6\u201d\u7684\u6a21\u5f0f&#xff0c;\u6b63\u662f\u73b0\u4ee3\u53ef\u89c2\u6d4b\u6027\u67b6\u6784\u7684\u6838\u5fc3\u601d\u60f3\u4e4b\u4e00\u3002\u638c\u63e1\u5b83&#xff0c;\u662f\u8fc8\u5411\u81ea\u52a8\u5316\u8fd0\u7ef4\u4e0e\u4e91\u539f\u751f\u76d1\u63a7\u7684\u91cd\u8981\u4e00\u6b65\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u662f\u4e0d\u662f\u4e5f\u9047\u5230\u8fc7\u8fd9\u4e9b\u7cdf\u5fc3\u4e8b&#xff1a;<br \/>\n\u2705 \u6848\u4f8b 1&#xff1a;\u8fd0\u7ef4\u5c0f\u54e5\u5c0f\u674e&#xff0c;\u516c\u53f8\u670d\u52a1\u5668\u5206\u6563\u5728\u673a\u623f\u548c\u5f02\u5730\u529e\u516c\u70b9&#xff0c;\u4e4b\u524d\u53ea\u80fd\u8e72\u5728\u673a\u623f\u770b\u76d1\u63a7&#xff0c;\u51fa\u5dee\u65f6\u670d\u52a1\u5668 CPU \u98d9\u5230 90% \u90fd\u4e0d\u77e5\u9053&#xff0c;\u56de\u6765\u88ab\u8001\u677f\u9a82\u5230\u72d7\u8840\u6dcb\u5934&#xff1b;\u7528\u4e86 PrometheusNode Exportercpolar \u540e&#xff0c;\u638f\u51fa\u624b\u673a\u5c31\u80fd\u770b\u6240\u6709\u670d\u52a1\u5668\u7684 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u6570\u636e&#xff0c;\u544a\u8b66\u4fe1\u606f\u5b9e\u65f6\u5f39\u5230\u5fae\u4fe1&#xff0c;\u51fa\u5dee\u4e5f\u80fd<\/p>\n","protected":false},"author":2,"featured_media":83562,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[321,58,678,43,200],"topic":[],"class_list":["post-83582","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-cpolar","tag-linux","tag-prometheus","tag-43","tag-200"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218 - \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\/83582.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4f60\u662f\u4e0d\u662f\u4e5f\u9047\u5230\u8fc7\u8fd9\u4e9b\u7cdf\u5fc3\u4e8b&#xff1a; \u2705 \u6848\u4f8b 1&#xff1a;\u8fd0\u7ef4\u5c0f\u54e5\u5c0f\u674e&#xff0c;\u516c\u53f8\u670d\u52a1\u5668\u5206\u6563\u5728\u673a\u623f\u548c\u5f02\u5730\u529e\u516c\u70b9&#xff0c;\u4e4b\u524d\u53ea\u80fd\u8e72\u5728\u673a\u623f\u770b\u76d1\u63a7&#xff0c;\u51fa\u5dee\u65f6\u670d\u52a1\u5668 CPU \u98d9\u5230 90% \u90fd\u4e0d\u77e5\u9053&#xff0c;\u56de\u6765\u88ab\u8001\u677f\u9a82\u5230\u72d7\u8840\u6dcb\u5934&#xff1b;\u7528\u4e86 PrometheusNode Exportercpolar \u540e&#xff0c;\u638f\u51fa\u624b\u673a\u5c31\u80fd\u770b\u6240\u6709\u670d\u52a1\u5668\u7684 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u6570\u636e&#xff0c;\u544a\u8b66\u4fe1\u606f\u5b9e\u65f6\u5f39\u5230\u5fae\u4fe1&#xff0c;\u51fa\u5dee\u4e5f\u80fd\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83582.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T18:12:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181203-6a64fc7346aea.jpg\" \/>\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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83582.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83582.html\",\"name\":\"\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T18:12:08+00:00\",\"dateModified\":\"2026-07-25T18:12:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83582.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83582.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83582.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218\"}]},{\"@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\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218 - \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\/83582.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4f60\u662f\u4e0d\u662f\u4e5f\u9047\u5230\u8fc7\u8fd9\u4e9b\u7cdf\u5fc3\u4e8b&#xff1a; \u2705 \u6848\u4f8b 1&#xff1a;\u8fd0\u7ef4\u5c0f\u54e5\u5c0f\u674e&#xff0c;\u516c\u53f8\u670d\u52a1\u5668\u5206\u6563\u5728\u673a\u623f\u548c\u5f02\u5730\u529e\u516c\u70b9&#xff0c;\u4e4b\u524d\u53ea\u80fd\u8e72\u5728\u673a\u623f\u770b\u76d1\u63a7&#xff0c;\u51fa\u5dee\u65f6\u670d\u52a1\u5668 CPU \u98d9\u5230 90% \u90fd\u4e0d\u77e5\u9053&#xff0c;\u56de\u6765\u88ab\u8001\u677f\u9a82\u5230\u72d7\u8840\u6dcb\u5934&#xff1b;\u7528\u4e86 PrometheusNode Exportercpolar \u540e&#xff0c;\u638f\u51fa\u624b\u673a\u5c31\u80fd\u770b\u6240\u6709\u670d\u52a1\u5668\u7684 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u6570\u636e&#xff0c;\u544a\u8b66\u4fe1\u606f\u5b9e\u65f6\u5f39\u5230\u5fae\u4fe1&#xff0c;\u51fa\u5dee\u4e5f\u80fd","og_url":"https:\/\/www.wsisp.com\/helps\/83582.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T18:12:08+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725181203-6a64fc7346aea.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83582.html","url":"https:\/\/www.wsisp.com\/helps\/83582.html","name":"\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T18:12:08+00:00","dateModified":"2026-07-25T18:12:08+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83582.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83582.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83582.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8fdc\u7a0b\u76d1\u63a7 Linux \u670d\u52a1\u5668\u4e0d\u8e29\u5751\uff01Prometheus+Node Exporter \u8f7b\u677e\u641e\u5b9a\u8de8\u4e3b\u673a\u76d1\u63a7\uff1a cpolar \u5185\u7f51\u7a7f\u900f\u5b9e\u9a8c\u5ba4\u7b2c 765 \u4e2a\u6210\u529f\u6311\u6218"}]},{"@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\/83582","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=83582"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83582\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/83562"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83582"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}