{"id":970,"date":"2020-12-18T20:45:02","date_gmt":"2020-12-18T11:45:02","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/?p=970"},"modified":"2022-10-28T22:35:26","modified_gmt":"2022-10-28T13:35:26","slug":"monitoring-redirect-with-datadog","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2020\/12\/18\/monitoring-redirect-with-datadog\/","title":{"rendered":"Datadog\u306eURL\u76e3\u8996\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3088\u3046"},"content":{"rendered":"

\u306f\u3058\u3081\u306b<\/h2>\n

\u897f\u85e4\u3067\u3059\u3002<\/p>\n

\u5f0a\u793e\u3067\u306fAWS\u30a4\u30f3\u30d5\u30e9\u4e0a\u3067\u52d5\u304f\u30b7\u30b9\u30c6\u30e0\u306e\u76e3\u8996\u306b"Datadog"\u3092\u7528\u3044\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n

\u3053\u306eDatadog\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u300cCPU\u4f7f\u7528\u7387\u300d\u300c\u30e1\u30e2\u30ea\u4f7f\u7528\u7387\u300d\u3084\u300c\u30b9\u30c8\u30ec\u30fc\u30b8\u7a7a\u304d\u5bb9\u91cf\u300d\u306a\u3069\u30af\u30e9\u30a6\u30c9\u4e0a\u306e\u30a4\u30f3\u30d5\u30e9\u30ea\u30bd\u30fc\u30b9\u306e\u5404\u7a2e\u60c5\u5831\u3092\u76e3\u8996\u3067\u304d\u308b\u307b\u304b\u3001\u6240\u5b9a\u306eURL\u306b\u5bfe\u3057\u3066\u4e00\u5b9a\u9593\u9694\u3067\u30a2\u30af\u30bb\u30b9\u8a66\u884c\u3092\u884c\u3046\u3053\u3068\u3067\u30b5\u30a4\u30c8\u306e\u6b7b\u6d3b\u76e3\u8996\u3092\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u4eca\u56de\u306f\u305d\u306eURL\u306b\u5bfe\u3059\u308b\u6b7b\u6d3b\u76e3\u8996\u3001Datadog\u306e\u7528\u8a9e\u3067\u300cHTTP\u30c1\u30a7\u30c3\u30af\u300d\u306b\u304a\u3044\u3066\u3001\u30b5\u30a4\u30c8\u4e0a\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u767a\u751f\u3092\u76e3\u8996\u3067\u304d\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n

HTTP\u30c1\u30a7\u30c3\u30af\u306e\u57fa\u672c\u8a2d\u5b9a\u3068\u5b9f\u73fe\u3057\u305f\u3044\u30b7\u30ca\u30ea\u30aa<\/h2>\n

\u307e\u305a\u3001Datadog\u306eHTTP\u30c1\u30a7\u30c3\u30af\u306e\u69cb\u6210\u6982\u5ff5\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n

\"datadog-example\"<\/p>\n

\u4f8b\u3048\u3070\u3001EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306a\u3069\u306e\u57fa\u76e4\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fDatadog\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304b\u3089\u76e3\u8996\u5bfe\u8c61\u3068\u3057\u305f\u3044URL\u306b\u5bfe\u3057\u3066\u4e00\u5b9a\u9593\u9694\u3067\u30a2\u30af\u30bb\u30b9\u8a66\u884c\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n

\u305d\u3057\u3066\u3001\u305d\u306e\u969b\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u5185\u5bb9\u306b\u57fa\u3065\u3044\u3066\u3001\u8a72\u5f53\u306eURL\u304c\u6b63\u5e38\u306b\u30a6\u30a7\u30d6\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u304d\u3066\u3044\u308b\u304b\u3092\u5224\u65ad\u3057\u307e\u3059\u3002<\/p>\n

\u3053\u306e\u969b\u306e\u300c\u6b63\u5e38\u304b\u300d\u306e\u5224\u65ad\u306f\u3001Datadog\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u57fa\u76e4\u5185\u306b\u3042\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u5024\u306a\u3069\u304b\u3089\u5224\u65ad\u3055\u308c\u307e\u3059\u3002<\/p>\n

\u4e0a\u8a18\u306e\u3088\u3046\u306a\u524d\u63d0\u306b\u57fa\u3065\u304d\u3001\u6b21\u306e\u3088\u3046\u306a\u30b7\u30ca\u30ea\u30aa\u3092\u8003\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n

\n

https:\/\/example.com<\/a> \u3068\u3044\u3046URL\u3092\u5bfe\u8c61\u306b\u30da\u30fc\u30b8\u306e\u6b7b\u6d3b\u76e3\u8996\u3092\u884c\u3044\u305f\u3044\u3002
\n\u305d\u3057\u3066\u3001\u3053\u306eURL\u306b\u304a\u3044\u3066\u306f\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u6b63\u5e38\u3068\u3057\u3066\u3001\u60f3\u5b9a\u5916\u306b\u5225\u306eURL\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u308b\u3088\u3046\u306a\u4e8b\u614b\u3082\u6355\u6349\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002<\/p>\n<\/blockquote>\n

\u3068\u3044\u3063\u305f\u30b7\u30ca\u30ea\u30aa\u3067\u3059\u3002<\/p>\n

\u3053\u306e\u30b7\u30ca\u30ea\u30aa\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3092\u8003\u3048\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n

\u203b\u5185\u5bb9\u3068\u3057\u3066\u306f\u3001\u3059\u3067\u306bDatadog\u3092\u904b\u7528\u3055\u308c\u3066\u3044\u308b\u65b9\u5411\u3051\u3092\u60f3\u5b9a\u3057\u3066\u304a\u308a\u3001Datadog\u306e\u5951\u7d04\u3084\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u5c0e\u5165\u306a\u3069\u76e3\u8996\u3092\u958b\u59cb\u3059\u308b\u307e\u3067\u306e\u521d\u671f\u8a2d\u5b9a\u306f\u5272\u611b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n

HTTP\u30c1\u30a7\u30c3\u30af\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/h2>\n

\u307e\u305a\u3001URL\u76e3\u8996\u3092\u3059\u308b\u305f\u3081\u306b\u306fDatadog\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u57fa\u76e4\u4e0a\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n

https:\/\/docs.datadoghq.com\/ja\/integrations\/http_check\/<\/a><\/p>\n

\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u53c2\u8003\u306b<\/p>\n

http_check.d\/conf.yaml<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n

init_config:\n\ninstances:\n  - name: Example website\n    url: https:\/\/example.com\/<\/code><\/pre>\n

\u3053\u308c\u306b\u3088\u308aDatadog\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3068\u9023\u643a\u3057\u3066\u3044\u308bDatadog\u306e\u7ba1\u7406\u753b\u9762\u306b\u3066
\n
https:\/\/example.com\/<\/a>\u306eURL\u3092\u5bfe\u8c61\u3068\u3057\u305fHTTP\u30c1\u30a7\u30c3\u30af\u306e\u305f\u3081\u306e\u30e2\u30cb\u30bf\u30fc\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u30b5\u30f3\u30d7\u30eb\u306e\u554f\u984c\u70b9<\/h2>\n

\u3053\u308c\u3060\u3051\u3067\u3082\u300c\u5bfe\u8c61\u306eURL\u304c\u7a3c\u50cd\u3057\u3066\u3044\u308b\u304b\u300d\u3092\u76e3\u8996\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002
\n\u4f8b\u3048\u3070\u3001\u5bfe\u8c61\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u30c0\u30a6\u30f3\u3057\u305f\u3089\u305d\u306e\u6642\u70b9\u3067\u7570\u5e38\u7cfb\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3063\u3066\u304f\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3067\u3001\u901a\u77e5\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u3057\u304b\u3057\u3001\u300c\u30b5\u30a4\u30c8\u4e0a\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u60f3\u5b9a\u3057\u3066\u3044\u305f\u30da\u30fc\u30b8\u4ee5\u5916\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u305f\u300d\u3068\u3044\u3046\u72b6\u6cc1\u306f\u691c\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n

\u3053\u308c\u306f<\/p>\n

https:\/\/docs.datadoghq.com\/ja\/integrations\/http_check\/#\u30b5\u30fc\u30d3\u30b9\u306e\u30c1\u30a7\u30c3\u30af<\/a><\/p>\n

\n

\u6b21\u306e\u3044\u305a\u308c\u304b\u304c\u767a\u751f\u3057\u305f\u3089 DOWN<\/code> \u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n