<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mattintosh4</author_name>
  <author_url>https://blog.hatena.ne.jp/mattintosh4/</author_url>
  <blog_title>mattintosh note</blog_title>
  <blog_url>https://mattintosh-note.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>Zabbix</anon>
  </categories>
  <description>前回は SQLite を使ってやってみたけど、今回は Zabbix にそのまま送る方法。 PING コマンドの出力の時間部分だけを使う。 $ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.094 ms : Zabbix 側には予め Zabbix トラッパーでアイテムを作成しておく。今回は「ping_now」という名前。 grep してすぐ出力したいので stdbuf を噛ませる。 #!/bi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmattintosh-note.jp%2Fentry%2F20171204%2F1512313945&quot; title=&quot;PING の結果をひたすら Zabbix に送るだけのスクリプト - mattintosh note&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/mattintosh4/20171204/20171204001553.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-04 00:12:25</published>
  <title>PING の結果をひたすら Zabbix に送るだけのスクリプト</title>
  <type>rich</type>
  <url>https://mattintosh-note.jp/entry/20171204/1512313945</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
