{"id":248031,"date":"2022-07-30T08:56:44","date_gmt":"2022-07-30T00:56:44","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=248031"},"modified":"2022-07-22T11:00:19","modified_gmt":"2022-07-22T03:00:19","slug":"monitor-tool","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/monitor-tool.html","title":{"rendered":"\u4e3b\u6d41\u76d1\u63a7\u7cfb\u7edf\u5de5\u5177\u9009\u578b\u53ca\u843d\u5730\u573a\u666f\u53c2\u8003"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5bf9\u4e8e\u6211\u4eec\u5e94\u7528\u7cfb\u7edf\u800c\u8a00\uff0c\u76d1\u63a7\u7cfb\u7edf\u5c31\u50cf\u6211\u4eec\u7b2c\u4e09\u53ea\u773c\uff0c\u5982\u679c\u6709\u5e94\u7528\u7cfb\u7edf\u51fa\u73b0\u95ee\u9898\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u76d1\u63a7\u7cfb\u7edf\u770b\u662f\u54ea\u91cc\u51fa\u73b0\u95ee\u9898\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u8fd9\u7bc7\u6587\u7ae0\uff0c\u6211\u5c06\u5bf9\u76d1\u63a7\u4f53\u7cfb\u7684\u57fa\u7840\u77e5\u8bc6\u3001\u539f\u7406\u548c\u67b6\u6784\u505a\u4e00\u6b21\u7cfb\u7edf\u6027\u6574\u7406\uff0c\u540c\u65f6\u8fd8\u4f1a\u5bf9\u51e0\u6b3e\u6700\u5e38\u7528\u7684\u5f00\u6e90\u76d1\u63a7\u4ea7\u54c1\u505a\u4e0b\u4ecb\u7ecd\uff0c\u4ee5\u4fbf\u5927\u5bb6\u9009\u578b\u65f6\u53c2\u8003\u3002\u5185\u5bb9\u5305\u62ec3\u90e8\u5206\uff1a<\/p>\n \u4e00\u3001\u5fc5\u77e5\u5fc5\u4f1a\u7684\u76d1\u63a7\u57fa\u7840\u77e5\u8bc6<\/strong><\/div>\n \u6211\u4eec\u53ef\u4ee5\u7406\u89e3\u76d1\u63a7\u7cfb\u7edf\u5c31\u50cf\u6211\u4eec\u53e4\u4ee3\u6253\u6218\u7684\u54e8\u5175\u4e00\u6837\uff0c\u54e8\u5175\u7684\u89d2\u8272\u975e\u5e38\u91cd\u8981\uff0c\u654c\u4eba\u6765\u4e86\uff0c\u54e8\u5175\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u51fa\u9884\u8b66(\u5439\u7b1b\u3001\u6253\u9f13\u3001\u653e\u70df)\uff0c\u8ba9\u5b88\u57ce\u7684\u6218\u58eb\u80fd\u591f\u6700\u5feb\u7684\u65f6\u95f4\u5904\u7406\uff0c\u5e94\u5bf9\u3002<\/p>\n \u90a3\u5bf9\u4e8e\u6211\u4eec\u5e94\u7528\u7cfb\u7edf\u800c\u8a00\uff0c\u76d1\u63a7\u7cfb\u7edf\u5c31\u50cf\u6211\u4eec\u7b2c\u4e09\u53ea\u773c\uff0c\u5982\u679c\u6709\u5e94\u7528\u7cfb\u7edf\u51fa\u73b0\u95ee\u9898\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u76d1\u63a7\u7cfb\u7edf\u770b\u662f\u54ea\u91cc\u51fa\u73b0\u95ee\u9898\uff0c\u662fredis\u6302\u4e86\uff0c\u8fd8\u662f\u8bf4\u670d\u52a1\u5668\u5185\u5b58\u6ee1\u4e86\uff0c\u6709\u76d1\u63a7\u7cfb\u7edf\u6211\u4eec\u53ef\u4ee5\u5f88\u8f7b\u677e\u3001\u5feb\u901f\u7684\u5b9a\u4f4d\u95ee\u9898\u3002<\/p>\n \u751a\u81f3\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u9884\u8b66\uff0c\u5bf9\u4e00\u4e9b\u5c06\u8981\u51fa\u73b0\u7684\u95ee\u9898\u8fdb\u884c\u63d0\u524d\u9884\u9632\u5904\u7406\uff0c\u53ca\u65f6\u907f\u514d\u95ee\u9898\u7684\u53d1\u751f\u3002<\/p>\n 1\u3001\u76d1\u63a7\u7cfb\u7edf\u7684\u4f5c\u7528<\/strong><\/span><\/div>\n <\/p>\n \u5e2e\u52a9\u5b9a\u4f4d\u6545\u969c:\u5728\u53d1\u751f\u6545\u969c\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u76d1\u63a7\u7cfb\u7edf\u7684\u5404\u9879\u6307\u6807\u6570\u636e\uff0c\u8f85\u52a9\u6545\u969c\u5206\u6790\u548c\u5b9a\u4f4d\u3002<\/p>\n \u9884\u8b66\u51cf\u5c11\u6545\u969c\u7387:\u5bf9\u4e8e\u5373\u5c06\u53ef\u80fd\u4ea7\u751f\u7684\u6545\u969c\u80fd\u591f\u53ca\u65f6\u53d1\u51fa\u9884\u8b66\u4fe1\u606f\uff0c\u505a\u597d\u63d0\u524d\u9884\u9632\u5904\u7406\u3002<\/p>\n \u8f85\u52a9\u5bb9\u91cf\u89c4\u5212:\u4e3a\u670d\u52a1\u5668\u3001\u4e2d\u95f4\u4ef6\u4ee5\u53ca\u5e94\u7528\u96c6\u7fa4\u7684\u5bb9\u91cf\u89c4\u5212\u63d0\u4f9b\u6570\u636e\u652f\u6491\u3002<\/p>\n \u8f85\u52a9\u6027\u80fd\u8c03\u4f18:JVM\u5783\u573e\u56de\u6536\u6b21\u6570\u3001\u63a5\u53e3\u54cd\u5e94\u65f6\u95f4\u3001\u6162SQL\u7b49\u7b49\u90fd\u53ef\u4ee5\u76d1\u63a7\u4f18\u5316\u3002<\/p>\n 2\u3001\u5e38\u89c1\u7684\u76d1\u63a7\u5bf9\u8c61\u548c\u6307\u6807\u90fd\u6709\u54ea\u4e9b\uff1f<\/strong><\/span><\/div>\n <\/p>\n \u670d\u52a1\u5668\u76d1\u63a7:CPU\u4f7f\u7528\u7387\u3001\u5185\u5b58\u4f7f\u7528\u7387\u3001\u78c1\u76d8\u4f7f\u7528\u7387\u3001\u78c1\u76d8\u8bfb\u5199\u7684\u541e\u5410\u91cf\u3001\u7f51\u7edc\u51fa\u5165\u6d41\u91cf\u7b49\u7b49\u3002<\/p>\n MySQL\u76d1\u63a7:TPS\u3001QPS\u3001\u6570\u636e\u5e93\u8fde\u63a5\u6570\u3001\u6162SQL\u3001InnoDB\u7f13\u51b2\u6c60\u547d\u4e2d\u7387\u7b49\u7b49\u3002<\/p>\n Redis\u76d1\u63a7:\u5185\u5b58\u4f7f\u7528\u7387\u3001\u7f13\u5b58\u547d\u4e2d\u7387\u3001key\u503c\u603b\u6570\u3001Redis\u54cd\u5e94\u8bf7\u6c42\u65f6\u95f4\u3001\u5ba2\u6237\u7aef\u8fde\u63a5\u6570\u3001\u6301\u4e45\u6027\u6307\u6807\u7b49\u7b49\u3002<\/p>\n MQ\u76d1\u63a7\uff1a\u8fde\u63a5\u6570\u3001\u961f\u5217\u6570\u3001\u751f\u4ea7\u901f\u7387\u3001\u6d88\u8d39\u901f\u7387\u3001\u6d88\u606f\u5806\u79ef\u91cf\u7b49\u7b49\u3002<\/p>\n \u5e94\u7528\u76d1\u63a7\uff1a<\/p>\n HTTP\u63a5\u53e3\uff1aURL\u5b58\u6d3b\u3001\u8bf7\u6c42\u91cf\u3001\u8017\u65f6\u3001\u5f02\u5e38\u91cf\u3002 3\u3001\u76d1\u63a7\u7cfb\u7edf\u7684\u57fa\u672c\u6d41\u7a0b<\/strong><\/span><\/div>\n <\/p>\n \u6570\u636e\u91c7\u96c6\uff1a\u91c7\u96c6\u7684\u65b9\u5f0f\u6709\u5f88\u591a\u79cd\uff0c\u5305\u62ec\u65e5\u5fd7\u57cb\u70b9\u8fdb\u884c\u91c7\u96c6\uff0cJMX\u6807\u51c6\u63a5\u53e3\u8f93\u51fa\u76d1\u63a7\u6307\u6807\uff0c\u88ab\u76d1\u63a7\u5bf9\u8c61\u63d0\u4f9bREST API\u8fdb\u884c\u6570\u636e\u91c7\u96c6\uff08\u5982Hadoop\u3001ES\uff09\uff0c\u7cfb\u7edf\u547d\u4ee4\u884c\uff0c\u7edf\u4e00\u7684SDK\u8fdb\u884c\u4fb5\u5165\u5f0f\u7684\u57cb\u70b9\u548c\u4e0a\u62a5\u7b49\u3002<\/p>\n \u6570\u636e\u4f20\u8f93\uff1a\u5c06\u91c7\u96c6\u7684\u6570\u636e\u4ee5TCP\u3001UDP\u6216\u8005HTTP\u534f\u8bae\u7684\u5f62\u5f0f\u4e0a\u62a5\u7ed9\u76d1\u63a7\u7cfb\u7edf\uff0c\u6709\u4e3b\u52a8Push\u6a21\u5f0f\uff0c\u4e5f\u6709\u88ab\u52a8Pull\u6a21\u5f0f\u3002<\/p>\n \u6570\u636e\u5b58\u50a8\uff1a\u6709\u4f7f\u7528MySQL\u3001Oracle\u7b49\u5173\u7cfb\u6570\u636e\u5e93\u5b58\u50a8\u7684\uff0c\u4e5f\u6709\u4f7f\u7528\u65f6\u5e8f\u6570\u636e\u5e93RRDTool\u3001OpentTSDB\u3001InfluxDB\u5b58\u50a8\u7684\uff0c\u8fd8\u6709\u4f7f\u7528HBase\u5b58\u50a8\u7684\u3002<\/p>\n \u6570\u636e\u5c55\u793a\uff1a\u6570\u636e\u6307\u6807\u7684\u56fe\u5f62\u5316\u5c55\u793a\u3002<\/p>\n \u76d1\u63a7\u544a\u8b66\uff1a\u7075\u6d3b\u7684\u544a\u8b66\u8bbe\u7f6e\uff0c\u4ee5\u53ca\u652f\u6301\u90ae\u4ef6\u3001\u77ed\u4fe1\u3001IM\u7b49\u591a\u79cd\u901a\u77e5\u901a\u9053\u3002<\/p>\n \u4e8c\u3001\u5e02\u9762\u4e0a\u7684\u4e00\u4e9b\u5e38\u89c1\u76d1\u63a7\u7cfb\u7edf\u6bd4\u8f83<\/strong><\/div>\n \u4e0b\u9762\u518d\u6765\u8ba4\u8bc6\u4e0b\u4e3b\u6d41\u7684\u5f00\u6e90\u76d1\u63a7\u7cfb\u7edf\uff0c\u7531\u4e8e\u7bc7\u5e45\u6709\u9650\uff0c\u6211\u6311\u9009\u4e863\u6b3e\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u76d1\u63a7\u7cfb\u7edf\uff1aZabbix\u3001Open-Falcon\u3001Prometheus\uff0c\u4f1a\u5bf9\u5b83\u4eec\u7684\u67b6\u6784\u8fdb\u884c\u4ecb\u7ecd\uff0c\u540c\u65f6\u603b\u7ed3\u4e0b\u5404\u81ea\u7684\u4f18\u52a3\u52bf\u3002<\/p>\n 1\u3001Zabbix\u4ecb\u7ecd<\/strong><\/span><\/div>\n <\/p>\n \u56fe\u7247Zabbix 1998\u5e74\u8bde\u751f\uff0c\u6838\u5fc3\u7ec4\u4ef6\u91c7\u7528C\u8bed\u8a00\u5f00\u53d1\uff0cWeb\u7aef\u91c7\u7528PHP\u5f00\u53d1\u3002\u5b83\u5c5e\u4e8e\u8001\u724c\u76d1\u63a7\u7cfb\u7edf\u4e2d\u7684\u4f18\u79c0\u4ee3\u8868\uff0c\u76d1\u63a7\u529f\u80fd\u5f88\u5168\u9762\uff0c\u4f7f\u7528\u4e5f\u5f88\u5e7f\u6cdb\uff0c\u5dee\u4e0d\u591a\u670970%\u5de6\u53f3\u7684\u4e92\u8054\u7f51\u516c\u53f8\u90fd\u66fe\u4f7f\u7528\u8fc7 Zabbix \u4f5c\u4e3a\u76d1\u63a7\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n \u5148\u6765\u4e86\u89e3\u4e0bZabbix\u7684\u67b6\u6784\u8bbe\u8ba1\uff1a<\/p>\n <\/p>\n Zabbix Server Zabbix Proxy Zabbix Agentd Database Web Server Zabbix\u7684\u4f18\u52bf<\/p>\n \u4ea7\u54c1\u6210\u719f \u91c7\u96c6\u65b9\u5f0f\u4e30\u5bcc Zabbix\u7684\u52a3\u52bf<\/p>\n \u9700\u8981\u5728\u88ab\u76d1\u63a7\u4e3b\u673a\u4e0a\u5b89\u88c5Agent\uff0c\u6240\u6709\u7684\u6570\u636e\u90fd\u5b58\u5728\u6570\u636e\u5e93\u91cc\uff0c\u4ea7\u751f\u7684\u6570\u636e\u5f88\u5927\uff0c\u74f6\u9888\u4e3b\u8981\u5728\u6570\u636e\u5e93\u3002<\/p>\n 2\u3001Open-Falcon\uff08\u5c0f\u7c73\u51fa\u54c1\uff0c\u56fd\u5185\u6d41\u884c\uff09<\/strong><\/span><\/div>\n <\/p>\n Open-falcon \u662f\u5c0f\u7c732015\u5e74\u5f00\u6e90\u7684\u4f01\u4e1a\u7ea7\u76d1\u63a7\u5de5\u5177\uff0c\u91c7\u7528Go\u548cPython\u8bed\u8a00\u5f00\u53d1\uff0c\u8fd9\u662f\u4e00\u6b3e\u7075\u6d3b\u3001\u9ad8\u6027\u80fd\u4e14\u6613\u6269\u5c55\u7684\u65b0\u4e00\u4ee3\u76d1\u63a7\u65b9\u6848\uff0c\u76ee\u524d\u5c0f\u7c73\u3001\u7f8e\u56e2\u3001\u6ef4\u6ef4\u7b49\u8d85\u8fc7200\u5bb6\u516c\u53f8\u5728\u4f7f\u7528\u5b83\u3002<\/p>\n \u5c0f\u7c73\u521d\u671f\u4e5f\u4f7f\u7528\u7684Zabbix\u8fdb\u884c\u76d1\u63a7\uff0c\u4f46\u662f\u673a\u5668\u91cf\u548c\u4e1a\u52a1\u91cf\u4e0a\u6765\u540e\uff0cZabbix\u5c31\u6709\u4e9b\u529b\u4e0d\u4ece\u5fc3\u4e86\u3002\u56e0\u6b64\uff0c\u540e\u6765\u81ea\u4e3b\u7814\u53d1\u4e86Open-Falcon\uff0c\u5728\u67b6\u6784\u8bbe\u8ba1\u4e0a\u5438\u53d6\u4e86Zabbix\u7684\u7ecf\u9a8c\uff0c\u540c\u65f6\u5f88\u597d\u5730\u89e3\u51b3\u4e86Zabbix\u7684\u8bf8\u591a\u75db\u70b9\u3002<\/p>\n <\/p>\n \u67b6\u6784\u770b\u53bb\u6bd4Zabbix\u590d\u6742\u591a\u4e86\uff0c\u5176\u5b9e\u5b83\u4e5f\u662f\u57fa\u4e8eServer---Agent\u7684\u6a21\u5f0f\uff0c\u53ea\u4e0d\u8fc7Server\u53c8\u7ed9\u4ed6\u5212\u5206\u4e86\u597d\u51e0\u4e2a\u7ec4\u4ef6\uff0c\u8fd9\u4e2a\u8026\u5408\u6027\u548c\u6269\u5c55\u6027\u90fd\u5f97\u5230\u4e86\u660e\u663e\u63d0\u9ad8\u3002<\/p>\n Falcon-agent Transfer Graph Judge\u548cAlarm API Open-Falcon\u4f18\u52bf<\/p>\n \u81ea\u52a8\u91c7\u96c6\u80fd\u529b \u5f3a\u5927\u7684\u5b58\u50a8\u80fd\u529b \u7075\u6d3b\u7684\u6570\u636e\u6a21\u578b \u63d2\u4ef6\u7edf\u4e00\u7ba1\u7406 \u4e2a\u6027\u5316\u76d1\u63a7\u652f\u6301 Open-Falcon\u7f3a\u70b9<\/p>\n \u76d1\u63a7\u7c7b\u578b\u8f83\u5c11 \u6574\u4f53\u53d1\u5c55\u4e00\u822c\uff0c\u793e\u533a\u6d3b\u8dc3\u5ea6\u4f4e 3\u3001Prometheus\uff08\u53f7\u79f0\u4e0b\u4e00\u4ee3\u76d1\u63a7\u7cfb\u7edf\uff09<\/strong><\/span><\/div>\n \u6211\u4eec\u77e5\u9053 zabbix \u5728\u76d1\u63a7\u754c\u5360\u6709\u4e0d\u53ef\u64bc\u52a8\u7684\u5730\u4f4d\uff0c\u529f\u80fd\u5f3a\u5927\u3002\u4f46\u662f\u5bf9\u5bb9\u5668\u76d1\u63a7\u663e\u5f97\u529b\u4e0d\u4ece\u5fc3\u3002\u4e3a\u89e3\u51b3\u76d1\u63a7\u5bb9\u5668\u7684\u95ee\u9898\uff0c\u5f15\u5165\u4e86 Prometheus \u6280\u672f\u3002<\/p>\n <\/p>\n Prometheus \u662f\u4e00\u5957\u5f00\u6e90\u7684\u7cfb\u7edf\u76d1\u63a7\u62a5\u8b66\u6846\u67b6\u3002\u662f\u7531\u524dgoogle\u5458\u5de52015\u5e74\u6b63\u5f0f\u53d1\u5e03\u7684\u5f00\u6e90\u76d1\u63a7\u7cfb\u7edf\uff0c\u91c7\u7528Go\u8bed\u8a00\u5f00\u53d1\u3002\u5b83\u4e0d\u4ec5\u6709\u4e00\u4e2a\u5f88\u9177\u7684\u540d\u5b57\uff0c\u540c\u65f6\u5b83\u6709Google\u4e0ek8s\u7684\u5f3a\u529b\u652f\u6301\uff0c\u5f00\u6e90\u793e\u533a\u5f02\u5e38\u706b\u7206\u3002<\/p>\n \u5148\u6765\u4e86\u89e3\u4e0bPrometheus\u7684\u67b6\u6784\u8bbe\u8ba1\uff1a<\/p>\n <\/p>\n Exporter Prometheus Server Push gateway Alert Manager Web UI Prometheus\u4f18\u70b9<\/p>\n \u793e\u533a\u6d3b\u8dc3\u5ea6\u9ad8 \u57fa\u4e8e\u65f6\u5e8f\u6570\u636e\u5e93\uff0c\u5b58\u50a8\u6548\u7387\u9ad8 \u5f88\u597d\u5730\u652f\u6301\u5bb9\u5668\u76d1\u63a7 \u57fa\u4e8ePull\u6a21\u578b\u7684\u67b6\u6784 Prometheus\u7f3a\u70b9<\/p>\n Prometheus \u662f\u57fa\u4e8e Metric \u7684\u76d1\u63a7\uff0c\u4e0d\u9002\u7528\u4e8e\u65e5\u5fd7\uff08Logs\uff09\u3001\u4e8b\u4ef6(Event)\u3001\u8c03\u7528\u94fe(Tracing)\u3002 \u4e09\u3001\u9009\u578b\u5efa\u8bae<\/strong><\/div>\n \u901a\u8fc7\u4e0a\u9762\u7684\u4ecb\u7ecd\uff0c\u5927\u5bb6\u5bf9\u4e3b\u6d41\u7684\u76d1\u63a7\u7cfb\u7edf\u5e94\u8be5\u6709\u4e86\u4e00\u5b9a\u7684\u8ba4\u8bc6\u3002\u9762\u5bf9\u9009\u578b\u95ee\u9898\uff0c\u6211\u7684\u5efa\u8bae\u662f\uff1a<\/p>\n \u8fd9\u7bc7\u6587\u7ae0\uff0c\u6211\u5c06\u5bf9\u76d1\u63a7\u4f53\u7cfb\u7684\u57fa\u7840\u77e5\u8bc6\u3001\u539f\u7406\u548c\u67b6\u6784\u505a\u4e00\u6b21\u7cfb\u7edf\u6027\u6574\u7406\uff0c\u540c\u65f6\u8fd8\u4f1a\u5bf9\u51e0\u6b3e\u6700\u5e38\u7528\u7684\u5f00\u6e90\u76d1\u63a7\u4ea7\u54c1\u505a\u4e0b\u4ecb\u7ecd\uff0c\u4ee5 […]<\/p>\n","protected":false},"author":1920,"featured_media":248043,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-248031","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/248031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1920"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=248031"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/248031\/revisions"}],"predecessor-version":[{"id":248045,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/248031\/revisions\/248045"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/248043"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=248031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=248031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=248031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |