{"id":106814,"date":"2024-10-21T02:39:11","date_gmt":"2024-10-20T18:39:11","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=106814"},"modified":"2024-10-21T02:39:11","modified_gmt":"2024-10-20T18:39:11","slug":"zabbix-zabbix-gaishu","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/zabbix-zabbix-gaishu.html","title":{"rendered":"\u8fd0\u7ef4\u76d1\u63a7\u5de5\u5177zabbix\u6982\u8ff0"},"content":{"rendered":"
zabbix\u662f\u4e00\u4e2a\u57fa\u4e8eWEB\u754c\u9762\u7684\u63d0\u4f9b\u5206\u5e03\u5f0f\u7cfb\u7edf\u76d1\u89c6\u4ee5\u53ca\u7f51\u7edc\u76d1\u89c6\u529f\u80fd\u7684\u4f01\u4e1a\u7ea7\u7684\u5f00\u6e90\u89e3\u51b3\u65b9\u6848\u3002zabbix\u80fd\u76d1\u89c6\u5404\u79cd\u7f51\u7edc\u53c2\u6570\uff0c\u4fdd\u8bc1\u670d\u52a1\u5668\u7cfb\u7edf\u7684\u5b89\u5168\u8fd0\u8425\uff1b\u5e76\u63d0\u4f9b\u7075\u6d3b\u7684\u901a\u77e5\u673a\u5236\u4ee5\u8ba9\u7cfb\u7edf\u7ba1\u7406\u5458\u5feb\u901f\u5b9a\u4f4d\/\u89e3\u51b3\u5b58\u5728\u7684\u5404\u79cd\u95ee\u9898\u3002\u8fd9\u662f\u767e\u5ea6\u767e\u79d1\u4e0a\u5bf9zabbix\u4e0a\u7684\u4e00\u6bb5\u5b9a\u4e49\uff0c\u5e02\u9762\u4e0a\u7684\u76d1\u63a7\u8f6f\u4ef6\u5f88\u591a\uff0c\u4e3a\u4ec0\u4e48\u9009\u62e9zabbix\u5462\uff1f\u5148\u6765\u770b\u4e0b\u5176\u5177\u6709\u7684\u7279\u70b9\uff1a<\/p>\n
1\uff0c\u81ea\u52a8\u53d1\u73b0\u670d\u52a1\u5668\u548c\u7f51\u7edc\u8bbe\u5907\u3002<\/p>\n
2\uff0c\u5e95\u5c42\u81ea\u52a8\u53d1\u73b0<\/p>\n
3\uff0c\u5206\u5e03\u5f0f\u7684\u76d1\u63a7\u4f53\u7cfb\u548c\u96c6\u4e2d\u5f0f\u7684web\u7ba1\u7406<\/p>\n
4\uff0c\u652f\u6301\u4e3b\u52a8\u76d1\u63a7\u548c\u88ab\u52a8\u76d1\u63a7\u6a21\u5f0f<\/p>\n
5\uff0c\u652f\u6301\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf Linux, Solaris, HP-UX, AIX, FreeBSD, OpenBSD, OS X<\/p>\n
6\uff0c\u9ad8\u6548\u7684agent \u652f\u6301 Linux, Solaris, HP-UX, AIX, FreeBSD, OpenBSD,OS X, Tru64\/OSF1, Windows NT4.0, Windows 2000, Windows 2003, Windows XP, Windows Vista \u73af\u5883<\/p>\n
7\uff0c\u65e0agent\u76d1\u63a7\u7b49\u591a\u79cd\u76d1\u63a7\u65b9\u6cd5\u3002<\/p>\n
8\uff0c\u5b89\u5168\u7684\u7528\u6237\u8ba4\u8bc1\u6a21\u5f0f<\/p>\n
9\uff0c\u7075\u6d3b\u7684\u7528\u6237\u6743\u9650\u8bbe\u7f6e\u3002<\/p>\n
10\uff0c\u57fa\u4e8eweb\u7684\u7ba1\u7406\u65b9\u6cd5\u3002<\/p>\n
11\uff0c\u652f\u6301\u81ea\u7531\u7684\u81ea\u5b9a\u4e49\u4e8b\u4ef6\u548c\u90ae\u4ef6\u53d1\u9001\u3002<\/p>\n
12\uff0c\u9ad8\u6c34\u5e73\u7684\u4e1a\u52a1\u89c6\u56fe\u76d1\u63a7\u8d44\u6e90\u3002<\/p>\n
13\uff0c\u652f\u6301\u65e5\u5fd7\u5ba1\u8ba1\u3002<\/p>\n
zabbix\u7531\u4ee5\u4e0b\u51e0\u4e2a\u7ec4\u4ef6\u90e8\u5206\u6784\u6210\uff1a<\/p>\n
1\u3001Zabbix Server\uff1a\u8d1f\u8d23\u63a5\u6536agent\u53d1\u9001\u7684\u62a5\u544a\u4fe1\u606f\u7684\u6838\u5fc3\u7ec4\u4ef6\uff0c\u6240\u6709\u914d\u7f6e\uff0c\u7edf\u8ba1\u6570\u636e\u53ca\u64cd\u4f5c\u6570\u636e\u5747\u7531\u5176\u7ec4\u7ec7\u8fdb\u884c\uff1b<\/p>\n
2\u3001Database Storage\uff1a\u4e13\u7528\u4e8e\u5b58\u50a8\u6240\u6709\u914d\u7f6e\u4fe1\u606f\uff0c\u4ee5\u53ca\u7531zabbix\u6536\u96c6\u7684\u6570\u636e\uff1b<\/p>\n
3\u3001Web interface\uff1azabbix\u7684GUI\u63a5\u53e3\uff0c\u901a\u5e38\u4e0eServer\u8fd0\u884c\u5728\u540c\u4e00\u53f0\u4e3b\u673a\u4e0a\uff1b<\/p>\n
4\u3001Proxy\uff1a\u53ef\u9009\u7ec4\u4ef6\uff0c\u5e38\u7528\u4e8e\u5206\u5e03\u76d1\u63a7\u73af\u5883\u4e2d\uff0c\u4ee3\u7406Server\u6536\u96c6\u90e8\u5206\u88ab\u76d1\u63a7\u7aef\u7684\u76d1\u63a7\u6570\u636e\u5e76\u7edf\u4e00\u53d1\u5f80Server\u7aef\uff1b<\/p>\n
5\u3001Agent\uff1a\u90e8\u7f72\u5728\u88ab\u76d1\u63a7\u4e3b\u673a\u4e0a\uff0c\u8d1f\u8d23\u6536\u96c6\u672c\u5730\u6570\u636e\u5e76\u53d1\u5f80Server\u7aef\u6216Proxy\u7aef\uff1b<\/p>\n
\u6ce8\uff1azabbix node\u4e5f\u662f zabbix server\u7684\u4e00\u79cd \u3002<\/p>\n
\u9ed8\u8ba4\u60c5\u51b5\u4e0bzabbix\u5305\u542b5\u4e2a\u7a0b\u5e8f\uff1azabbix_agentd\u3001zabbix_get\u3001zabbix_proxy\u3001zabbix_sender\u3001zabbix_server\uff0c\u53e6\u5916\u4e00\u4e2azabbix_java_gateway\u662f\u53ef\u9009\uff0c\u8fd9\u4e2a\u9700\u8981\u53e6\u5916\u5b89\u88c5\u3002\u4e0b\u9762\u6765\u5206\u522b\u4ecb\u7ecd\u4e0b\u4ed6\u4eec\u5404\u81ea\u7684\u4f5c\u7528\u3002<\/p>\n
zabbix_agentd
\n\u5ba2\u6237\u7aef\u5b88\u62a4\u8fdb\u7a0b\uff0c\u6b64\u8fdb\u7a0b\u6536\u96c6\u5ba2\u6237\u7aef\u6570\u636e\uff0c\u4f8b\u5982cpu\u8d1f\u8f7d\u3001\u5185\u5b58\u3001\u786c\u76d8\u4f7f\u7528\u60c5\u51b5\u7b49\u3002<\/p>\n
zabbix_get
\nzabbix\u5de5\u5177\uff0c\u5355\u72ec\u4f7f\u7528\u7684\u547d\u4ee4\uff0c\u901a\u5e38\u5728server\u6216\u8005proxy\u7aef\u6267\u884c\u83b7\u53d6\u8fdc\u7a0b\u5ba2\u6237\u7aef\u4fe1\u606f\u7684\u547d\u4ee4\u3002\u901a\u5e38\u7528\u6237\u6392\u9519\u3002\u4f8b\u5982\u5728server\u7aef\u83b7\u53d6\u4e0d\u5230\u5ba2\u6237\u7aef\u7684\u5185\u5b58\u6570\u636e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528zabbix_get\u83b7\u53d6\u5ba2\u6237\u7aef\u7684\u5185\u5bb9\u7684\u65b9\u5f0f\u6765\u505a\u6545\u969c\u6392\u67e5\u3002<\/p>\n
zabbix_sender
\nzabbix\u5de5\u5177\uff0c\u7528\u4e8e\u53d1\u9001\u6570\u636e\u7ed9server\u6216\u8005proxy\uff0c\u901a\u5e38\u7528\u4e8e\u8017\u65f6\u6bd4\u8f83\u957f\u7684\u68c0\u67e5\u3002\u5f88\u591a\u68c0\u67e5\u975e\u5e38\u8017\u65f6\u95f4\uff0c\u5bfc\u81f4zabbix\u8d85\u65f6\u3002\u4e8e\u662f\u6211\u4eec\u5728\u811a\u672c\u6267\u884c\u5b8c\u6bd5\u4e4b\u540e\uff0c\u4f7f\u7528sender\u4e3b\u52a8\u63d0\u4ea4\u6570\u636e\u3002
\nzabbix_server
\nzabbix\u670d\u52a1\u7aef\u5b88\u62a4\u8fdb\u7a0b\u3002zabbix_agentd\u3001zabbix_get\u3001zabbix_sender\u3001zabbix_proxy\u3001zabbix_java_gateway\u7684\u6570\u636e\u6700\u7ec8\u90fd\u662f\u63d0\u4ea4\u5230server
\n\u5907\u6ce8\uff1a\u5f53\u7136\u4e0d\u662f\u6570\u636e\u90fd\u662f\u4e3b\u52a8\u63d0\u4ea4\u7ed9zabbix_server,\u4e5f\u6709\u7684\u662fserver\u4e3b\u52a8\u53bb\u53d6\u6570\u636e\u3002<\/p>\n
zabbix_proxy
\nzabbix\u4ee3\u7406\u5b88\u62a4\u8fdb\u7a0b\u3002\u529f\u80fd\u7c7b\u4f3cserver\uff0c\u552f\u4e00\u4e0d\u540c\u7684\u662f\u5b83\u53ea\u662f\u4e00\u4e2a\u4e2d\u8f6c\u7ad9\uff0c\u5b83\u9700\u8981\u628a\u6536\u96c6\u5230\u7684\u6570\u636e\u63d0\u4ea4\/\u88ab\u63d0\u4ea4\u5230server\u91cc\u3002\u4e3a\u4ec0\u4e48\u8981\u7528\u4ee3\u7406\uff1f\u4ee3\u7406\u662f\u505a\u4ec0\u4e48\u7684\uff1f\u5356\u4e2a\u5173\u5b50\uff0c\u8bf7\u7ee7\u7eed\u5173\u6ce8\u8fd0\u7ef4\u751f\u5b58\u65f6\u95f4zabbix\u6559\u7a0b\u7cfb\u5217\u3002<\/p>\n
zabbix_java_gateway
\nzabbix2.0\u4e4b\u540e\u5f15\u5165\u7684\u4e00\u4e2a\u529f\u80fd\u3002\u987e\u540d\u601d\u4e49\uff1aJava\u7f51\u5173\uff0c\u7c7b\u4f3cagentd\uff0c\u4f46\u662f\u53ea\u7528\u4e8eJava\u65b9\u9762\u3002\u9700\u8981\u7279\u522b\u6ce8\u610f\u7684\u662f\uff0c\u5b83\u53ea\u80fd\u4e3b\u52a8\u53bb\u83b7\u53d6\u6570\u636e\uff0c\u800c\u4e0d\u80fd\u88ab\u52a8\u83b7\u53d6\u6570\u636e\u3002\u5b83\u7684\u6570\u636e\u6700\u7ec8\u4f1a\u7ed9\u5230server\u6216\u8005proxy\u3002<\/p>\n
\u4e0b\u56fe\u662fzabbix\u7684\u903b\u8f91\u5173\u7cfb\u56fe\uff1a<\/p>\n
<\/a><\/p>\n 1\u3001\u4e3b\u673a\uff08host\uff09\uff1a\u8981\u76d1\u63a7\u7684\u7f51\u7edc\u8bbe\u5907\uff0c\u53ef\u7531IP\u6216DNS\u540d\u79f0\u6307\u5b9a\uff1b<\/p>\n 2\u3001\u4e3b\u673a\u7ec4\uff08host group\uff09\uff1a\u4e3b\u673a\u7684\u903b\u8f91\u5bb9\u5668\uff0c\u53ef\u4ee5\u5305\u542b\u4e3b\u673a\u548c\u6a21\u677f\uff0c\u4f46\u540c\u4e00\u4e2a\u7ec4\u7ec7\u5185\u7684\u4e3b\u673a\u548c\u6a21\u677f\u4e0d\u80fd\u4e92\u76f8\u94fe\u63a5\uff1b\u4e3b\u673a\u7ec4\u901a\u5e38\u5728\u7ed9\u7528\u6237\u6216\u7528\u6237\u7ec4\u6307\u6d3e\u76d1\u63a7\u6743\u9650\u65f6\u4f7f\u7528\uff1b<\/p>\n 3\u3001\u76d1\u63a7\u9879\uff08item\uff09\uff1a\u4e00\u4e2a\u7279\u5b9a\u76d1\u63a7\u6307\u6807\u7684\u76f8\u5173\u7684\u6570\u636e\uff1b\u8fd9\u4e9b\u6570\u636e\u6765\u81ea\u4e8e\u88ab\u76d1\u63a7\u5bf9\u8c61\uff1bitem\u662fzabbix\u8fdb\u884c\u6570\u636e\u6536\u96c6\u7684\u6838\u5fc3\uff0c\u76f8\u5bf9\u67d0\u4e2a\u76d1\u63a7\u5bf9\u8c61\uff0c\u6bcf\u4e2aitem\u90fd\u7531\"key\"\u6807\u8bc6\uff1b<\/p>\n 4\u3001\u89e6\u53d1\u5668\uff08trigger\uff09\uff1a\u4e00\u4e2a\u8868\u8fbe\u5f0f\uff0c\u7528\u4e8e\u8bc4\u4f30\u67d0\u76d1\u63a7\u5bf9\u8c61\u7684\u7279\u5b9aitem\u5185\u63a5\u6536\u5230\u7684\u6570\u636e\u662f\u5426\u5728\u5408\u7406\u8303\u56f4\u5185\uff0c\u4e5f\u5c31\u662f\u9608\u503c\uff1b\u63a5\u6536\u7684\u6570\u636e\u91cf\u5927\u4e8e\u9608\u503c\u65f6\uff0c\u89e6\u53d1\u5668\u72b6\u6001\u5c06\u4ece\"OK\"\u8f6c\u53d8\u4e3a\"Problem\"\uff0c\u5f53\u6570\u636e\u518d\u6b21\u6062\u590d\u5230\u5408\u7406\u8303\u56f4\uff0c\u53c8\u8f6c\u53d8\u4e3a\"OK\"\uff1b<\/p>\n 5\u3001\u4e8b\u4ef6\uff08event\uff09\uff1a\u89e6\u53d1\u4e00\u4e2a\u503c\u5f97\u5173\u6ce8\u7684\u4e8b\u60c5\uff0c\u6bd4\u5982\u89e6\u53d1\u5668\u72b6\u6001\u8f6c\u53d8\uff0c\u65b0\u7684agent\u6216\u91cd\u65b0\u4e0a\u7ebf\u7684agent\u7684\u81ea\u52a8\u6ce8\u518c\u7b49\uff1b<\/p>\n 6\u3001\u52a8\u4f5c\uff08action\uff09\uff1a\u6307\u5bf9\u4e8e\u7279\u5b9a\u4e8b\u4ef6\u4e8b\u5148\u5b9a\u4e49\u7684\u5904\u7406\u65b9\u6cd5\uff0c\u5982\u53d1\u9001\u901a\u77e5\uff0c\u4f55\u65f6\u6267\u884c\u64cd\u4f5c\uff1b<\/p>\n 7\u3001\u62a5\u8b66\u5347\u7ea7\uff08escalation\uff09\uff1a\u53d1\u9001\u8b66\u62a5\u6216\u8005\u6267\u884c\u8fdc\u7a0b\u547d\u4ee4\u7684\u81ea\u5b9a\u4e49\u65b9\u6848\uff0c\u5982\u6bcf\u96945\u5206\u949f\u53d1\u9001\u4e00\u6b21\u8b66\u62a5\uff0c\u5171\u53d1\u90015\u6b21\u7b49\uff1b<\/p>\n 8\u3001\u5a92\u4ecb\uff08media\uff09\uff1a\u53d1\u9001\u901a\u77e5\u7684\u624b\u6bb5\u6216\u8005\u901a\u9053\uff0c\u5982Email\u3001Jabber\u6216\u8005SMS\u7b49\uff1b<\/p>\n 9\u3001\u901a\u77e5\uff08notification\uff09\uff1a\u901a\u8fc7\u9009\u5b9a\u7684\u5a92\u4ecb\u5411\u7528\u6237\u53d1\u9001\u7684\u6709\u5173\u67d0\u4e8b\u4ef6\u7684\u4fe1\u606f\uff1b<\/p>\n 10\u3001\u8fdc\u7a0b\u547d\u4ee4\uff08remote command\uff09\uff1a\u9884\u5b9a\u4e49\u7684\u547d\u4ee4\uff0c\u53ef\u5728\u88ab\u76d1\u63a7\u4e3b\u673a\u5904\u4e8e\u67d0\u7279\u5b9a\u6761\u4ef6\u4e0b\u65f6\u81ea\u52a8\u6267\u884c\uff1b<\/p>\n 11\u3001\u6a21\u677f\uff08template\uff09\uff1a\u7528\u4e8e\u5feb\u901f\u5b9a\u4e49\u88ab\u76d1\u63a7\u4e3b\u673a\u7684\u9884\u8bbe\u6761\u76ee\u96c6\u5408\uff0c\u901a\u5e38\u5305\u542b\u4e86item\u3001trigger\u3001graph\u3001screen\u3001application\u4ee5\u53calow-level discovery rule\uff1b\u6a21\u677f\u53ef\u4ee5\u76f4\u63a5\u94fe\u63a5\u81f3\u67d0\u4e2a\u4e3b\u673a\uff1b<\/p>\n 12\u3001\u5e94\u7528\uff08application\uff09\uff1a\u4e00\u7ec4item\u7684\u96c6\u5408\uff1b<\/p>\n 13\u3001web\u573a\u666f\uff08web scennario\uff09\uff1a\u7528\u4e8e\u68c0\u6d4bweb\u7ad9\u70b9\u53ef\u7528\u6027\u7684\u4e00\u4e2a\u6d3b\u591a\u4e2aHTTP\u8bf7\u6c42\uff1b<\/p>\n 14\u3001\u524d\u7aef\uff08frontend\uff09\uff1aZabbix\u7684web\u63a5\u53e3\uff1b<\/p>\n \u4e0b\u56fe\u662f\u4e00\u4e2azabbix\u7684\u6d41\u7a0b\u56fe\uff0c\u5176\u4e32\u8054\u4e86\u5404\u672f\u8bed\u4e4b\u95f4\u7684\u5173\u7cfb<\/p>\n <\/a><\/p>\n \u5728\u5b9e\u9645\u76d1\u63a7\u67b6\u6784\u4e2d\uff0czabbix\u6839\u636e\u7f51\u7edc\u73af\u5883\u3001\u76d1\u63a7\u89c4\u6a21\u7b49 \u00a0\u5206\u4e86\u4e09\u79cd\u67b6\u6784\uff1a server-client \u3001master-node-client\u3001server-proxy-client\u4e09\u79cd \u3002<\/p>\n <\/a><\/p>\n \u4e0a\u56fe\u662fserver-client\u67b6\u6784\uff0c\u4e5f\u662fzabbix\u7684\u6700\u7b80\u5355\u7684\u67b6\u6784\uff0c\u76d1\u63a7\u673a\u548c\u88ab\u76d1\u63a7\u673a\u4e4b\u95f4\u4e0d\u7ecf\u8fc7\u4efb\u4f55\u4ee3\u7406 \uff0c\u76f4\u63a5\u7531zabbix\u00a0server\u548czabbix agentd\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u4e92\u3002\u9002\u7528\u4e8e\u7f51\u7edc\u6bd4\u8f83\u7b80\u5355\uff0c\u8bbe\u5907\u6bd4\u8f83\u5c11\u7684\u76d1\u63a7\u73af\u5883 \u3002<\/p>\n <\/a><\/p>\n \u4e0a\u56fe\u662fserver-proxy-client\u67b6\u6784\uff0c\u5176\u4e2dproxy\u662fserver\u3001client\u4e4b\u95f4\u6c9f\u901a\u7684\u4e00\u4e2a\u6865\u6881\uff0cproxy\u672c\u8eab\u6ca1\u6709\u524d\u7aef\uff0c\u800c\u4e14\u5176\u672c\u8eab\u5e76\u4e0d\u5b58\u653e\u6570\u636e\uff0c\u53ea\u662f\u5c06agentd\u53d1\u6765\u7684\u6570\u636e\u6682\u65f6\u5b58\u653e\uff0c\u800c\u540e\u518d\u63d0\u4ea4\u7ed9server \u3002\u8be5\u67b6\u6784\u7ecf\u5e38\u662f\u548cmaster-node-client\u67b6\u6784\u505a\u6bd4\u8f83\u7684\u67b6\u6784 \uff0c\u4e00\u822c\u9002\u7528\u4e8e\u8de8\u673a\u623f\u3001\u8de8\u7f51\u7edc\u7684\u4e2d\u578b\u7f51\u7edc\u67b6\u6784\u7684\u76d1\u63a7\u3002<\/p>\n <\/a><\/p>\n \u4e0a\u56fe\u662fmaster-node-client\u67b6\u6784\uff0c\u8be5\u67b6\u6784\u662fzabbix\u6700\u590d\u6742\u7684\u76d1\u63a7\u67b6\u6784\uff0c\u9002\u7528\u4e8e\u8de8\u7f51\u7edc\u3001\u8de8\u673a\u623f\u3001\u8bbe\u5907\u8f83\u591a\u7684\u5927\u578b\u73af\u5883 \u3002\u6bcf\u4e2anode\u540c\u65f6\u4e5f\u662f\u4e00\u4e2aserver\u7aef\uff0cnode\u4e0b\u9762\u53ef\u4ee5\u63a5proxy\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u63a5client \u3002node\u6709\u81ea\u5df2\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u6570\u636e\u5e93\uff0c\u5176\u8981\u505a\u7684\u662f\u5c06\u914d\u7f6e\u4fe1\u606f\u548c\u76d1\u63a7\u6570\u636e\u5411master\u540c\u6b65\uff0cmaster\u7684\u6545\u969c\u6216\u635f\u574f\u5bf9node\u5176\u4e0b\u67b6\u6784\u7684\u5b8c\u6574\u6027\u3002<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.361way.com\/zabbix-summarize\/3335.html<\/a><\/p>\n\n