{"id":6752,"date":"2015-01-07T11:30:00","date_gmt":"2015-01-07T02:30:00","guid":{"rendered":"http:\/\/www.creationline.com\/?p=6752"},"modified":"2023-08-29T13:56:32","modified_gmt":"2023-08-29T04:56:32","slug":"chef%e3%81%ab%e3%82%88%e3%82%8bmackerel%e3%81%ae%e5%b0%8e%e5%85%a5-getchef-mackerelio","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752","title":{"rendered":"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio"},"content":{"rendered":"<p><a href=\"https:\/\/mackerel.io\/\">Mackerel<\/a>\u3068\u306f\u3001<a href=\"http:\/\/hatenacorp.jp\/\">\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a<\/a>\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e\u4e88\u60f3\u901a\u308a\u3001\u300c\u30b5\u30fc\u30d0\u300d\u3092\u3082\u3058\u3063\u3066\u540d\u4ed8\u3051\u3089\u308c\u305f\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u3067\u306fMackerel\u306b\u767b\u9332\u3057\u3066\u30c8\u30e9\u30a4\u30a2\u30eb\u30d7\u30e9\u30f3\u3092\u9078\u629e\u3057\u3001Chef\u3067Mackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u5c0e\u5165\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u25a0<a href=\"#registration\" name=\"registration\">Mackerel\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u767b\u9332\u3059\u308b<\/a><\/h2>\n<p>\u300c<a href=\"http:\/\/help-ja.mackerel.io\/entry\/getting-started\">Mackerel\u3092\u306f\u3058\u3081\u308b<\/a>\u300d\u3092\u53c2\u7167\u3057\u3066\u9032\u3081\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a<a href=\"https:\/\/mackerel.io\/\">Mackerel<\/a>\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3092\u958b\u304d\u307e\u3059\u3002\u300c\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u300d\u30dc\u30bf\u30f3\u304b\u3089\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><!-- 010-toppage.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6753\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png\" alt=\"010-toppage\" width=\"950\" height=\"625\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png 950w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage-360x237.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage-768x505.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage-144x95.png 144w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p>\u4eca\u56de\u306f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3001\u5229\u7528\u898f\u7d04\u3092\u78ba\u8a8d\u3057\u3066\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3001\u300c\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 020-signup.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/020-signup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6754\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/020-signup.png\" alt=\"020-signup\" width=\"570\" height=\"420\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/020-signup.png 570w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/020-signup-128x95.png 128w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><\/p>\n<p>\u5165\u529b\u3057\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u30ea\u30f3\u30af\u304c\u8a18\u8f09\u3055\u308c\u305f\u30e1\u30fc\u30eb\u304c\u5c4a\u304f\u306e\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u304d\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3001\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 030-passwd.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/030-passwd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6755\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/030-passwd.png\" alt=\"030-passwd\" width=\"540\" height=\"390\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/030-passwd.png 540w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/030-passwd-131x95.png 131w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/a><\/p>\n<p>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3064\u3064\u300c\u6b21\u3078\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><!-- 040-intro.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/040-intro.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6756\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/040-intro.png\" alt=\"040-intro\" width=\"950\" height=\"625\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/040-intro.png 950w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/040-intro-144x95.png 144w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p>\u6700\u5f8c\u307e\u3067\u9032\u3080\u3068\u3001<a href=\"http:\/\/help-ja.mackerel.io\/entry\/glossary#organization\">\u30aa\u30fc\u30ac\u30cb\u30bc\u30fc\u30b7\u30e7\u30f3<\/a>\u306e\u4f5c\u6210\u3092\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u30aa\u30fc\u30ac\u30cb\u30bc\u30fc\u30b7\u30e7\u30f3\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3001\u300c\u4f5c\u6210\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 050-org.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/050-org.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6757\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/050-org.png\" alt=\"050-org\" width=\"950\" height=\"625\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/050-org.png 950w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/050-org-144x95.png 144w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p>\u30aa\u30fc\u30ac\u30cb\u30bc\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001<a href=\"https:\/\/mackerel.io\/pricing\">\u30d7\u30e9\u30f3<\/a>\u306e\u9078\u629e\u753b\u9762\u306b\u79fb\u308a\u307e\u3059\u30022015\u5e741\u6708\u73fe\u5728\u3001\u521d\u56de\u306f1\u304b\u6708\u9593\u3001\u672c\u6765\u306f\u6709\u511f\u306eStandard\u30d7\u30e9\u30f3\u3092\u7121\u6599\u3067\u8a66\u7528\u3067\u304d\u307e\u3059\u3002\u307e\u305a\u306f\u30d5\u30ea\u30fc\u30c8\u30e9\u30a4\u30a2\u30eb\u3067Mackerel\u306e\u80fd\u529b\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u300cTrial\u30d7\u30e9\u30f3\u3092\u306f\u3058\u3081\u308b\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 060-plan.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/060-plan.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6758\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/060-plan.png\" alt=\"060-plan\" width=\"950\" height=\"625\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/060-plan.png 950w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/060-plan-144x95.png 144w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p>\u3053\u308c\u3067Mackerel\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><!-- 070-inst.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/070-inst.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6759\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/070-inst.png\" alt=\"070-inst\" width=\"950\" height=\"625\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/070-inst.png 950w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/070-inst-144x95.png 144w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p>\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u901a\u308a\u3001\u30db\u30b9\u30c8\u3092Mackerel\u306b\u767b\u9332\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u25a0<a href=\"#chef-mackerel-agent\" name=\"chef-mackerel-agent\">Chef\u306b\u3088\u308bmackerel-agent\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/a><\/h2>\n<p>\u30db\u30b9\u30c8\u3092Mackerel\u306e\u7ba1\u7406\u4e0b\u306b\u7f6e\u304f\u306b\u306f\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b<a href=\"https:\/\/www.chef.io\/\">Chef<\/a>\u3092\u5229\u7528\u3057\u307e\u3059\u3002<a href=\"http:\/\/help-ja.mackerel.io\/entry\/howto\/chef\">Chef\u306b\u3088\u308b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/a>\u306b\u5f93\u3063\u3066\u9032\u3081\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3>\u25cf<a href=\"#environment\" name=\"environment\">\u74b0\u5883<\/a><\/h3>\n<p>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30db\u30b9\u30c8\u306f\u6b21\u306e3\u53f0\u3067\u3059\u3002<\/p>\n<ul>\n<li>Ubuntu 12.04 LTS (\u30db\u30b9\u30c8O)<\/li>\n<li>Ubuntu 12.04 LTS (\u30db\u30b9\u30c8R)<\/li>\n<li>Debian GNU\/Linux 7 (\u30db\u30b9\u30c8S)<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306f\u65e2\u306b<a href=\"https:\/\/www.chef.io\/chef\/choose-your-version\/\">Chef Server<\/a>\u306e\u7ba1\u7406\u4e0b\u306b\u7f6e\u304b\u308c\u3066\u3044\u308b\u3082\u306e\u3068\u3057\u307e\u3059\u3002<a href=\"http:\/\/docs.chef.io\/chef_repo.html\">Chef-Repo<\/a>\u306f<strong>\/home\/d-higuchi\/chef-repo-cl<\/strong>\u3068\u3057\u307e\u3059\u3002<\/p>\n<h3>\u25cf<a href=\"#cookbook-site-install\" name=\"cookbook-site-install\">Mackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8Cookbook\u306e\u53d6\u5f97<\/a><\/h3>\n<p>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f<a href=\"http:\/\/berkshelf.com\/\">Berkshelf<\/a>\u3092\u7528\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f<a href=\"http:\/\/docs.chef.io\/knife_cookbook_site.html#install\">knife cookbook site install<\/a>\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife cookbook site install mackerel-agent 1.1.0<br \/>\nInstalling mackerel-agent to \/home\/d-higuchi\/chef-repo-cl\/cookbooks<br \/>\nChecking out the master branch.<br \/>\nCreating pristine copy branch chef-vendor-mackerel-agent<br \/>\nDownloading mackerel-agent from the cookbooks site at version 1.1.0 to \/home\/d-higuchi\/chef-repo-cl\/cookbooks\/mackerel-agent.tar.gz<br \/>\nCookbook saved: \/home\/d-higuchi\/chef-repo-cl\/cookbooks\/mackerel-agent.tar.gz<br \/>\nRemoving pre-existing version.<br \/>\nUncompressing mackerel-agent version 1.1.0.<br \/>\nremoving downloaded tarball<br \/>\n1 files updated, committing changes<br \/>\nCreating tag cookbook-site-imported-mackerel-agent-1.1.0<br \/>\nChecking out the master branch.<br \/>\nUpdating ecfba29..47358e7<br \/>\nFast-forward<br \/>\ncookbooks\/mackerel-agent\/CHANGELOG.md          | 17 ++++++<br \/>\ncookbooks\/mackerel-agent\/README.md             | 71 +++++++++++++++++++++++<br \/>\ncookbooks\/mackerel-agent\/attributes\/default.rb |  8 +++<br \/>\ncookbooks\/mackerel-agent\/metadata.json         | 36 ++++++++++++<br \/>\ncookbooks\/mackerel-agent\/recipes\/default.rb    | 78 ++++++++++++++++++++++++++<br \/>\ncookbooks\/mackerel-agent\/recipes\/plugins.rb    | 12 ++++<br \/>\n6 files changed, 222 insertions(+)<br \/>\ncreate mode 100644 cookbooks\/mackerel-agent\/CHANGELOG.md<br \/>\ncreate mode 100644 cookbooks\/mackerel-agent\/README.md<br \/>\ncreate mode 100644 cookbooks\/mackerel-agent\/attributes\/default.rb<br \/>\ncreate mode 100644 cookbooks\/mackerel-agent\/metadata.json<br \/>\ncreate mode 100644 cookbooks\/mackerel-agent\/recipes\/default.rb<br \/>\ncreate mode 100644 cookbooks\/mackerel-agent\/recipes\/plugins.rb<br \/>\nCookbook mackerel-agent version 1.1.0 successfully installed<br \/>\nERROR: IOError: Cannot open or read \/home\/d-higuchi\/chef-repo-cl\/cookbooks\/mackerel-agent\/metadata.rb!<br \/>\n%<br \/>\n<\/code><\/p>\n<p>\u6700\u5f8c\u306e\u30a8\u30e9\u30fc\u306f\u7121\u8996\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Chef Server\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife upload cookbooks\/mackerel-agent<br \/>\nCreated cookbooks\/mackerel-agent<br \/>\n%<br \/>\n<\/code><\/p>\n<p>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife cookbook show mackerel-agent<br \/>\nmackerel-agent   1.1.0<br \/>\n%<br \/>\n<\/code><\/p>\n<h3>\u25cf<a href=\"#apikey\" name=\"apikey\">Mackerel\u306eAPI\u30ad\u30fc\u306e\u53d6\u5f97<\/a><\/h3>\n<p>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304b\u3089Mackerel\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306eAPI\u30ad\u30fc\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\nMackerel\u5de6\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3001\u30aa\u30fc\u30ac\u30cb\u30bc\u30fc\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 080-org.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/080-org.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6760\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/080-org.png\" alt=\"080-org\" width=\"201\" height=\"381\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/080-org.png 201w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/080-org-50x95.png 50w\" sizes=\"auto, (max-width: 201px) 100vw, 201px\" \/><\/a><\/p>\n<p>\u30aa\u30fc\u30ac\u30cb\u30bc\u30fc\u30b7\u30e7\u30f3\u30da\u30fc\u30b8\u3092\u4e0b\u306b\u9032\u3080\u3068\u3001API\u30ad\u30fc\u306e\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAPI\u30ad\u30fc\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u5f93\u3063\u3066\u305d\u308c\u306f\u4f7f\u308f\u305a\u306b\u65b0\u3057\u304f\u751f\u6210\u3057\u307e\u3059\u3002\u300c\u65b0\u3057\u3044API\u30ad\u30fc\u3092\u751f\u6210\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 090-create-apikey.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/090-create-apikey.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6761\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/090-create-apikey.png\" alt=\"090-create-apikey\" width=\"749\" height=\"588\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/090-create-apikey.png 749w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/090-create-apikey-121x95.png 121w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/a><\/p>\n<p>\u65b0\u3057\u3044API\u30ad\u30fc\u306e\u540d\u524d\u3068\u30e1\u30e2\u3092\u5165\u529b\u3059\u308b\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u5fc5\u8981\u4e8b\u9805\u3092\u5165\u529b\u3057\u3066\u300c\u4f5c\u6210\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 100-create-apikey-dialog.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/100-create-apikey-dialog.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6762\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/100-create-apikey-dialog.png\" alt=\"100-create-apikey-dialog\" width=\"400\" height=\"307\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/100-create-apikey-dialog.png 400w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/100-create-apikey-dialog-123x95.png 123w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u4f5c\u6210\u3067\u304d\u305fAPI\u30ad\u30fc\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3>\u25cf<a href=\"#create-role\" name=\"create-role\">Mackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u7528\u306eRole\u306e\u4f5c\u6210<\/a><\/h3>\n<p>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306fMackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u7528\u306b<a href=\"http:\/\/docs.chef.io\/recipes.html\">Recipe<\/a>\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f<a href=\"http:\/\/docs.chef.io\/roles.html\">Role<\/a>\u3092\u4f5c\u6210\u3057\u3066\u305d\u308c\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306bRole\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<strong>apikey<\/strong>\u306e\u5024\u306b\u306f\u3001\u5148\u7a0b\u65b0\u898f\u4f5c\u6210\u3057\u305fAPI\u30ad\u30fc\u306e\u6587\u5b57\u5217\u3092\u8a18\u8f09\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><code lang=\"javascript\"><br \/>\n% vi roles\/mackerel.json<br \/>\n{<br \/>\n\"name\": \"mackerel\",<br \/>\n\"description\": \"mackerel agent role\",<br \/>\n\"default_attributes\": {<br \/>\n\"mackerel-agent\": {<br \/>\n\"conf\": {<br \/>\n\"apikey\": \"\u53d6\u5f97\u3057\u305fAPI\u30ad\u30fc\u3092\u8a18\u8f09\"<br \/>\n}<br \/>\n}<br \/>\n},<br \/>\n\"run_list\": [<br \/>\n\"recipe[mackerel-agent]\"<br \/>\n]<br \/>\n}<br \/>\n%<br \/>\n<\/code><\/p>\n<p>Role\u3092Chef Server\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n% knife upload roles\/mackerel.json<br \/>\nCreated roles\/mackerel.json<br \/>\n%<br \/>\n<\/code><\/p>\n<p>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"yaml\"><br \/>\n% knife role show mackerel<br \/>\nchef_type:           role<br \/>\ndefault_attributes:<br \/>\nmackerel-agent:<br \/>\nconf:<br \/>\napikey: \u8a18\u8f09\u3057\u305fAPI\u30ad\u30fc<br \/>\ndescription:         mackerel agent role<br \/>\nenv_run_lists:<br \/>\njson_class:          Chef::Role<br \/>\nname:                mackerel<br \/>\noverride_attributes:<br \/>\nrun_list:            recipe[mackerel-agent]<br \/>\n%<br \/>\n<\/code><\/p>\n<h3>\u25cf<a href=\"#apply-role\" name=\"apply-role\">Role\u306e\u9069\u7528<\/a><\/h3>\n<p>\u4f5c\u6210\u3057\u305fRole\u3092Node\u306b\u9069\u7528\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u30db\u30b9\u30c8O\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"yaml\"><br \/>\n% knife node run_list add \u30db\u30b9\u30c8O 'role[mackerel]'<br \/>\n\u30db\u30b9\u30c8O:<br \/>\nrun_list:<br \/>\nrole[cl-common]<br \/>\nrole[mackerel]<br \/>\n%<br \/>\n<\/code><\/p>\n<p>\u30db\u30b9\u30c8O\u306b\u3066<a href=\"http:\/\/docs.chef.io\/ctl_chef_client.html\">chef-client<\/a>\u3092\u5b9f\u884c\u3057\u3001\u53ce\u675f\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ sudo chef-client<br \/>\n[2015-01-05T18:03:57+09:00] INFO: Forking chef instance to converge...<br \/>\nStarting Chef Client, version 11.16.2<br \/>\n[2015-01-05T18:03:58+09:00] INFO: *** Chef 11.16.2 ***<br \/>\n[2015-01-05T18:03:58+09:00] INFO: Chef-client pid: 20860<br \/>\n:<br \/>\n:<br \/>\n:<br \/>\nRecipe: mackerel-agent::default<br \/>\n* chef_gem[toml] action install[2015-01-05T18:04:22+09:00] INFO: Processing chef_gem[toml] action install (mackerel-agent::default line 13)<br \/>\n:<br \/>\n:<br \/>\n:<br \/>\n[2015-01-05T18:04:57+09:00] INFO: file[\/etc\/mackerel-agent\/mackerel-agent.conf] not queuing delayed action restart on service[mackerel-agent] (delayed), as it's already been queued<br \/>\n* service[mackerel-agent] action enable[2015-01-05T18:04:57+09:00] INFO: Processing service[mackerel-agent] action enable (mackerel-agent::default line 71)<br \/>\n[2015-01-05T18:04:57+09:00] INFO: service[mackerel-agent] enabled<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>- enable service service[mackerel-agent]<br \/>\n* service[mackerel-agent] action start[2015-01-05T18:04:57+09:00] INFO: Processing service[mackerel-agent] action start (mackerel-agent::default line 71)<br \/>\n[2015-01-05T18:05:00+09:00] INFO: service[mackerel-agent] started<\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>- start service service[mackerel-agent]<br \/>\n[2015-01-05T18:05:00+09:00] INFO: package[mackerel-agent] sending restart action to service[mackerel-agent] (delayed)<br \/>\n* service[mackerel-agent] action restart[2015-01-05T18:05:00+09:00] INFO: Processing service[mackerel-agent] action restart (mackerel-agent::default line 71)<br \/>\n[2015-01-05T18:05:03+09:00] INFO: service[mackerel-agent] restarted<\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>- restart service service[mackerel-agent]<br \/>\n[2015-01-05T18:05:05+09:00] INFO: Chef Run complete in 60.775487238 seconds<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">Running handlers:<br \/>\n[2015-01-05T18:05:05+09:00] INFO: Running report handlers<br \/>\nRunning handlers complete<br \/>\n[2015-01-05T18:05:05+09:00] INFO: Report handlers complete<br \/>\nChef Client finished, 14\/169 resources updated in 67.469695998 seconds<br \/>\n[2015-01-05T18:05:05+09:00] INFO: Sending resource update report (run-id: adc007fb-c715-4b22-bfc8-29551abeeafa)<br \/>\n$<br \/>\n<\/code><\/p>\n<p>mackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ ps auxwwwf|grep '[ m]ackerel'<br \/>\nroot     21463  0.2  0.0 794440  5708 ?        Sl   18:05   0:00 \/usr\/local\/bin mackerel-agent --pidfile=\/var\/run\/mackerel-agent.pid --root=\/var\/lib\/mackerel-agent<br \/>\n$<br \/>\n<\/code><\/p>\n<p>\u30db\u30b9\u30c8O\u540c\u69d8\u306b\u3001\u30db\u30b9\u30c8R\u3001\u30db\u30b9\u30c8S\u306b\u3082\u9069\u7528\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u624b\u9806\u306f\u540c\u4e00\u306a\u306e\u3067\u7701\u7565\u3057\u307e\u3059\u3002<\/p>\n<p>\u521d\u56de\u306e\u30ea\u30bd\u30fc\u30b9\u96c6\u8a08\u306b\u306f10\u5206\u7a0b\u5ea6\u304b\u304b\u308b\u306e\u3067\u3001\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u25cf<a href=\"#view-resource\" name=\"view-resource\">\u30ea\u30bd\u30fc\u30b9\u306e\u78ba\u8a8d<\/a><\/h3>\n<p>Mackerel\u5de6\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3001\u300cHosts\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><!-- 120-hosts.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/120-hosts1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6764\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/120-hosts1.png\" alt=\"120-hosts\" width=\"201\" height=\"381\" \/><\/a><\/p>\n<p>Mackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30db\u30b9\u30c8\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><!-- 130-hostlist.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/130-hostlist.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6765\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/130-hostlist.png\" alt=\"130-hostlist\" width=\"950\" height=\"625\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/130-hostlist.png 950w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/130-hostlist-144x95.png 144w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p>\u30db\u30b9\u30c8O\u3092\u9078\u629e\u3057\u3001\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fMackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><!-- 140-info-0.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/140-info-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6766\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/140-info-0.png\" alt=\"140-info-0\" width=\"749\" height=\"588\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/140-info-0.png 749w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/140-info-0-121x95.png 121w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/a><\/p>\n<p>\u6b21\u306b\u3001\u30ed\u30fc\u30c9\u30a2\u30d9\u30ec\u30fc\u30b8\u3001CPU\u3001\u30e1\u30e2\u30ea\u3001\u30c7\u30a3\u30b9\u30afI\/O\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30afI\/O\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u5229\u7528\u91cf\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><!-- 150-info-1.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/150-info-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6767\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/150-info-1.png\" alt=\"150-info-1\" width=\"749\" height=\"843\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/150-info-1.png 749w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/150-info-1-84x95.png 84w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/a><\/p>\n<h2>\u25a0<a href=\"#conclusion\" name=\"conclusion\">\u307e\u3068\u3081<\/a><\/h2>\n<p>\u672c\u7a3f\u3067\u306fMackerel\u306e\u53d6\u308a\u304b\u304b\u308a\u307e\u3067\u3092\u898b\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u306e\u4ed6\u306b\u3082Mackerel\u306b\u306f\u30b5\u30fc\u30d3\u30b9\u3084\u30ed\u30fc\u30eb\u3068\u3044\u3063\u305f\u30db\u30b9\u30c8\u306e\u307e\u3068\u307e\u308a\u3084\u5f79\u5272\u3092\u5206\u985e\u3059\u308b\u6a5f\u80fd\u3001\u30a2\u30e9\u30fc\u30c8\u901a\u77e5\u6a5f\u80fd\u3001\u3055\u307e\u3056\u307e\u306a\u60c5\u5831\u53ce\u96c6\u6a5f\u80fd\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001Chef\u3092\u7528\u3044\u308b\u3053\u3068\u3067Mackerel\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u975e\u5e38\u306b\u7c21\u5358\u306b\u5c55\u958b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u662f\u975e\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mackerel\u3068\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e\u4e88\u60f3\u901a\u308a\u3001\u300c\u30b5\u30fc\u30d0\u300d\u3092\u3082\u3058\u3063\u3066\u540d\u4ed8\u3051\u3089\u308c\u305f\u305d\u3046\u3067\u3059\u3002 \u672c\u7a3f\u3067 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":6753,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36,31],"tags":[],"class_list":["post-6752","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chef","category-higuchi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef, d-higuchi |Mackerel\u3068\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e\" \/>\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.creationline.com\/tech-blog\/cloudnative\/chef\/6752\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef, d-higuchi |Mackerel\u3068\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-07T02:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T04:56:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png\" \/>\n\t<meta property=\"og:image:width\" content=\"950\" \/>\n\t<meta property=\"og:image:height\" content=\"625\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio\",\"datePublished\":\"2015-01-07T02:30:00+00:00\",\"dateModified\":\"2023-08-29T04:56:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752\"},\"wordCount\":175,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/010-toppage.png\",\"articleSection\":[\"Chef\",\"d-higuchi\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752\",\"name\":\"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/010-toppage.png\",\"datePublished\":\"2015-01-07T02:30:00+00:00\",\"dateModified\":\"2023-08-29T04:56:32+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef, d-higuchi |Mackerel\u3068\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/010-toppage.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/010-toppage.png\",\"width\":950,\"height\":625},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6752#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Chef\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef, d-higuchi |Mackerel\u3068\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e","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.creationline.com\/tech-blog\/cloudnative\/chef\/6752","og_locale":"ja_JP","og_type":"article","og_title":"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef, d-higuchi |Mackerel\u3068\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2015-01-07T02:30:00+00:00","article_modified_time":"2023-08-29T04:56:32+00:00","og_image":[{"width":950,"height":625,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio","datePublished":"2015-01-07T02:30:00+00:00","dateModified":"2023-08-29T04:56:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752"},"wordCount":175,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png","articleSection":["Chef","d-higuchi"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752","name":"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png","datePublished":"2015-01-07T02:30:00+00:00","dateModified":"2023-08-29T04:56:32+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef, d-higuchi |Mackerel\u3068\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u306f\u3066\u306a\u304c\u63d0\u4f9b\u3059\u308b\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7ba1\u7406\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Mackerel\u306f\u300c\u30de\u30ab\u30ec\u30eb\u300d\u3068\u8aad\u307f\u3001\u82f1\u8a9e\u3067\u300c\u9bd6\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307f\u306a\u3055\u3093\u306e","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2015\/01\/010-toppage.png","width":950,"height":625},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6752#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Chef","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef"},{"@type":"ListItem","position":4,"name":"Chef\u306b\u3088\u308bMackerel\u306e\u5c0e\u5165 #getchef #mackerelio"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=6752"}],"version-history":[{"count":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6752\/revisions"}],"predecessor-version":[{"id":65769,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6752\/revisions\/65769"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/6753"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=6752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=6752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=6752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}