<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>morihaya</author_name>
  <author_url>https://blog.hatena.ne.jp/morihaya/</author_url>
  <blog_title>もりはやメモφ(・ω・ )</blog_title>
  <blog_url>https://blog.morihaya.tech/</blog_url>
  <categories>
    <anon>小ネタ</anon>
    <anon>mackerel</anon>
  </categories>
  <description>普段はLinuxサーバばかり触っていますが、一部Windowsサーバもあります。 とある日にDNSが引けなくなる問題が発生し、WindowsサーバでDNSが引けるかのチェックを定期的に行いたくなり、mackerelのチェック監視で簡単に行なったのでメモしておきます。 (調べてわかりましたが、mackerel + Windows の情報は多くないんですね...) mackerel.io 具体的には以下の通り。mackerel-agent.conf へ以下を追加するだけでした。 [plugin.check.dns_google] command = &quot;powershell -command Res…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.morihaya.tech%2Fentry%2F2020%2F12%2F14%2F002121&quot; title=&quot;mackerelでWindowsサーバでDNSが引けるかチェック監視をpowershellのワンライナーで追加する - もりはやメモφ(・ω・ )&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/morihaya/20201213/20201213234522.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-14 00:21:21</published>
  <title>mackerelでWindowsサーバでDNSが引けるかチェック監視をpowershellのワンライナーで追加する</title>
  <type>rich</type>
  <url>https://blog.morihaya.tech/entry/2020/12/14/002121</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
