{"id":91723,"date":"2026-08-08T10:34:45","date_gmt":"2026-08-08T02:34:45","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/91723.html"},"modified":"2026-08-08T10:34:45","modified_gmt":"2026-08-08T02:34:45","slug":"day-15-zabbix%e7%ae%a1%e7%90%86%ef%bc%88%e4%b8%8a%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/91723.html","title":{"rendered":"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>Rocky9 \u90e8\u7f72 Zabbix 6.0 \u5206\u5e03\u5f0f\u76d1\u63a7\u5b8c\u6574\u5b9e\u64cd\u590d\u76d8<\/li>\n<li>\n<ul>\n<li>\u4e00\u3001\u57fa\u7840\u73af\u5883\u521d\u59cb\u5316<\/li>\n<li>\n<ul>\n<li>1. \u5173\u95edSELinux<\/li>\n<li>2. \u7f51\u5361\u4fe1\u606f\u786e\u8ba4<\/li>\n<li>3. \u4e3b\u673a\u540d\u89e3\u6790\u914d\u7f6e<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001Zabbix Server \u670d\u52a1\u7aef\u90e8\u7f72<\/li>\n<li>\n<ul>\n<li>1. \u7248\u672c\u9009\u578b<\/li>\n<li>2. \u6570\u636e\u5e93\u521d\u59cb\u5316\u8e29\u5751<\/li>\n<li>3. \u670d\u52a1\u7aef\u914d\u7f6e<\/li>\n<li>4. Web\u524d\u7aef\u521d\u59cb\u5316<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001Agent \u5ba2\u6237\u7aef\u90e8\u7f72\u4e0e\u63a5\u5165<\/li>\n<li>\n<ul>\n<li>1. Rocky9 \u8282\u70b9 server2 \u90e8\u7f72<\/li>\n<li>2. Web\u524d\u7aef\u4e2d\u6587\u4e71\u7801\u4fee\u590d<\/li>\n<li>3. Agent \u6838\u5fc3\u914d\u7f6e<\/li>\n<li>4. CentOS7 \u8282\u70b9 server3 \u90e8\u7f72<\/li>\n<li>5. \u8fde\u901a\u6027\u9a8c\u8bc1<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879\u4e0e\u6548\u679c\u9a8c\u8bc1<\/li>\n<li>\n<ul>\n<li>1. CPU \u8d1f\u8f7d\u76d1\u63a7\u9879\u521b\u5efa<\/li>\n<li>2. \u538b\u6d4b\u9a8c\u8bc1\u76d1\u63a7\u6709\u6548\u6027<\/li>\n<li>3. \u78c1\u76d8\u4f7f\u7528\u7387\u76d1\u63a7\u9879<\/li>\n<\/ul>\n<\/li>\n<li>\u8e29\u5751\u6c47\u603b\u4e0e\u5b9e\u64cd\u603b\u7ed3<\/li>\n<li>\n<ul>\n<li>1. \u672c\u6b21\u6838\u5fc3\u8e29\u5751\u70b9<\/li>\n<li>2. \u5b9e\u64cd\u5fc3\u5f97<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<h2>Rocky9 \u90e8\u7f72 Zabbix 6.0 \u5206\u5e03\u5f0f\u76d1\u63a7\u5b8c\u6574\u5b9e\u64cd\u590d\u76d8<\/h2>\n<h3>\u4e00\u3001\u57fa\u7840\u73af\u5883\u521d\u59cb\u5316<\/h3>\n<p>\u505aZabbix\u96c6\u7fa4\u4e4b\u524d\u5148\u628a\u6240\u6709\u8282\u70b9\u7684\u57fa\u7840\u73af\u5883\u7edf\u4e00\u8c03\u597d&#xff0c;\u907f\u514d\u540e\u9762\u56e0\u4e3a\u7cfb\u7edf\u914d\u7f6e\u95ee\u9898\u53cd\u590d\u6392\u67e5\u3002<\/p>\n<h4>1. \u5173\u95edSELinux<\/h4>\n<p>\u5b9e\u9a8c\u73af\u5883\u7b2c\u4e00\u6b65\u5148\u7981\u7528SELinux&#xff0c;\u4e0d\u7136\u540e\u9762\u7aef\u53e3\u3001\u6587\u4ef6\u6743\u9650\u7684\u9690\u6027\u95ee\u9898\u7279\u522b\u591a\u3002\u7f16\u8f91\/etc\/selinux\/config&#xff0c;\u5c06SELINUX\u8bbe\u7f6e\u4e3adisabled\u3002\u6587\u6863\u91cc\u4e5f\u6807\u6ce8\u4e86RHEL8\u4e4b\u540e\u7684\u7248\u672c&#xff0c;\u5f7b\u5e95\u7981\u7528\u8fd8\u53ef\u4ee5\u901a\u8fc7grubby\u7ed9\u5185\u6838\u52a0\u53c2\u6570&#xff0c;\u5b9e\u9a8c\u573a\u666f\u6539\u914d\u7f6e\u6587\u4ef6\u91cd\u542f\u5c31\u8db3\u591f\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023442-6a7695c27efd1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. \u7f51\u5361\u4fe1\u606f\u786e\u8ba4<\/h4>\n<p>\u672c\u6b21\u5b9e\u9a8c\u7528\u7684\u662fRocky Linux 9.6\u7248\u672c&#xff0c;\u5185\u6838\u4e3a5.14.0\u3002\u767b\u5f55\u7cfb\u7edf\u540e\u5148\u786e\u8ba4\u7f51\u5361\u72b6\u6001&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> a<\/p>\n<p>\u5c06\u7f51\u5361\u540d\u4e3aeth0&#xff0c;\u901a\u8fc7DHCP\u83b7\u53d6\u5230\u4e86IP\u5730\u5740\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023442-6a7695c2b5f6e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u518d\u901a\u8fc7NetworkManager\u67e5\u770b\u8fde\u63a5\u5217\u8868&#xff0c;\u786e\u8ba4eth0\u5bf9\u5e94\u7684\u914d\u7f6e\u6b63\u5e38&#xff1a;<\/p>\n<p>nmcli connection show<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023442-6a7695c2c989f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8fdb\u5165\u7cfb\u7edf\u8fde\u63a5\u914d\u7f6e\u76ee\u5f55&#xff0c;\u67e5\u770b\u7f51\u5361\u914d\u7f6e\u6587\u4ef6\u8be6\u60c5&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> \/etc\/NetworkManager\/system-connections<br \/>\n<span class=\"token function\">cat<\/span> eth0.nmconnection<\/p>\n<p>\u5f53\u524dIPv4\u4e3a\u81ea\u52a8\u83b7\u53d6\u6a21\u5f0f&#xff0c;\u540e\u7eed\u9700\u8981\u56fa\u5b9aIP\u76f4\u63a5\u4fee\u6539\u8be5\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023442-6a7695c2d5e18.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. \u4e3b\u673a\u540d\u89e3\u6790\u914d\u7f6e<\/h4>\n<p>\u591a\u8282\u70b9\u76d1\u63a7\u96c6\u7fa4\u4e00\u5b9a\u8981\u63d0\u524d\u505a\u597d\u4e3b\u673a\u540d\u6620\u5c04&#xff0c;\u6211\u628a\u6240\u6709\u5b9e\u9a8c\u8282\u70b9\u7684IP\u548c\u4e3b\u673a\u540d\u90fd\u5199\u5165\u4e86\/etc\/hosts&#xff0c;\u4eceserver1\u5230server8\u4e00\u4e00\u5bf9\u5e94&#xff0c;\u540e\u7eed\u914d\u7f6e\u548c\u6392\u9519\u90fd\u4e0d\u7528\u53cd\u590d\u8bb0IP&#xff0c;\u4e5f\u80fd\u907f\u514d\u4e3b\u673a\u540d\u4e0d\u5339\u914d\u5bfc\u81f4\u7684\u76d1\u63a7\u5f02\u5e38\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023442-6a7695c2ee496.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u4e8c\u3001Zabbix Server \u670d\u52a1\u7aef\u90e8\u7f72<\/h3>\n<h4>1. \u7248\u672c\u9009\u578b<\/h4>\n<p>Zabbix\u7248\u672c\u9009\u62e96.0 LTS\u957f\u671f\u652f\u6301\u7248&#xff0c;\u7a33\u5b9a\u6027\u6700\u597d&#xff1b;\u5bf9\u5e94\u7cfb\u7edf\u9009\u62e9Rocky Linux 9&#xff0c;\u7ec4\u4ef6\u5305\u542b\u670d\u52a1\u7aef\u3001\u524d\u7aef\u3001Agent&#xff0c;\u6570\u636e\u5e93\u9009\u7528MySQL&#xff0c;\u76f4\u63a5\u901a\u8fc7\u5b98\u65b9rpm\u6e90\u5b89\u88c5\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c30a081.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. \u6570\u636e\u5e93\u521d\u59cb\u5316\u8e29\u5751<\/h4>\n<p>\u5b89\u88c5\u5b8cZabbix\u670d\u52a1\u7aef\u548cMySQL\u540e&#xff0c;\u9700\u8981\u5bfc\u5165\u521d\u59cbSQL\u811a\u672c&#xff1a;<\/p>\n<p>zcat \/usr\/share\/zabbix-sql-scripts\/mysql\/server.sql.gz <span class=\"token operator\">|<\/span> mysql &#8211;default-character-set<span class=\"token operator\">&#061;<\/span>utf8mb4 <span class=\"token parameter variable\">-uzabbix<\/span> <span class=\"token parameter variable\">-p<\/span> zabbix<\/p>\n<p>\u7b2c\u4e00\u6b21\u6267\u884c\u76f4\u63a5\u62a5\u9519ERROR 1045 (28000): Access denied&#xff0c;\u6392\u67e5\u540e\u53d1\u73b0\u662fzabbix\u6570\u636e\u5e93\u7528\u6237\u7684\u5bc6\u7801\u8f93\u5165\u9519\u8bef\u3002\u91cd\u65b0\u6838\u5bf9\u5bc6\u7801\u540e\u5bfc\u5165\u6210\u529f&#xff0c;\u767b\u5f55MySQL\u786e\u8ba4zabbix\u5e93\u5df2\u6b63\u5e38\u521b\u5efa\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c345ab6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. \u670d\u52a1\u7aef\u914d\u7f6e<\/h4>\n<p>\u7f16\u8f91\u670d\u52a1\u7aef\u4e3b\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">vim<\/span> \/etc\/zabbix\/zabbix_server.conf<\/p>\n<p>\u6838\u5fc3\u4fee\u6539DBPassword\u53c2\u6570&#xff0c;\u586b\u5165zabbix\u6570\u636e\u5e93\u7528\u6237\u5bf9\u5e94\u7684\u5bc6\u7801&#xff0c;\u5176\u4f59\u53c2\u6570\u9ed8\u8ba4\u5373\u53ef\u6ee1\u8db3\u5b9e\u9a8c\u9700\u6c42\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c3598a4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u91cd\u542f\u670d\u52a1&#xff0c;\u67e5\u770b\u72b6\u6001\u6240\u6709\u5b50\u8fdb\u7a0b\u90fd\u6b63\u5e38\u542f\u52a8\u3002<\/p>\n<p>systemctl restart zabbix-server<br \/>\nsystemctl status zabbix-server<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c366e20.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>4. Web\u524d\u7aef\u521d\u59cb\u5316<\/h4>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95eeZabbix\u524d\u7aef\u5730\u5740&#xff0c;\u8fdb\u5165\u4eea\u8868\u76d8\u540e\u53ef\u4ee5\u770b\u5230\u670d\u52a1\u7aef\u8fd0\u884c\u72b6\u6001\u6b63\u5e38&#xff0c;\u4e3b\u673a\u3001\u6a21\u677f\u3001\u76d1\u63a7\u9879\u7b49\u6570\u636e\u90fd\u80fd\u6b63\u5e38\u52a0\u8f7d&#xff0c;\u8bf4\u660e\u670d\u52a1\u7aef\u548cWeb\u524d\u7aef\u90e8\u7f72\u5b8c\u6210\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c37b3ff.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u4e09\u3001Agent \u5ba2\u6237\u7aef\u90e8\u7f72\u4e0e\u63a5\u5165<\/h3>\n<h4>1. Rocky9 \u8282\u70b9 server2 \u90e8\u7f72<\/h4>\n<p>\u9996\u5148\u5728server2\u8282\u70b9\u914d\u7f6eZabbix\u5b98\u65b9yum\u6e90&#xff0c;\u5b89\u88c5release\u5305&#xff1a;<\/p>\n<p><span class=\"token function\">rpm<\/span> <span class=\"token parameter variable\">-Uvh<\/span> https:\/\/repo.zabbix.com\/zabbix\/6.0\/rhel\/9\/x86_64\/zabbix-release-latest-6.0.el9.noarch.rpm<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c38eb0e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6e90\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u76f4\u63a5\u5b89\u88c5zabbix-agent\u5ba2\u6237\u7aef&#xff1a;<\/p>\n<p>dnf <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> zabbix-agent<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c39b9c3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. Web\u524d\u7aef\u4e2d\u6587\u4e71\u7801\u4fee\u590d<\/h4>\n<p>\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u53d1\u73b0Web\u754c\u9762\u4e2d\u6587\u663e\u793a\u4e71\u7801&#xff0c;\u8fd9\u662fZabbix\u7684\u8001\u95ee\u9898&#xff0c;\u9ed8\u8ba4\u7684graphfont\u5b57\u4f53\u4e0d\u652f\u6301\u4e2d\u6587\u3002\u89e3\u51b3\u65b9\u6cd5\u5f88\u7b80\u5355&#xff1a;\u8fdb\u5165\u5b57\u4f53\u76ee\u5f55&#xff0c;\u5220\u9664\u9ed8\u8ba4\u5b57\u4f53&#xff0c;\u5c06\u4e2d\u6587\u5b57\u4f53\u8f6f\u94fe\u63a5\u4e3a\u9ed8\u8ba4\u6587\u4ef6\u540d\u5373\u53ef\u3002<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> \/usr\/share\/zabbix\/assets\/fonts<br \/>\n<span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-f<\/span> graphfont.ttf<br \/>\n<span class=\"token function\">ln<\/span> <span class=\"token parameter variable\">-s<\/span> simkai.ttf graphfont.ttf<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c3a6cf3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. Agent \u6838\u5fc3\u914d\u7f6e<\/h4>\n<p>\u7f16\u8f91server2\u7684Agent\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">vim<\/span> \/etc\/zabbix\/zabbix_agentd.conf<\/p>\n<p>\u7b2c\u4e00\u4e2a\u6838\u5fc3\u53c2\u6570Server&#xff0c;\u586b\u5199Zabbix\u670d\u52a1\u7aefIP&#xff0c;\u4ec5\u5141\u8bb8\u8be5\u5730\u5740\u53d1\u8d77\u88ab\u52a8\u76d1\u63a7\u8bf7\u6c42\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c3b69fb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u7b2c\u4e8c\u4e2a\u53c2\u6570ServerActive&#xff0c;\u540c\u6837\u586b\u5199\u670d\u52a1\u7aefIP&#xff0c;\u7528\u4e8e\u4e3b\u52a8\u6a21\u5f0f\u4e0a\u62a5\u6570\u636e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c3c9e1a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u7b2c\u4e09\u4e2a\u5173\u952e\u53c2\u6570Hostname&#xff0c;\u8bbe\u7f6e\u4e3a\u5f53\u524d\u8282\u70b9\u4e3b\u673a\u540dserver2&#xff0c;\u5fc5\u987b\u548cWeb\u7aef\u6dfb\u52a0\u4e3b\u673a\u65f6\u7684\u540d\u79f0\u5b8c\u5168\u4e00\u81f4&#xff0c;\u5426\u5219\u4f1a\u5339\u914d\u5931\u8d25\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c3d5d9e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c3e12b6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\u91cd\u542fAgent\u670d\u52a1&#xff0c;\u5230Web\u7aef\u6dfb\u52a0\u4e3b\u673a\u5e76\u5173\u8054\u7cfb\u7edf\u6a21\u677f&#xff0c;\u6dfb\u52a0\u5b8c\u6210\u540e\u4e3b\u673a\u5217\u8868\u5373\u53ef\u770b\u5230server2\u8282\u70b9\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023443-6a7695c3f2754.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>4. CentOS7 \u8282\u70b9 server3 \u90e8\u7f72<\/h4>\n<p>\u53e6\u5916\u51c6\u5907\u4e86\u4e00\u53f0CentOS7\u8282\u70b9server3&#xff0c;\u90e8\u7f72\u6d41\u7a0b\u548cRocky9\u57fa\u672c\u4e00\u81f4&#xff0c;\u4ec5\u9700\u5b89\u88c5\u5bf9\u5e94\u7248\u672c\u7684Zabbix\u6e90&#xff1a;<\/p>\n<p><span class=\"token function\">rpm<\/span> <span class=\"token parameter variable\">-Uvh<\/span> https:\/\/repo.zabbix.com\/zabbix\/6.0\/rhel\/7\/x86_64\/zabbix-release-latest-6.0.el7.noarch.rpm<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023444-6a7695c409c7f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>Agent\u914d\u7f6e\u548cserver2\u5b8c\u5168\u76f8\u540c&#xff0c;\u4ec5\u9700\u628aHostname\u6539\u4e3aserver3\u5373\u53ef\u3002<\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e\u5728Web\u7aef\u521b\u5efaserver3\u4e3b\u673a&#xff0c;\u586b\u5199\u5bf9\u5e94IP\u548c\u7aef\u53e3&#xff0c;\u5173\u8054Linux\u76d1\u63a7\u6a21\u677f\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023444-6a7695c4160f7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5237\u65b0\u4e3b\u673a\u5217\u8868\u540e&#xff0c;\u4e09\u53f0\u4e3b\u673a\u7684\u53ef\u7528\u6027\u56fe\u6807\u90fd\u53d8\u4e3a\u7eff\u8272ZBX&#xff0c;\u8bf4\u660e\u6240\u6709Agent\u90fd\u6b63\u5e38\u63a5\u5165\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-08-08goc2fckdvky.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>5. \u8fde\u901a\u6027\u9a8c\u8bc1<\/h4>\n<p>\u4e3a\u786e\u8ba4\u670d\u52a1\u7aef\u5230Agent\u94fe\u8def\u5b8c\u5168\u901a\u7545&#xff0c;\u5728\u670d\u52a1\u7aef\u5b89\u88c5\u6d4b\u8bd5\u5de5\u5177&#xff1a;<\/p>\n<p>yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> zabbix-get<\/p>\n<p>\u5206\u522b\u6d4b\u8bd5\u4e24\u53f0Agent\u7684\u8fde\u901a\u6027&#xff1a;<\/p>\n<p>zabbix_get <span class=\"token parameter variable\">-s<\/span> <span class=\"token number\">192.168<\/span>.48.163 <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">10050<\/span> <span class=\"token parameter variable\">-k<\/span> <span class=\"token string\">&#039;agent.ping&#039;<\/span><br \/>\nzabbix_get <span class=\"token parameter variable\">-s<\/span> <span class=\"token number\">192.168<\/span>.48.163 <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">10050<\/span> <span class=\"token parameter variable\">-k<\/span> <span class=\"token string\">&#039;agent.hostname&#039;<\/span><\/p>\n<p>agent.ping\u8fd4\u56de1\u4ee3\u8868\u7f51\u7edc\u548c\u7aef\u53e3\u90fd\u901a&#xff0c;agent.hostname\u80fd\u6b63\u786e\u8fd4\u56de\u4e3b\u673a\u540d&#xff0c;\u8bf4\u660eAgent\u914d\u7f6e\u5b8c\u5168\u6b63\u786e\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-08-08ulvv3b3g2ly.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u56db\u3001\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879\u4e0e\u6548\u679c\u9a8c\u8bc1<\/h3>\n<h4>1. CPU \u8d1f\u8f7d\u76d1\u63a7\u9879\u521b\u5efa<\/h4>\n<p>\u81ea\u5e26\u6a21\u677f\u867d\u7136\u5168&#xff0c;\u4f46\u8fd8\u662f\u624b\u52a8\u521b\u5efa\u4e00\u4e2a\u76d1\u63a7\u9879\u719f\u6089\u6d41\u7a0b\u3002\u7ed9server2\u6dfb\u52a0\u201ccpu\u6bcf\u5206\u949f\u8d1f\u8f7d\u201d\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879&#xff0c;\u952e\u503c\u4e3asystem.cpu.load[all,avg1]&#xff0c;\u66f4\u65b0\u95f4\u9694\u8bbe\u4e3a1\u5206\u949f\u3002 <img decoding=\"async\" src=\"2026-08-08gd5wkxufdzl.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u521b\u5efa\u5b8c\u6210\u540e\u5728\u76d1\u63a7\u9879\u5217\u8868\u4e2d\u53ef\u4ee5\u770b\u5230\u521a\u6dfb\u52a0\u7684\u6761\u76ee&#xff0c;\u72b6\u6001\u4e3a\u5df2\u542f\u7528\u3002 <img decoding=\"async\" src=\"2026-08-08k5ens0w3ma4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u56de\u5230\u4e3b\u673a\u5217\u8868&#xff0c;server2\u7684\u76d1\u63a7\u9879\u6570\u91cf\u5df2\u540c\u6b65\u66f4\u65b0\u3002 <img decoding=\"async\" src=\"2026-08-08ymq0gil01aq.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"2026-08-08hhs3nhxdpp0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u7b49\u5f85\u51e0\u4e2a\u91c7\u96c6\u5468\u671f\u540e\u67e5\u770b\u76d1\u63a7\u56fe\u8868&#xff0c;\u7a7a\u95f2\u72b6\u6001\u4e0bCPU\u8d1f\u8f7d\u5f88\u4f4e&#xff0c;\u6570\u503c\u7a33\u5b9a\u57280.1\u5de6\u53f3&#xff0c;\u7b26\u5408\u7cfb\u7edf\u8868\u73b0\u3002 <img decoding=\"async\" src=\"2026-08-08rgamp1pj3nk.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. \u538b\u6d4b\u9a8c\u8bc1\u76d1\u63a7\u6709\u6548\u6027<\/h4>\n<p>\u5728server2\u540e\u53f0\u6267\u884cCPU\u5bc6\u96c6\u578b\u4efb\u52a1\u62c9\u9ad8\u8d1f\u8f7d&#xff1a;<\/p>\n<p>md5sum \/dev\/zero <span class=\"token operator\">&amp;<\/span><\/p>\n<p>\u538b\u6d4b\u4e00\u6bb5\u65f6\u95f4\u540e\u518d\u770b\u56fe\u8868&#xff0c;CPU\u8d1f\u8f7d\u660e\u663e\u4e0a\u5347&#xff0c;\u76d1\u63a7\u66f2\u7ebf\u6b63\u5e38\u53d8\u5316&#xff0c;\u8bf4\u660e\u6570\u636e\u91c7\u96c6\u5b9e\u65f6\u6709\u6548\u3002 <img decoding=\"async\" src=\"2026-08-083jatwpd4axl.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"2026-08-08kjm5rojgkup.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6301\u7eed\u538b\u6d4b\u8fc7\u7a0b\u4e2d&#xff0c;\u8d1f\u8f7d\u8fdb\u4e00\u6b65\u5347\u9ad8&#xff0c;\u56fe\u8868\u8d8b\u52bf\u548c\u5b9e\u9645\u64cd\u4f5c\u5b8c\u5168\u5bf9\u5e94\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-08-08lmny01e1ivt.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u9a8c\u8bc1\u5b8c\u6210\u540e&#xff0c;\u5c06\u540e\u53f0\u8fdb\u7a0b\u5207\u5230\u524d\u53f0\u5e76\u7ed3\u675f\u538b\u6d4b&#xff1a;<\/p>\n<p><span class=\"token function\">fg<\/span><\/p>\n<p>\u505c\u6b62\u538b\u6d4b\u540e&#xff0c;CPU\u8d1f\u8f7d\u5feb\u901f\u56de\u843d&#xff0c;\u56fe\u8868\u66f2\u7ebf\u4e0b\u964d&#xff0c;\u6574\u4e2a\u76d1\u63a7\u94fe\u8def\u54cd\u5e94\u53ca\u65f6\u3002 <img decoding=\"async\" src=\"2026-08-08yom0oz1rb04.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. \u78c1\u76d8\u4f7f\u7528\u7387\u76d1\u63a7\u9879<\/h4>\n<p>\u9664\u4e86CPU&#xff0c;\u53c8\u8865\u5145\u4e86\u4e24\u4e2a\u78c1\u76d8\u76f8\u5173\u76d1\u63a7\u9879&#xff1a;\u6839\u5206\u533a\u4f7f\u7528\u91cf\u548c\u6839\u5206\u533a\u7a7a\u95f2\u767e\u5206\u6bd4&#xff0c;\u8986\u76d6\u57fa\u7840\u8d44\u6e90\u76d1\u63a7\u7ef4\u5ea6\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-08-081fgg5brumqc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"2026-08-08tyhjo3zu5ff.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u8e29\u5751\u6c47\u603b\u4e0e\u5b9e\u64cd\u603b\u7ed3<\/h3>\n<h4>1. \u672c\u6b21\u6838\u5fc3\u8e29\u5751\u70b9<\/h4>\n<li>\u670d\u52a1\u540d\u62fc\u5199\u9519\u8bef&#xff1a;\u628azabbix-server\u5199\u6210zabbix_server&#xff0c;\u5bfc\u81f4systemctl\u627e\u4e0d\u5230\u670d\u52a1\u3002Linux\u670d\u52a1\u5355\u5143\u540d\u57fa\u672c\u90fd\u662f\u6a2a\u6760\u5206\u9694&#xff0c;\u8bb0\u6df7\u5f88\u5bb9\u6613\u8e29\u5751\u3002<\/li>\n<li>\u6570\u636e\u5e93\u5bfc\u51651045\u62a5\u9519&#xff1a;\u8f93\u5165zabbix\u7528\u6237\u5bc6\u7801\u65f6\u624b\u6ed1\u51fa\u9519&#xff0c;\u5bfc\u5165\u524d\u5148\u624b\u52a8\u767b\u5f55MySQL\u9a8c\u8bc1\u8d26\u53f7\u5bc6\u7801&#xff0c;\u80fd\u5c11\u8d70\u5f88\u591a\u5f2f\u8def\u3002<\/li>\n<li>Web\u4e2d\u6587\u4e71\u7801&#xff1a;\u9ed8\u8ba4\u5b57\u4f53\u4e0d\u652f\u6301\u4e2d\u6587&#xff0c;\u66ff\u6362\u5b57\u4f53\u65f6\u6ce8\u610f\u8f6f\u94fe\u63a5\u7684\u6587\u4ef6\u540d\u8981\u548c\u539f\u6587\u4ef6\u540d\u5b8c\u5168\u4e00\u81f4\u3002<\/li>\n<li>Agent\u4e3b\u673a\u540d\u4e0d\u5339\u914d&#xff1a;Agent\u914d\u7f6e\u7684Hostname\u5fc5\u987b\u548cWeb\u7aef\u4e3b\u673a\u540d\u79f0\u5b8c\u5168\u76f8\u540c&#xff0c;\u5dee\u4e00\u4e2a\u5b57\u7b26\u90fd\u5339\u914d\u4e0d\u4e0a\u76d1\u63a7\u9879\u3002<\/li>\n<h4>2. \u5b9e\u64cd\u5fc3\u5f97<\/h4>\n<p>\u8fd9\u6b21\u4ece0\u52301\u642d\u5b8c\u4e00\u6574\u5957Zabbix\u76d1\u63a7&#xff0c;\u6700\u5927\u7684\u611f\u53d7\u662f&#xff1a;\u90e8\u7f72\u672c\u8eab\u4e0d\u96be&#xff0c;\u5751\u57fa\u672c\u90fd\u5728\u7ec6\u8282\u91cc\u3002\u6bd4\u5982\u670d\u52a1\u540d\u7684\u6a2a\u6760\u4e0b\u5212\u7ebf\u3001\u5bc6\u7801\u8f93\u9519\u3001\u4e3b\u673a\u540d\u4e0d\u4e00\u81f4&#xff0c;\u90fd\u662f\u5f88\u5c0f\u7684\u70b9&#xff0c;\u4f46\u5361\u8d77\u6765\u8981\u6392\u67e5\u534a\u5929\u3002\u53e6\u5916\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879&#043;\u538b\u6d4b\u9a8c\u8bc1\u7684\u6d41\u7a0b\u5f88\u91cd\u8981&#xff0c;\u4e0d\u80fd\u5149\u770b\u76d1\u63a7\u9879\u72b6\u6001\u662f\u542f\u7528\u7684\u5c31\u5b8c\u4e8b&#xff0c;\u4e00\u5b9a\u8981\u6a21\u62df\u8d1f\u8f7d\u53d8\u5316&#xff0c;\u786e\u8ba4\u6570\u636e\u771f\u7684\u80fd\u6b63\u5e38\u91c7\u96c6\u3001\u56fe\u8868\u80fd\u6b63\u5e38\u66f4\u65b0&#xff0c;\u4e0d\u7136\u771f\u51fa\u95ee\u9898\u4e86\u76d1\u63a7\u6ca1\u53cd\u5e94\u5c31\u5931\u53bb\u610f\u4e49\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u76ee\u5f55Rocky9 \u90e8\u7f72 Zabbix 6.0 \u5206\u5e03\u5f0f\u76d1\u63a7\u5b8c\u6574\u5b9e\u64cd\u590d\u76d8\u4e00\u3001\u57fa\u7840\u73af\u5883\u521d\u59cb\u53161. \u5173\u95edSELinux2. \u7f51\u5361\u4fe1\u606f\u786e\u8ba43. \u4e3b\u673a\u540d\u89e3\u6790\u914d\u7f6e\u4e8c\u3001Zabbix Server \u670d\u52a1\u7aef\u90e8\u7f721. \u7248\u672c\u9009\u578b2. \u6570\u636e\u5e93\u521d\u59cb\u5316\u8e29\u57513. \u670d\u52a1\u7aef\u914d\u7f6e4. Web\u524d\u7aef\u521d\u59cb\u5316\u4e09\u3001Agent \u5ba2\u6237\u7aef\u90e8\u7f72\u4e0e\u63a5\u51651. Rocky9 \u8282\u70b9 server2 \u90e8\u7f722. Web\u524d\u7aef\u4e2d\u6587\u4e71\u7801\u4fee\u590d3. Agent \u6838\u5fc3\u914d\u7f6e4. CentOS7 \u8282\u70b9 server3 \u90e8\u7f725. \u8fde\u901a\u6027\u9a8c\u8bc1\u56db\u3001\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879<\/p>\n","protected":false},"author":2,"featured_media":91703,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[935],"topic":[],"class_list":["post-91723","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-zabbix"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09 - \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\/91723.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u76ee\u5f55Rocky9 \u90e8\u7f72 Zabbix 6.0 \u5206\u5e03\u5f0f\u76d1\u63a7\u5b8c\u6574\u5b9e\u64cd\u590d\u76d8\u4e00\u3001\u57fa\u7840\u73af\u5883\u521d\u59cb\u53161. \u5173\u95edSELinux2. \u7f51\u5361\u4fe1\u606f\u786e\u8ba43. \u4e3b\u673a\u540d\u89e3\u6790\u914d\u7f6e\u4e8c\u3001Zabbix Server \u670d\u52a1\u7aef\u90e8\u7f721. \u7248\u672c\u9009\u578b2. \u6570\u636e\u5e93\u521d\u59cb\u5316\u8e29\u57513. \u670d\u52a1\u7aef\u914d\u7f6e4. Web\u524d\u7aef\u521d\u59cb\u5316\u4e09\u3001Agent \u5ba2\u6237\u7aef\u90e8\u7f72\u4e0e\u63a5\u51651. Rocky9 \u8282\u70b9 server2 \u90e8\u7f722. Web\u524d\u7aef\u4e2d\u6587\u4e71\u7801\u4fee\u590d3. Agent \u6838\u5fc3\u914d\u7f6e4. CentOS7 \u8282\u70b9 server3 \u90e8\u7f725. \u8fde\u901a\u6027\u9a8c\u8bc1\u56db\u3001\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/91723.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-08T02:34:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023442-6a7695c27efd1.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91723.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/91723.html\",\"name\":\"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-08T02:34:45+00:00\",\"dateModified\":\"2026-08-08T02:34:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/91723.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/91723.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91723.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09\"}]},{\"@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":"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09 - \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\/91723.html","og_locale":"zh_CN","og_type":"article","og_title":"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u76ee\u5f55Rocky9 \u90e8\u7f72 Zabbix 6.0 \u5206\u5e03\u5f0f\u76d1\u63a7\u5b8c\u6574\u5b9e\u64cd\u590d\u76d8\u4e00\u3001\u57fa\u7840\u73af\u5883\u521d\u59cb\u53161. \u5173\u95edSELinux2. \u7f51\u5361\u4fe1\u606f\u786e\u8ba43. \u4e3b\u673a\u540d\u89e3\u6790\u914d\u7f6e\u4e8c\u3001Zabbix Server \u670d\u52a1\u7aef\u90e8\u7f721. \u7248\u672c\u9009\u578b2. \u6570\u636e\u5e93\u521d\u59cb\u5316\u8e29\u57513. \u670d\u52a1\u7aef\u914d\u7f6e4. Web\u524d\u7aef\u521d\u59cb\u5316\u4e09\u3001Agent \u5ba2\u6237\u7aef\u90e8\u7f72\u4e0e\u63a5\u51651. Rocky9 \u8282\u70b9 server2 \u90e8\u7f722. Web\u524d\u7aef\u4e2d\u6587\u4e71\u7801\u4fee\u590d3. Agent \u6838\u5fc3\u914d\u7f6e4. CentOS7 \u8282\u70b9 server3 \u90e8\u7f725. \u8fde\u901a\u6027\u9a8c\u8bc1\u56db\u3001\u81ea\u5b9a\u4e49\u76d1\u63a7\u9879","og_url":"https:\/\/www.wsisp.com\/helps\/91723.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-08T02:34:45+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260808023442-6a7695c27efd1.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/91723.html","url":"https:\/\/www.wsisp.com\/helps\/91723.html","name":"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-08T02:34:45+00:00","dateModified":"2026-08-08T02:34:45+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/91723.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/91723.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/91723.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Day 15 zabbix\u7ba1\u7406\uff08\u4e0a\uff09"}]},{"@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\/91723","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=91723"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/91723\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/91703"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=91723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=91723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=91723"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=91723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}