{"id":12016,"date":"2026-10-03T06:35:14","date_gmt":"2026-10-02T21:35:14","guid":{"rendered":"https:\/\/tsaitoh.net\/wp\/?p=12016"},"modified":"2026-10-03T07:20:56","modified_gmt":"2026-10-02T22:20:56","slug":"check-reachability-from-outer","status":"publish","type":"post","link":"http:\/\/tsaitoh.net\/wp\/2026\/10\/03\/check-reachability-from-outer\/","title":{"rendered":"\u5916\u90e8\u304b\u3089\u306e\u5230\u9054\u78ba\u8a8d"},"content":{"rendered":"<p>\u5916\u90e8\u304b\u3089\u306e HTTPS \u30c8\u30e9\u30d6\u30eb\u3082\u3042\u308a\u3001nagios \u306b<span style=\"text-decoration: underline;\">\u5916\u90e8\u304b\u3089\u81ea\u5b85\u30b5\u30fc\u30d0\u3078\u306e\u5230\u9054\u6027\u30c1\u30a7\u30c3\u30af<\/span>\u3092\u8ffd\u52a0\u3002<\/p>\n<p>\u81ea\u5b85\u304b\u3089 nrpe \u3067\u76e3\u8996\u3057\u3066\u3044\u308b \u3055\u304f\u3089\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u4e0a\u306e\u30b5\u30fc\u30d0\u306b\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">((( \u5916\u90e8\u30b5\u30fc\u30d0: \/etc\/nagios\/nrpe.d\/enabled.cfg )))\r\n# -s \u6587\u5b57\u304c\u542b\u307e\u308c\u308b\u304b\u30c1\u30a7\u30c3\u30af(DDNS\u74b0\u5883\u306a\u306e\u3067\u6587\u5b57\u691c\u7d22\u30c1\u30a7\u30c3\u30af\u4ed8\u304d)\r\ncommand[check_tsaitohnet_http]=\/usr\/lib\/nagios\/plugins\/check_http tsaitoh.net -s tsaitoh.net\r\ncommand[check_tsaitohnet_https]=\/usr\/lib\/nagios\/plugins\/check_http --ssl tsaitoh.net -s tsaitoh.net\r\n\r\n((( \u81ea\u5b85 )))\r\ndefine service{\r\n        use                     local-service   ; Name of host template to use\r\n        host_name               .....\r\n        service_description     TSAITOH_HTTP\r\n        check_command           check_nrpe!check_tsaitohnet_http\r\n        check_interval          1440 ; 1day \u78ba\u8a8d\u983b\u5ea6\u306f\u4f4e\u304f\r\n        retry_interval          60   ; 1h\r\n        notification_interval   0    ;\r\n}\r\n# HTTPS\u30c1\u30a7\u30c3\u30af\u306f\u3001HTTPS\u30c8\u30e9\u30d6\u30eb\u304c\u89e3\u6d88\u3057\u3066\u304b\u3089\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5916\u90e8\u304b\u3089\u306e HTTPS \u30c8\u30e9\u30d6\u30eb\u3082\u3042\u308a\u3001nagios \u306b\u5916\u90e8\u304b\u3089\u81ea\u5b85\u30b5\u30fc\u30d0\u3078\u306e\u5230\u9054\u6027\u30c1\u30a7\u30c3\u30af\u3092\u8ffd\u52a0\u3002 \u81ea\u5b85\u304b\u3089 nrpe \u3067\u76e3\u8996\u3057\u3066\u3044\u308b \u3055\u304f\u3089\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u4e0a\u306e\u30b5\u30fc\u30d0\u306b\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3002 ((( \u5916\u90e8\u30b5\u30fc\u30d0: \/et [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,29,3,11],"tags":[],"class_list":["post-12016","post","type-post","status-publish","format-standard","hentry","category-linux","category-network","category-t-saitoh","category-computer"],"_links":{"self":[{"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/12016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/comments?post=12016"}],"version-history":[{"count":7,"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/12016\/revisions"}],"predecessor-version":[{"id":12023,"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/12016\/revisions\/12023"}],"wp:attachment":[{"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/media?parent=12016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/categories?post=12016"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/tags?post=12016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}