{"id":14,"date":"2018-12-17T15:00:12","date_gmt":"2018-12-17T06:00:12","guid":{"rendered":"https:\/\/wordpress.k8s.yukiafronia.com\/?p=14"},"modified":"2020-08-10T16:12:29","modified_gmt":"2020-08-10T07:12:29","slug":"zabbix-4-0-centos7-5-%e5%b0%8e%e5%85%a5%e5%82%99%e5%bf%98%e9%8c%b2","status":"publish","type":"post","link":"https:\/\/blog.yukiafronia.com\/?p=14","title":{"rendered":"Zabbix 4.0 CentOS7.5 \u5c0e\u5165\u5099\u5fd8\u9332"},"content":{"rendered":"<p>\u7686\u3055\u3093\u3001\u3053\u3093\u306b\u3061\u308f\u3002<br \/>\n\u79c1\u3001\u30d4\u30f3\u6751\u3068\u7533\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u5b9f\u306f\u8a18\u5ff5\u3059\u3079\u304d &quot;1\u30b3\u30f3\u30c6\u30f3\u30c4\u76ee&quot; \u3068\u3044\u3046\u3053\u3068\u3067\u6295\u7a3f\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n<p>\n\u3067\u306f\u3001\u65e9\u901f\u3084\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046  <\/p>\n<h2>Zabbix 4.0\u306b\u3064\u3044\u3066<\/h2>\n<blockquote>\n<p><em>Zabbix<\/em>\u306f<em>IT<\/em>\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u30fb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u53ef\u7528\u6027\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u76e3\u8996\u3059\u308b\u305f\u3081\u306e\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30b9\u5411\u3051\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u3002<em>Zabbix<\/em>\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30fb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u3066\u304a\u308a\u3001\u7121\u6599\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3044\u305f\u3060\u304f\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n<em>ZABBIX<\/em>\u793e <em>HP<\/em>\u3088\u308a  <\/p>\n<\/blockquote>\n<p>\u3064\u307e\u308a\u3001zabbix\u3092\u7528\u3044\u3066\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u30de\u30b7\u30f3\uff08\u30b5\u30fc\u30d0\uff09\u3092\u76e3\u8996\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3067\u306f\u3001Zabbix 4.0\u306e\u65b0\u6a5f\u80fd\u3092\u3044\u308d\u3044\u308d\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002  <\/p>\n<h2>Zabbix 4.0\u306e\u65b0\u6a5f\u80fd<\/h2>\n<blockquote>\n<p>1 . \u65b0\u3057\u3044\u30b0\u30e9\u30d5\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8<br \/>\n\u307e\u3063\u305f\u304f\u65b0\u3057\u304f\u958b\u767a\u3092\u884c\u3063\u305f\u30b0\u30e9\u30d5\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306f\u53ce\u96c6\u30c7\u30fc\u30bf\u3092\u3088\u308a\u9ad8\u5ea6\u306b\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b0\u30e9\u30d5\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306f\u69d8\u3005\u306a\u5f62\u5f0f\u306e\u30b0\u30e9\u30d5\u3092\u5229\u7528\u3067\u304d\u3001\u8907\u6570\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u5229\u7528\u3057\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3054\u3068\u306b\u30b0\u30e9\u30d5\u306e\u5f62\u5f0f\u3068\u8907\u6570\u306e\u30c7\u30fc\u30bf\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u30b0\u30e9\u30d5\u4e0a\u306e\u7dda\u306e\u30b9\u30bf\u30a4\u30eb\u3084\u8ef8\u3001\u51e1\u4f8b\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u8a2d\u5b9a\u304c\u3067\u304d\u308b\u307b\u304b\u3001\u30b0\u30e9\u30d5\u4e0a\u306b\u969c\u5bb3\u306e\u767a\u751f\u72b6\u6cc1\u306e\u60c5\u5831\u3092\u8868\u793a\u3067\u304d\u307e\u3059\u3002\u30b0\u30e9\u30d5\u4e0a\u3092\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3067\u30dd\u30a4\u30f3\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u76e3\u8996\u30c7\u30fc\u30bf\u306e\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n<em>ZABBIX<\/em>\u793e <em>4.0<\/em> \u65b0\u6a5f\u80fd\u3088\u308a  <\/p>\n<\/blockquote>\n<p>\u307e\u3041\u3001\u3053\u308c\u3060\u3051\u3060\u3068\u6b63\u76f4\u4f55\u8a00\u3063\u3066\u308b\u306e\u304b\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u753b\u50cf\u3060\u3068\u3053\u3046\u3044\u3046\u611f\u3058\u3067\u3059\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49714317-c3c83180-fc8f-11e8-998d-f7c5053426ba.png\" alt=\"dashboard_graphs_v4_dark_1\" \/><\/p>\n<p>\n\u7a76\u6975\u7684\u306b\u76e3\u8996\u3092\u307e\u3068\u3081\u305f\u306e\u304c\u4e0a\u8a18\u753b\u50cf\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306e\u30e1\u30a4\u30f3\u306f\u3053\u308c\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u3064\u307e\u308b\u3068\u3053\u308d\u3001\u69d8\u3005\u306a\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3001\u30de\u30b7\u30f3\u3092\u76e3\u8996\u3057\u3066\u3044\u308b\u3046\u3048\u3067HDD\u4f7f\u7528\u91cf\u3001CPU\u4f7f\u7528\u91cf\u306a\u3069\u3092\u7d71\u62ec\u3067\u30b0\u30e9\u30d5\u4e0a\u306b\u8868\u3059\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3047\u3002<br \/>\n\u3042\u3068\u3001\u30b0\u30e9\u30d5\u4e0a\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u308b\u3060\u3051\u3067\u5f53\u8a72\u306e\u65e5\u4ed8\u3001\u6642\u523b\u307e\u3067\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u306e\u304czabbix 3.0\u6642\u4ee3\u3068\u306e\u5dee\u7570\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<blockquote>\n<p>2.\u3088\u308a\u7c21\u5358\u306a\u30bf\u30a4\u30e0\u30bb\u30ec\u30af\u30bf<br \/>\n\u30b0\u30e9\u30d5\u3084\u969c\u5bb3\u5c65\u6b74\u306e\u8868\u793a\u753b\u9762\u3067\u5229\u7528\u3059\u308b\u6642\u523b\u306e\u7bc4\u56f2\u9078\u629e\u306e\u65b9\u6cd5\u3092\u6539\u5584\u3057\u3001\u307e\u3063\u305f\u304f\u65b0\u3057\u304f\u958b\u767a\u3057\u305f\u30bf\u30a4\u30e0\u30bb\u30ec\u30af\u30bf\u3067\u306f\u300cnow\u300d\u300cnow-1d\/d\u300d\u3068\u3044\u3063\u305f\u6587\u5b57\u306b\u3088\u308b\u671f\u9593\u9078\u629e\u304c\u53ef\u80fd\u3067\u3059\u3002\u671f\u9593\u306f\u30ba\u30fc\u30e0\u30a4\u30f3\u3059\u308b\u3053\u3068\u3082\u524d\u5f8c\u306b\u79fb\u52d5\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u3001\u3088\u304f\u5229\u7528\u3059\u308b\u671f\u9593\u306f\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u3067\u9078\u629e\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002  <\/p>\n<\/blockquote>\n<p>\u3042\u30fc\u3001\u30b0\u30e9\u30d5\u306e\u9078\u629e\u7bc4\u56f2\u3082\u7d50\u69cb\u81ea\u7531\u81ea\u5728\u306b\u306a\u3063\u305f\u3093\u3060\u3041\uff08\uff8c\uff70\uff9d\uff09  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49719522-c1220800-fca0-11e8-9a64-54ef69c37140.gif\" alt=\"time-select-dark\" \/><\/p>\n<p>\n<strong><em>\u4ed6\u306f?<\/em><\/strong><br \/>\n\u307e\u3041\u3001\u7b49\u3005\u3044\u308d\u3044\u308d\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u5185\u5bb9\u304c\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u304c\u7533\u3057\u8a33\u306a\u3044\u3001\u307e\u3068\u3081\u3066\u3089\u3093\u306a\u3044\u3093\u3067\u8a73\u7d30\u306f\u4e0b\u8a18\u30a2\u30c9\u30ec\u30b9\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\n<strong><em><a href=\"https:\/\/www.zabbix.com\/jp\/whats_new\" title=\"Zabbix 4.0 New\">Zabbix 4.0 \u65b0\u6a5f\u80fd<\/a><\/em><\/strong><\/p>\n<p>\n\u3068\u308a\u3042\u3048\u305a\u3001zabbix 4.0 \u306e\u65b0\u6a5f\u80fd\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<h2>Zabbix 4.0\u3092CentOS7.5\u306b\u5165\u308c\u3066\u52d5\u304b\u3059<\/h2>\n<p>\u4eca\u56de\u306e\u74b0\u5883\u306f\u3001\u4e0b\u8a18\u901a\u308a\u306b\u306a\u308a\u307e\u3059\u3002  <\/p>\n<ul>\n<li>OS\n<ul>\n<li>CentOS7.5(1811)  <\/li>\n<\/ul>\n<\/li>\n<li>package\n<ul>\n<li>httpd (apache) <\/li>\n<li>PHP7.2 (remi repository)<\/li>\n<li>Mariadb 10.3<\/li>\n<li>Zabbix 4.0<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u306e\u69cb\u6210\u3067\u884c\u304d\u307e\u3059\u3002<br \/>\n\u3067\u306f\u65e9\u901f\u69cb\u7bc9\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046<\/p>\n<h3>CentOS7.5 (minimal) \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u307e\u3041\u3001\u6b21\u3078 , \u6b21\u3078\u3068\u9032\u3081\u3066\u3044\u304f\u3060\u3051\u306a\u3093\u3067\u3059\u304c\u4e00\u5fdc\u8a18\u8f09\u3057\u307e\u3059\u3002<br \/>\n\u3042\u304f\u307e\u3067\u3001\u3054\u53c2\u8003\u307e\u3067\u306b\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n<p>\u521d\u671f\u753b\u9762<br \/>\n\u3053\u3053\u3067\u3001 \u201c Install CentOS 7 \u201c \u3068\u9078\u629e\u3059\u308b<br \/>\n\u9078\u629e\u306f\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u77e2\u5370\u30ad\u30fc\uff08\u2190\u2191\u2193\u2192\uff09\u3067\u9078\u629e\u3059\u308b\u3002<br \/>\n\u9078\u629e\u5f8c\u3001Boot\u30ed\u30b0\u3068\u547c\u3070\u308c\u308bOS\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u8d77\u52d5\u3059\u308b\u969b\u306e\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u304c\u305d\u306e\u6642\u306f\u30ad\u30fc\u30dc\u30fc\u30c9\u306b\u89e6\u3089\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720108-52de4500-fca2-11e8-8d7f-c500fae8ea05.png\" alt=\"image\" \/>  <\/p>\n<p>\u521d\u671f\u753b\u9762\u9078\u629e\u5f8c\u3001\u51e6\u7406\u304c\u7d42\u308f\u308b\u3068\u3053\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3002<br \/>\n\u3053\u308c\u306f\u3001CentOS \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b \u4f55\u8a9e \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u304b\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u65e5\u672c\u8a9e\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720189-84efa700-fca2-11e8-81aa-739ee7be3dc3.png\" alt=\"image\" \/>  <\/p>\n<p>\u8a00\u8a9e\u9078\u629e\u304c\u7d42\u308f\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30d1\u30bd\u30b3\u30f3\u306e\u8a73\u7d30\u8a2d\u5b9a\u306b\u79fb\u308a\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u306f\u3001CentOS \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308bHDD \u306e\u9078\u629e\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u6709\u52b9\u5316\u3057\u3066\u3044\u304d\u307e\u3059\u3002  <\/p>\n<p>\u521d\u3081\u306b\u3001CentOS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308bHDD \u3092\u9078\u629e\u3057\u3066\u3044\u304d\u307e\u3059\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720241-a18bdf00-fca2-11e8-9549-5914e738b680.png\" alt=\"image\" \/>  <\/p>\n<p>\u3053\u3053\u3067\u306f\u3001CentOS \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308bHDD\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u672c\u6765\u3067\u3042\u308c\u3070\u3001\u8907\u6570\u306eHDD\u304c\u3042\u308b\u5834\u5408\u4e00\u3064\u306eHDD\u3092\u9078\u629e\u3057OS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u6c7a\u3081\u305f\u308a\u3057\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308bHDD\u304c\u4e00\u3064\u3057\u304b\u306a\u3044\u70ba\u3001\u5272\u611b\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u4eee\u60f3\u5316\u3068\u8a00\u3063\u3066\u5b9f\u9a13\u7684\u306bLinux\u306a\u3069\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306a\u3069\u3082\u3053\u306e\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u8a2d\u5b9a\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720270-b7999f80-fca2-11e8-8ee3-a6c2ca529462.png\" alt=\"image\" \/>  <\/p>\n<p>\u5148\u306e\u3001OS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u6c7a\u5b9a\u5f8c\u6b21\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3078\u63a5\u7d9a\u3059\u308b\u305f\u3081\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u6709\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4e0b\u8a18\u753b\u9762\u306e\u3088\u3046\u306b\u5de6\u4e0b\u306b \u201c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u30db\u30b9\u30c8\u540d \u201c \u3068\u547c\u3070\u308c\u308b\u8a2d\u5b9a\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u958b\u304d\u307e\u3059\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720318-d26c1400-fca2-11e8-9a07-6a26dd51dac0.png\" alt=\"image\" \/>  <\/p>\n<p>\u307e\u305a\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u6709\u52b9\u5316\u3055\u305b\u308b\u305f\u3081\u306b\u3001\u53f3\u4e0a\u306e\u30aa\u30d5\uff08\u521d\u671f\uff09\u3068\u306a\u3063\u3066\u3044\u308b\u30dc\u30bf\u30f3\u306e\u30aa\u30f3\u3078\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u305d\u306e\u5f8c\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u78ba\u7acb\u3055\u308c\u308c\u3070\u81ea\u52d5\u3067IP\u30a2\u30c9\u30ec\u30b9\u304c\u632f\u3089\u308c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3078\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720353-e44db700-fca2-11e8-8459-f87d85c03154.png\" alt=\"image\" \/>  <\/p>\n<p>OS \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u6709\u52b9\u5316\u3057\u305f\u5f8c\u306f\u3001\u753b\u9762\u53f3\u4e0b\u306e\u9752\u8272\u306e\u30dc\u30bf\u30f3\u3000\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u958b\u59cb \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u958b\u59cb\u3057\u3066\u3044\u304d\u307e\u3059\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720454-224adb00-fca3-11e8-8af1-783a60d8d663.png\" alt=\"image\" \/>  <\/p>\n<p>\u6700\u5f8c\u306b\u30b5\u30fc\u30d0\u3078\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720494-3db5e600-fca3-11e8-85a6-7779bb9a9a33.png\" alt=\"image\" \/>  <\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u3001\u518d\u8d77\u52d5\u3092\u304b\u3051\u308b\u305f\u3081\u53f3\u4e0b\u306b\u518d\u8d77\u52d5\u30dc\u30bf\u30f3\u304c\u73fe\u308c\u308b\u306e\u3067\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u518d\u8d77\u52d5\u3057\u307e\u3057\u3087\u3046\u3002  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49720511-51614c80-fca3-11e8-9572-0caf361508e8.png\" alt=\"image\" \/>  <\/p>\n<p>\u3053\u3053\u307e\u3067\u3067\u3001CentOS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7d42\u308f\u308a\u3067\u3059\u3002<br \/>\n\u3053\u3053\u304b\u3089\u306f\u3001SSH\u63a5\u7d9a\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\nTera term\u306a\u3069\u306e\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u30bd\u30d5\u30c8\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\n\u672c\u984c\u306f\u3053\u3053\u304b\u3089\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>Zabbix , Apache\u306a\u3069\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u3072\u305f\u3059\u3089\u30b3\u30de\u30f3\u30c9\u3060\u3051\u4e26\u3079\u308b\u5f62\u306b\u306a\u308b\u306e\u3067\u3001\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u304c\u8aad\u307f\u53d6\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002  <\/p>\n<pre><code>root@localhost~#https:\/\/repo.zabbix.com\/zabbix\/4.0\/rhel\/7\/x86_64\/zabbix-release-4.0-1.el7.noarch.rpm  <\/code><\/pre>\n<p>  <\/p>\n<pre><code>root@localhost ~# yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent  <\/code><\/pre>\n<p>SELinux \u306e\u7121\u52b9\u5316  <\/p>\n<pre><code>root@localhost ~# vi \/etc\/sysconfig\/selinux  <\/code><\/pre>\n<p>  <\/p>\n<pre><code># This file controls the state of SELinux on the system.\n# SELINUX= can take one of these three values:\n#     enforcing - SELinux security policy is enforced.\n#     permissive - SELinux prints warnings instead of enforcing.\n#     disabled - No SELinux policy is loaded.\nSELINUX= enforcing  \u2190 disabled\u306b\u5909\u66f4\n\n# SELINUXTYPE= can take one of three two values:\n#     targeted - Targeted processes are protected,\n#     minimum - Modification of targeted policy. Only selected processes are protected.\n#     mls - Multi Level Security protection.\nSELINUXTYPE=targeted<\/code><\/pre>\n<p>\u7de8\u96c6\u7d42\u4e86\u5f8c\u3001:wq\u3067\u4fdd\u5b58\u3067\u304d\u308b\u3002<\/p>\n<pre><code>root@localhost ~# vi \/etc\/yum.repos.d\/mariadb.repo  <\/code><\/pre>\n<p>  <\/p>\n<pre><code># MariaDB 10.3 CentOS repository list - created 2018-11-02 08:16 UTC \n# http:\/\/downloads.mariadb.org\/mariadb\/repositories\/\n[mariadb] \nname = MariaDB \nbaseurl = http:\/\/yum.mariadb.org\/10.3\/centos7-amd64 gpgkey=https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB gpgcheck=1<\/code><\/pre>\n<p>\u7de8\u96c6\u7d42\u4e86\u5f8c\u3001:wq\u3067\u7d42\u4e86\u3059\u308b\u3002<\/p>\n<pre><code>root@localhost ~# yum -y install http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm  <\/code><\/pre>\n<p>php7.2\u3092\u5c0e\u5165\u3059\u308b\u305f\u3081\u3001remi\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u5c0e\u5165\u3059\u308b\u3002  <\/p>\n<pre><code>root@localhost ~# vi \/etc\/yum.repos.d\/remi-php72.repo<\/code><\/pre>\n<p>  <\/p>\n<pre><code>[remi-php72]\nname=Remi&#039;s PHP 7.2 RPM repository for Enterprise Linux 7 - $basearch\n#baseurl=http:\/\/rpms.remirepo.net\/enterprise\/7\/php72\/$basearch\/\n#mirrorlist=https:\/\/rpms.remirepo.net\/enterprise\/7\/php72\/httpsmirror\nmirrorlist=http:\/\/cdn.remirepo.net\/enterprise\/7\/php72\/mirror\nenabled=1\ngpgcheck=1\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi<\/code><\/pre>\n<p>\u7de8\u96c6\u7d42\u4e86\u5f8c\u3001:wq\u3067\u7d42\u4e86\u3059\u308b\u3002<\/p>\n<pre><code>root@localhost ~# yum -y install php72 php72-php php php-fpm php-mysql<\/code><\/pre>\n<p>  <\/p>\n<pre><code>root@localhost ~# yum -y install MariaDB-server MariaDB-client<\/code><\/pre>\n<p>  <\/p>\n<pre><code>root@localhost ~# vi \/etc\/php-fpm.d\/www.conf<\/code><\/pre>\n<p>  <\/p>\n<pre><code>; RPM: apache user chosen to provide access to the same directories as httpd  \nuser = apache       \u2190 apache \u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d  \n; RPM: Keep a group allowed to write in log dir.  \ngroup = apache  \u2190 apache \u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d  <\/code><\/pre>\n<p>zabbix\u3092\u5c0e\u5165\u3059\u308b\u306b\u3042\u305f\u308a\u5fc5\u8981\u306a\u95a2\u9023\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\u3092\u30aa\u30f3\u306b\u3059\u308b\u3002  <\/p>\n<pre><code>root@localhost ~# systemctl enable php-fpm zabbix-server zabbix-agent httpd mariadb<\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\u3092\u30aa\u30d5\u306b\u3059\u308b  <\/p>\n<pre><code>root@localhost ~# systemctl disable firewalld<\/code><\/pre>\n<p>\u5404\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u5909\u66f4\u70b9\u3092\u53cd\u6620\u3055\u305b\u308b\u305f\u3081\u518d\u8d77\u52d5\u3092\u884c\u3046\u3002  <\/p>\n<pre><code>root@localhost ~# reboot<\/code><\/pre>\n<p>\u30b5\u30fc\u30d0\u304c\u518d\u8d77\u52d5\u6b21\u7b2czabbix\u7528\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u69cb\u7bc9\u3092\u884c\u3046\u3002  <\/p>\n<pre><code>root@localhost ~# mysql -u root<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"language-SQL\">MariaDB [(none)]&gt; create database zabbix character set utf8 collate utf8_bin;\n\nMariaDB [(none)]&gt; grant all privileges on zabbix.* to zabbix@localhost identified by &#039;password&#039;;<\/code><\/pre>\n<p>\u2018password\u2019 \u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3053\u308d\u306f\u3001zabbix\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4efb\u610f\u5909\u66f4\u304c\u53ef\u80fd\u306a\u305f\u3081\u3001\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u4efb\u610f\u306e\u6587\u5b57\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-SQL\">MariaDB [(none)]&gt; \\q<\/code><\/pre>\n<p>  <\/p>\n<pre><code>root@localhost ~# zcat \/usr\/share\/doc\/zabbix-server-mysql*\/create.sql.gz | mysql -uzabbix -p zabbix  \n\nEnter password: Mariadb\u3067zabbix\u7528\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u3063\u305f\u6642\u306b\u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9<\/code><\/pre>\n<p>zabbix \u306econfig(\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb)\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# vi \/etc\/zabbix\/zabbix_server.conf<\/code><\/pre>\n<p>  <\/p>\n<pre><code>### Option: DBPassword\n#       Database password. Ignored for SQLite.\n#       Comment this line if no password is used.\n#\n# Mandatory: no\n# Default:\n# DBPassword=           \u2190\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066zabbix\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u3063\u305f\u6642\u306e    \n\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b<\/code><\/pre>\n<p>\u7de8\u96c6\u7d42\u4e86\u5f8c\u3001:wq\u3067\u7d42\u4e86\u3059\u308b\u3002<br \/>\n  <\/p>\n<pre><code>root@localhost ~# vi \/etc\/httpd\/conf.d\/zabbix.conf<\/code><\/pre>\n<p>  <\/p>\n<pre><code>&lt;IfModule mod_php5.c&gt;     \u2190php5.c \u3092 php7.c\u306b\u5909\u66f4\n        php_value max_execution_time 300\n        php_value memory_limit 128M\n        php_value post_max_size 16M\n        php_value upload_max_filesize 2M\n        php_value max_input_time 300\n        php_value max_input_vars 10000\n        php_value always_populate_raw_post_data -1\n        # php_value date.timezone Europe\/Riga\n\u2191\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3092\u5916\u3057\u3001timezone\u3092Asia\/Tokyo \u3078\u5909\u66f4\n\n    &lt;\/IfModule&gt;<\/code><\/pre>\n<p>\u7de8\u96c6\u7d42\u4e86\u5f8c\u3001:wq\u3067\u7d42\u4e86\u3059\u308b<\/p>\n<p>\n\u6b21\u306b\u3001zabbix\u304cphp\u3092\u4f7f\u3046\u4e0a\u3067\u63a8\u5968\u8981\u4ef6\u3068\u3057\u3066\u3044\u308b\u9805\u76ee\u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3002  <\/p>\n<pre><code>root@localhost ~# vi \/etc\/php.ini<\/code><\/pre>\n<p>  <\/p>\n<pre><code>; Maximum size of POST data that PHP will accept.\n; Its value may be 0 to disable the limit. It is ignored if POST data reading\n; is disabled through enable_post_data_reading.\n; http:\/\/php.net\/post-max-size\npost_max_size = 8M      \u219016M\u306b\u5909\u66f4\u3059\u308b\n\n; Maximum execution time of each script, in seconds\n; http:\/\/php.net\/max-execution-time\n; Note: This directive is hardcoded to 0 for the CLI SAPI\nmax_execution_time = 30 \u2190300\u306b\u5909\u66f4\u3059\u308b\n\n; Maximum amount of time each script may spend parsing request data. It&#039;s a good\n; idea to limit this time on productions servers in order to eliminate unexpectedly\n; long running scripts.\n; Note: This directive is hardcoded to -1 for the CLI SAPI\n; Default Value: -1 (Unlimited)\n; Development Value: 60 (60 seconds)\n; Production Value: 60 (60 seconds)\n; http:\/\/php.net\/max-input-time\nmax_input_time = 60         \u2190300\u306b\u5909\u66f4\u3059\u308b\n\n; Defines the default timezone used by the date functions\n; http:\/\/php.net\/date.timezone\n;date.timezone =    \u2190\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3092\u5916\u3057\u3001Asia\/Tokyo\u3068\u3059\u308b<\/code><\/pre>\n<p>\u3053\u3053\u307e\u3067\u7d42\u3048\u305f\u3089\u3001\u30b5\u30fc\u30d0\u3092\u518d\u5ea6\u518d\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre><code>root@localhost ~# reboot<\/code><\/pre>\n<p>  <\/p>\n<h3>\u518d\u8d77\u52d5\u5f8c\u306e\u64cd\u4f5c<\/h3>\n<p>\u518d\u8d77\u52d5\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001web\u30d6\u30e9\u30a6\u30b6(Firefox , Google Chrome , IE\u7b49\u3005)\u3067 <a href=\"http:\/\/IPaddress\/zabbix\">http:\/\/IPaddress\/zabbix<\/a> \u3068URL\u6b04\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u30a8\u30e9\u30fc\u7b49\u306a\u3051\u308c\u3070\u3001\u4e0b\u8a18\u753b\u50cf\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\n<img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49737955-78367780-fcd1-11e8-8558-faaa34cf870c.png\" alt=\"image\" \/><\/p>\n<p>\n\u6b21\u306b<br \/>\n\u753b\u9762\u53f3\u4e0b\u306eNext step\u3092\u62bc\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\n<img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49738015-a74ce900-fcd1-11e8-842d-f86fd9ef57c7.png\" alt=\"image\" \/><\/p>\n<p>\n\u4e0a\u8a18\u306e\u3088\u3046\u306b\u3001\u3059\u3079\u3066\u306e\u9805\u76ee\u304c \u201c OK \u201c \u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\nOK\u306b\u306a\u3063\u3066\u3044\u308c\u3070 Next step\u3092\u62bc\u3057\u307e\u3059<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49738046-c481b780-fcd1-11e8-926f-f0b8a43f149a.png\" alt=\"image\" \/><\/p>\n<p>\n\u6b21\u306b\u3001zabbix\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u305f\u6642\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\n<img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49738085-d4999700-fcd1-11e8-85b4-acfc0f104daf.png\" alt=\"image\" \/><\/p>\n<p>\n\u3053\u3053\u306f\u3001\u3042\u304f\u307e\u3067\u8a73\u7d30\u8a2d\u5b9a\u306a\u306e\u3067\u4f55\u3082\u5165\u529b\u3057\u306a\u304f\u3066\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u30dd\u30fc\u30c8\u756a\u53f7\u3084host\u540d\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u4efb\u610f\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\nNext step\u3092\u62bc\u3057\u6b21\u3078\u9032\u307f\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49738125-ed09b180-fcd1-11e8-8e60-aa876067b782.png\" alt=\"image\" \/><\/p>\n<p>\n\u6700\u5f8c\u78ba\u8a8d\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u3002\u554f\u984c\u306a\u3051\u308c\u3070\u6b21\u3078\u9032\u3093\u3067\u304f\u3060\u3055\u3044<\/p>\n<p>\n<img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49738144-ff83eb00-fcd1-11e8-877c-f8568aed2966.png\" alt=\"image\" \/><\/p>\n<p>\n\u78ba\u8a8d\u753b\u9762\u306e\u6b21\u3001\u3053\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6b63\u5e38\u306b\u8a2d\u5b9a\u3067\u304d\u3066\u3044\u307e\u3059\u3002\u304a\u75b2\u308c\u3055\u307e\u3067\u3057\u305f\u3002<\/p>\n<p>\n<img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/49738174-11fe2480-fcd2-11e8-8be7-9142070da2db.png\" alt=\"image\" \/><\/p>\n<p>\n\u521d\u671f\u306e\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u540d\u306fAdmin<br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u306fzabbix \u306b\u306a\u308a\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u5f8c\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044<\/p>\n<p>\n\u3053\u3053\u307e\u3067\u3067\u3001zabbix\u306e\u5c0e\u5165\u306f\u7d42\u4e86\u3067\u3059\u3002<br \/>\n\u5927\u5909\u304a\u75b2\u308c\u3055\u307e\u3067\u3057\u305f!!<br \/>\n\u3053\u306e\u5f8c\u3001\u76e3\u8996\u5bfe\u8c61\u30db\u30b9\u30c8\u306a\u3069\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3057\u3066\u672c\u683c\u7684\u306b\u76e3\u8996\u3059\u308b\u7528\u610f\u3092\u6574\u3048\u3066\u3044\u304d\u307e\u3059\u304c\u3001\u3082\u3057\u3088\u308d\u3057\u3051\u308c\u3070\u7d9a\u304d\u306fpdf\u3067\u3054\u89a7\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002!  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7686\u3055\u3093\u3001\u3053\u3093\u306b\u3061\u308f\u3002 \u79c1\u3001\u30d4\u30f3\u6751\u3068\u7533\u3057\u307e\u3059\u3002 \u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u5b9f\u306f\u8a18\u5ff5\u3059\u3079\u304d &quot;1\u30b3\u30f3\u30c6\u30f3\u30c4\u76ee&quot; \u3068\u3044\u3046\u3053\u3068\u3067\u6295\u7a3f\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002 \u3067\u306f\u3001\u65e9\u901f\u3084\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046 Zabbix 4.0\u306b\u3064\u3044\u3066 Zab&hellip; <span class=\"clear\"><\/span><a href=\"https:\/\/blog.yukiafronia.com\/?p=14\" class=\"more-link read-more\" rel=\"bookmark\"><span class=\"screen-reader-text\">Zabbix 4.0 CentOS7.5 \u5c0e\u5165\u5099\u5fd8\u9332<\/span><i class=\"fa fa-arrow-right\"><\/i> \u306e\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":17,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":3,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"predecessor-version":[{"id":19,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions\/19"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/media\/17"}],"wp:attachment":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}