{"id":9975,"date":"2022-08-16T08:09:16","date_gmt":"2022-08-16T00:09:16","guid":{"rendered":"http:\/\/gulass.cn\/?p=9975"},"modified":"2022-08-16T08:53:23","modified_gmt":"2022-08-16T00:53:23","slug":"netdata-linux","status":"publish","type":"post","link":"https:\/\/gulass.cn\/netdata-linux.html","title":{"rendered":"Netdata Linux\u4e0b\u6027\u80fd\u5b9e\u65f6\u76d1\u6d4b\u5de5\u5177"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u672c\u6587\u5c06\u4ecb\u7ecd\u4e00\u6b3e\u975e\u5e38\u597d\u7528\u7684\u5de5\u5177\u2014\u2014Netdata\uff0c\u8fd9\u662f\u4e00\u6b3eLinux\u6027\u80fd\u5b9e\u65f6\u76d1\u6d4b\u5de5\u5177\uff0c\u4e3a\u4e00\u6b3e\u5f00\u6e90\u5de5\u5177<\/a>\uff0c\u6211\u5bf9\u5176\u82f1\u6587\u6587\u6863\u8fdb\u884c\u4e86\u7ffb\u8bd1\uff0c\u6c34\u5e73\u6709\u9650\uff0c\u6709\u7ffb\u8bd1\u9519\u8bef\u7684\u5730\u65b9\u6b22\u8fce\u5927\u5bb6\u6307\u51fa\uff0c\u5e0c\u671b\u672c\u6587\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\uff0c\u8c22\u8c22\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
Netdata<\/strong><\/div>\n

\u5b9e\u65f6\u6027\u80fd\u76d1\u6d4b(\u770b\u8d77\u6765\u662f\u4e0d\u662f\u903c\u683c\u975e\u5e38\u9ad8~)<\/p>\n

\"1.gif\"<\/a><\/p>\n

\u7279\u70b9\uff1a<\/strong><\/span><\/div>\n

Netdata\u662f\u4e00\u4e2a\u9ad8\u5ea6\u4f18\u5316\u7684Linux\u5b88\u62a4\u8fdb\u7a0b\uff0c\u5b83\u4e3aLinux\u7cfb\u7edf\uff0c\u5e94\u7528\u7a0b\u5e8f\uff0cSNMP\u670d\u52a1\u7b49\u63d0\u4f9b\u5b9e\u65f6\u7684\u6027\u80fd\u76d1\u6d4b\u3002<\/p>\n

\u5b83\u7528\u53ef\u89c6\u5316\u7684\u624b\u6bb5\uff0c\u5c06\u88ab\u76d1\u6d4b\u8005\u6700\u7ec6\u5fae\u7684\u7ec6\u8282\uff0c\u5c55\u73b0\u4e86\u51fa\u6765\u3002\u8fd9\u6837\uff0c\u4f60\u4fbf\u53ef\u4ee5\u6e05\u6670\u5730\u4e86\u89e3\u4f60\u7684\u7cfb\u7edf\u548c\u5e94\u7528\u7a0b\u5e8f\u6b64\u65f6\u7684\u72b6\u51b5\u3002<\/p>\n

\u4f7f\u7528\u6b64\u8f6f\u4ef6\uff0c\u4f60\u53ef\u4ee5\u5f97\u5230\uff1a<\/p>\n

1.\u4f18\u7f8e\u7684\u754c\u9762\uff1abootstrap\u6846\u67b6<\/a>\u4e0b\u7684\u63a7\u5236\u754c\u9762<\/p>\n

2.\u81ea\u5b9a\u4e49\u7684\u63a7\u5236\u754c\u9762\uff1a\u4f60\u53ef\u4ee5\u4f7f\u7528\u7b80\u5355\u7684HTML\u4ee3\u7801\u53bb\u81ea\u5b9a\u4e49\u63a7\u5236\u754c\u9762(\u4e0d\u9700\u8981\u4f7f\u7528javascript)<\/p>\n

3.\u6781\u5176\u7684\u5feb\u901f\u800c\u9ad8\u6548\uff1a\u7a0b\u5e8f\u4f7f\u7528C\u8fdb\u884c\u7f16\u5199(\u9ed8\u8ba4\u5b89\u88c5\u4e0b\uff0c\u9884\u8ba1\u53ea\u67092%\u7684\u5355\u6838CPU\u4f7f\u7528\u7387\u548c\u5c11\u8bb8\u7684\u5185\u5b58\u4f7f\u7528\u7387)<\/p>\n

4.\u96f6\u914d\u7f6e\uff1a\u4f60\u53ea\u9700\u8981\u53bb\u5b89\u88c5\u5b83\uff0c\u63a5\u7740\u5b83\u5c31\u4f1a\u81ea\u52a8\u5730\u76d1\u6d4b\u4e00\u5207\u6570\u636e<\/p>\n

5.\u96f6\u4f9d\u8d56\uff1a\u5b83\u7684\u9759\u6001\u7f51\u7edc\u6587\u4ef6\u548c\u7f51\u7edc\u63a5\u53e3\u62e5\u6709\u81ea\u5df1\u7684\u7f51\u7edc\u670d\u52a1\u5668<\/p>\n

6.\u53ef\u6269\u5c55\uff1a\u7528\u5b83\u81ea\u8eab\u7684\u63d2\u4ef6API(\u53ef\u4ee5\u4f7f\u7528\u8bb8\u591a\u65b9\u5f0f\u6765\u5236\u4f5c\u5b83\u7684\u63d2\u4ef6\uff0c\u4ecebash\u5230node.js),\u4f60\u53ef\u4ee5\u68c0\u6d4b\u4efb\u4f55\u53ef\u4ee5\u8861\u91cf\u7684\u6570\u636e\u3002<\/p>\n

7.\u53ef\u5d4c\u5165\uff1a\u5b83\u53ef\u4ee5\u5728\u4efb\u4f55Linux\u5185\u6838\u53ef\u4ee5\u8fd0\u884c\u7684\u5730\u65b9\u8fd0\u884c<\/p><\/blockquote>\n

\u76d1\u6d4b\u5185\u5bb9\uff1a<\/strong><\/span><\/div>\n

\u8fd9\u662f\u5b83\u76ee\u524d\u68c0\u6d4b\u7684\u5185\u5bb9\uff08\u5927\u591a\u6570\u90fd\u4e0d\u9700\u8981\u8fdb\u884c\u914d\u7f6e\uff0c\u5b89\u88c5\u540e\u5373\u53ef\u5f00\u59cb\u76d1\u6d4b\uff09<\/p>\n

1.CPU\u7684\u4f7f\u7528\u7387,\u4e2d\u65ad\uff0c\u8f6f\u4e2d\u65ad\u548c\u9891\u7387(\u603b\u91cf\u548c\u6bcf\u4e2a\u5355\u6838)<\/p>\n

2.RAM\uff0c\u4e92\u6362\u548c\u5185\u6838\u5185\u5b58\u7684\u4f7f\u7528\u7387\uff08\u5305\u62ecKSM\u548c\u5185\u6838\u5185\u5b58deduper\uff09<\/p>\n

3.\u786c\u76d8\u8f93\u5165\/\u8f93\u51fa(\u6bcf\u4e2a\u786c\u76d8\u7684\u5e26\u5bbd\uff0c\u64cd\u4f5c\uff0c\u6574\u7406\uff0c\u5229\u7528\u7b49)<\/p><\/blockquote>\n

\"2.gif\"<\/a><\/p>\n

4.IPv4\u7f51\u7edc\uff08\u6570\u636e\u5305\uff0c\u9519\u8bef\uff0c\u5206\u7247\uff09\uff1a<\/p>\n

TCP\uff1a\u8fde\u63a5\uff0c\u6570\u636e\u5305\uff0c\u9519\u8bef\uff0c\u63e1\u624b<\/p>\n

UDP:\u6570\u636e\u5305\uff0c\u9519\u8bef<\/p>\n

\u5e7f\u64ad\uff1a\u5e26\u5bbd\uff0c\u6570\u636e\u5305<\/p>\n

\u7ec4\u64ad\uff1a\u5e26\u5bbd\uff0c\u6570\u636e\u5305<\/p>\n

5.Netfilter\/iptables Linux\u9632\u706b\u5899(\u8fde\u63a5\uff0c\u8fde\u63a5\u8ddf\u8e2a\u4e8b\u4ef6\uff0c\u9519\u8bef\u7b49)<\/p>\n

6.\u8fdb\u7a0b(\u8fd0\u884c\uff0c\u53d7\u963b\uff0c\u5206\u53c9\uff0c\u6d3b\u52a8\u7b49)<\/p>\n

7.\u8fd0\u884c\u6548\u7387<\/p>\n

8.NFS\u6587\u4ef6\u670d\u52a1\u5668\uff0cv2,v3,v4(\u8f93\u5165\/\u8f93\u51fa\uff0c\u7f13\u5b58\uff0c\u9884\u8bfb\uff0cRPC\u8c03\u7528)<\/p>\n

9.\u7f51\u7edc\u670d\u52a1\u8d28\u91cf\uff08\u552f\u4e00\u4e00\u4e2a\u53ef\u5b9e\u65f6\u53ef\u89c6\u5316\u7f51\u7edc\u72b6\u51b5\u7684\u5de5\u5177\uff09<\/p><\/blockquote>\n

\"3.gif\"<\/a><\/p>\n

11.\u5e94\u7528\u7a0b\u5e8f\uff0c\u901a\u8fc7\u5bf9\u8fdb\u7a0b\u6811\u8fdb\u884c\u5206\u7ec4\uff08CPU,\u5185\u5b58\uff0c\u786c\u76d8\u8bfb\u53d6\uff0c\u786c\u76d8\u5199\u5165\uff0c\u4ea4\u6362\uff0c\u7ebf\u7a0b\uff0c\u7ba1\u9053\uff0c\u5957\u63a5\u5b57\u7b49\uff09<\/p><\/blockquote>\n

\"Image\"<\/a><\/p>\n

12.Apache Web\u670d\u52a1\u5668\u72b6\u6001(v2.2, v2.4)<\/p>\n

13.Nginx Web\u670d\u52a1\u5668\u72b6\u6001<\/p>\n

14.Mysql\u6570\u636e\u5e93\uff08\u591a\u53f0\u670d\u52a1\u5668\uff0c\u5355\u4e2a\u663e\u793a\uff1a\u5e26\u5bbd\uff0c\u67e5\u8be2\/s, \u5904\u7406\u8005\uff0c\u9501\uff0c\u95ee\u9898\uff0c\u4e34\u65f6\u64cd\u4f5c\uff0c\u8fde\u63a5\uff0c\u4e8c\u8fdb\u5236\u65e5\u5fd7\uff0c\u7ebf\u7a0b\uff0cinnodb\u5f15\u64ce\u7b49\uff09<\/p>\n

15.ISC Bind\u57df\u540d\u670d\u52a1\u5668\uff08\u591a\u4e2a\u670d\u52a1\u5668\uff0c\u5355\u4e2a\u663e\u793a\uff1a\u5ba2\u6237\uff0c\u8bf7\u6c42\uff0c\u67e5\u8be2\uff0c\u66f4\u65b0\uff0c\u5931\u8d25\u7b49\uff09<\/p>\n

16.Postfix\u90ae\u4ef6\u670d\u52a1\u5668\u7684\u6d88\u606f\u961f\u5217\uff08\u6761\u76ee\uff0c\u5927\u5c0f\uff09<\/p>\n

17.Squid\u4ee3\u7406\u670d\u52a1\u5668\uff08\u5ba2\u6237\u5e26\u5bbd\u548c\u8bf7\u6c42\uff0c\u670d\u52a1\u5e26\u5bbd\u548c\u8bf7\u6c42\uff09<\/p>\n

18.\u786c\u4ef6\u4f20\u611f\u5668\uff08\u6e29\u5ea6\uff0c\u7535\u538b\uff0c\u98ce\u6247\uff0c\u7535\u6e90\uff0c\u6e7f\u5ea6\u7b49\uff09<\/p>\n

19.NUT UPSes\uff08\u8d1f\u8f7d\uff0c\u5145\u7535\uff0c\u7535\u6c60\u7535\u538b\uff0c\u6e29\u5ea6\uff0c\u4f7f\u7528\u6307\u6807\uff0c\u8f93\u51fa\u6307\u6807\uff09<\/p><\/blockquote>\n

\u4f60\u53ef\u4ee5\u76d1\u6d4b\u4efb\u610f\u6570\u91cf\u7684SNMP\u670d\u52a1\uff0c\u4e0d\u8fc7\u4f60\u9700\u8981\u8fdb\u884c\u914d\u7f6e<\/p>\n

\u4f60\u53ef\u4ee5\u5bf9\u6b64\u8f6f\u4ef6\u8fdb\u884c\u6269\u5c55\uff0c\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u8bed\u8a00\u7f16\u5199\u63d2\u4ef6\uff0c\u4ee5\u6b64\u6765\u4ece\u4efb\u4f55\u6765\u6e90\u6536\u96c6\u6570\u636e<\/p>\n

\u4ecd\u7136\u5728\u72b9\u8c6b\u662f\u5426\u4f7f\u7528\uff1f<\/strong><\/span><\/div>\n

\u9605\u8bfb\u00a0Why netdata?<\/a><\/strong><\/p>\n

\u5b89\u88c5<\/strong><\/span><\/div>\n

\u4ecd\u7136\u5728\u72b9\u8c6b\u662f\u5426\u4f7f\u7528\uff1f
\n\u4f7f\u7528\u6211\u4eec\u7684\u81ea\u52a8\u5316\u5b89\u88c5\u5de5\u5177\u6765\u5c06\u5176\u5b89\u88c5\u5230\u60a8\u7684Linux\u7cfb\u7edf\u4e4b\u4e2d<\/p>\n

Netdata\u53ef\u4ee5\u8fd0\u884c\u4e8e\u4efb\u4f55\u7684Linux\u7cfb\u7edf\uff0c\u6211\u4eec\u5bf9\u4ee5\u4e0b\u7cfb\u7edf\u5df2\u7ecf\u8fdb\u884c\u8fc7\u6d4b\u8bd5\uff1a<\/p>\n

Gentoo\u3001ArchLinux\u3001Ubuntu \/ Debian\u3001CentOS\u3001Fedora<\/p>\n

\u6587\u6863<\/strong><\/span><\/div>\n

\u9605\u8bfb\u00a0netdata wiki<\/a><\/strong>.<\/p>\n

\n

\u539f\u6587\u5730\u5740\uff1ahttp:\/\/www.freebuf.com\/sectool\/100484.html<\/a>\u4f5c\u8005\uff1awatcher <\/span><\/p>\n

\u672c\u6587\u5730\u5740\uff1a http:\/\/gulass.cn\/netdata-linux.html<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u672c\u6587\u5c06\u4ecb\u7ecd\u4e00\u6b3e\u975e\u5e38\u597d\u7528\u7684\u5de5\u5177\u2014\u2014Netdata\uff0c\u8fd9\u662f\u4e00\u6b3eLinux\u6027\u80fd\u5b9e\u65f6\u76d1\u6d4b\u5de5\u5177\uff0c\u4e3a\u4e00\u6b3e\u5f00\u6e90\u5de5\u5177\uff0c\u6211\u5bf9 […]<\/p>\n","protected":false},"author":63,"featured_media":9986,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-9975","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/9975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=9975"}],"version-history":[{"count":16,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/9975\/revisions"}],"predecessor-version":[{"id":250321,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/9975\/revisions\/250321"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/9986"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=9975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=9975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=9975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}