{"id":1558,"date":"2023-03-25T15:50:05","date_gmt":"2023-03-25T07:50:05","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1558"},"modified":"2023-04-27T21:36:29","modified_gmt":"2023-04-27T13:36:29","slug":"comparison-between-prometheus-and-zabbix","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/comparison-between-prometheus-and-zabbix\/","title":{"rendered":"Prometheus\u4e0eZabbix\u7684\u5bf9\u6bd4"},"content":{"rendered":"<p>\u516c\u53f8\u4e4b\u524d\u4e00\u76f4\u4f7f\u7528\u7684\u662fzabbix+grafana\u7684\u76d1\u63a7\u65b9\u5f0f\uff0c\u968f\u7740\u5e94\u7528\u5bb9\u5668\u5316\uff0ck8s\u5e94\u7528\u7684\u76d1\u63a7\u9700\u6c42\u589e\u52a0\uff0c\u4e8e\u662f\u4fbf\u7814\u7a76\u4e86Prometheus\uff0c\u5728\u8fd9\u91cc\u5c06Prometheus\u548cZabbix\u505a\u4e86\u5bf9\u6bd4\u3002<\/p>\n<p><!-- more --><\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center;\">\u5bf9\u6bd4\u9879<\/th>\n<th style=\"text-align: center;\">Prometheus<\/th>\n<th style=\"text-align: center;\">zabbix<\/th>\n<th style=\"text-align: center;\">Prometheus\u4f18\u52bf<\/th>\n<th style=\"text-align: center;\">zabbix\u4f18\u52bf<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\">\u7ba1\u7406<\/td>\n<td style=\"text-align: center;\">\u4e8c\u8fdb\u5236\u6587\u4ef6\u542f\u52a8<\/td>\n<td style=\"text-align: center;\">LNMP+\u7f16\u8bd1<\/td>\n<td style=\"text-align: center;\">\u8f7b\u91cf\u7ea7server\uff0c\u4fbf\u4e8e\u8fc1\u79fb\u548c\u7ef4\u62a4<\/td>\n<td style=\"text-align: center;\">\u2013<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u914d\u7f6e<\/td>\n<td style=\"text-align: center;\">\u914d\u7f6e\u6587\u4ef6<\/td>\n<td style=\"text-align: center;\">\u56fe\u5f62\u5316   \u66f4\u597d\u7684\u652f\u6301\u81ea\u52a8\u5316\u914d\u7f6e<\/td>\n<td style=\"text-align: center;\">\u5b66\u4e60\u6210\u672c\u4f4e<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">client<\/td>\n<td style=\"text-align: center;\">\u4e30\u5bcc\u7684client\u5e93<\/td>\n<td style=\"text-align: center;\">zabbix_agent\u81ea\u5b9a\u4e49\u811a\u672c<\/td>\n<td style=\"text-align: center;\">\u4e3a\u5404\u79cd\u4e2d\u95f4\u4ef6\u3001\u5e94\u7528\u63d0\u4f9b\u4e13\u4e1a\u7684exporter\uff0c\u76d1\u63a7\u9879\u66f4\u5168\u9762<\/td>\n<td style=\"text-align: center;\">\u652f\u6301\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879\uff0c\u5bf9\u76d1\u63a7\u8bbe\u8ba1\u8005\u7684\u683c\u5c40\u8981\u6c42\u8f83\u9ad8<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u6570\u636e\u5b58\u50a8\u65b9\u5f0f<\/td>\n<td style=\"text-align: center;\">Prometheus TSDB<\/td>\n<td style=\"text-align: center;\">MySQL<\/td>\n<td style=\"text-align: center;\">\u76d1\u63a7\u6570\u636e\u4ee5\u65f6\u95f4\u4e3a\u7ef4\u5ea6\u7edf\u8ba1\u60c5\u51b5\u8f83\u591a\uff0c<br \/>\u65f6\u5e8f\u6570\u636e\u5e93\u66f4\u9002\u7528\u4e8e\u76d1\u63a7\u6570\u636e\u7684\u5b58\u50a8\uff0c\u6309\u65f6\u95f4\u7d22\u5f15\u6027\u80fd\u66f4\u9ad8<\/td>\n<td style=\"text-align: center;\">MySQL\u8f83\u5e38\u7528\uff0c\u5b66\u4e60\u6210\u672c\u4f4e<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u6570\u636e\u5904\u7406<\/td>\n<td style=\"text-align: center;\">PromQL<\/td>\n<td style=\"text-align: center;\">MySQL<\/td>\n<td style=\"text-align: center;\">PromQL\u8ba1\u7b97\u51fd\u6570\u4e30\u5bcc\uff0c\u7edf\u8ba1\u7ef4\u5ea6\u5e7f<\/td>\n<td style=\"text-align: center;\">\u540c\u4e0a<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u4e8c\u6b21\u5f00\u53d1<\/td>\n<td style=\"text-align: center;\">\u4e30\u5bcc\u7684sdk<\/td>\n<td style=\"text-align: center;\">api<\/td>\n<td style=\"text-align: center;\">\u63d0\u4f9b\u4e86Go\u3001Java\/Scala\u3001Python\u3001Ruby\u7b49sdk\uff0c\u4e8c\u6b21\u5f00\u53d1\u66f4\u4fbf\u6377<\/td>\n<td style=\"text-align: center;\">api\u9002\u914d\u8f83\u4e3a\u5e38\u7528\uff0c\u5b66\u4e60\u6210\u672c\u4f4e<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u5bf9\u4e91\u73af\u5883\u7684\u652f\u6301<\/td>\n<td style=\"text-align: center;\">\u539f\u751f\u652f\u6301\u5bb9\u5668\u76d1\u63a7<\/td>\n<td style=\"text-align: center;\">\u66f4\u9002\u5408\u7269\u7406\u673a\u76d1\u63a7<\/td>\n<td style=\"text-align: center;\">\u81ea\u52a8\u53d1\u73b0\u5bb9\u5668\uff0c\u66f4\u597d\u7684\u9002\u914dk8s<\/td>\n<td style=\"text-align: center;\">\u2013<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u544a\u8b66\u65b9\u5f0f<\/td>\n<td style=\"text-align: center;\">\u53ef\u6309\u7167\u6807\u7b7e\u5206\u7ec4\uff0c\u6536\u655b<\/td>\n<td style=\"text-align: center;\">\u5728\u6b21\u6570\u4e0a\u6536\u655b<\/td>\n<td style=\"text-align: center;\">\u544a\u8b66\u6536\u655b\u65b9\u5f0f\u66f4\u591a\u6837\u5316<\/td>\n<td style=\"text-align: center;\">\u2013<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u76d1\u63a7\u9879\u503c<\/td>\n<td style=\"text-align: center;\">\u652f\u6301\u6570\u5b57<\/td>\n<td style=\"text-align: center;\">\u652f\u6301\u6570\u5b57\u5b57\u7b26\u4e32<\/td>\n<td style=\"text-align: center;\">\u2013<\/td>\n<td style=\"text-align: center;\">\u53ef\u505a\u65e5\u5fd7\u76d1\u63a7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u603b\u7684\u6765\u8bf4\uff0czabbix\u66f4\u9002\u5408\u4e8e\u7269\u7406\u673a\/\u865a\u62df\u673a\u7684\u76d1\u63a7\uff0cPrometheus\u66f4\u9002\u5408\u5bb9\u5668\u7684\u76d1\u63a7\u3002\u4e8c\u8005\u5404\u6709\u4f18\u70b9\uff0c\u4f46\u662f\u9c7c\u4e0e\u718a\u638c\u4e0d\u53ef\u517c\u5f97\uff0c\u53ea\u80fd\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u505a\u53d6\u820d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u516c\u53f8\u4e4b\u524d\u4e00\u76f4\u4f7f\u7528\u7684\u662fzabbix+grafana\u7684\u76d1\u63a7\u65b9\u5f0f\uff0c\u968f\u7740\u5e94\u7528\u5bb9\u5668\u5316\uff0ck8s\u5e94\u7528\u7684\u76d1\u63a7\u9700\u6c42\u589e\u52a0\uff0c\u4e8e\u662f\u4fbf\u7814 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386],"tags":[387,388],"class_list":["post-1558","post","type-post","status-publish","format-standard","hentry","category-monitor","tag-prometheus","tag-zabbix"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1558"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1558\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}