<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nealsato</author_name>
  <author_url>https://blog.hatena.ne.jp/nealsato/</author_url>
  <blog_title>Neal Sato's blog</blog_title>
  <blog_url>https://neal.hatenablog.com/</blog_url>
  <categories>
    <anon>ネットワーク</anon>
  </categories>
  <description>自宅なんで厳密に監視をしなくてもいいんじゃね？とも思うのだが、人間が設定を管理している以上、やっぱり何かやってしまうもんだ。そういうミスを犯した際、早期に発見するにはログ監視が有効。ただ、毎日ログを見るのはかったるいので、こんなスクリプトをクロンで回している。 #! /bin/bash day_before=`date +&quot;%h %e&quot; --date=&quot;-1 day&quot;` day_before_subject=`date +&quot;%Y/%m/%d&quot; --date=&quot;-1 day&quot;` cat /var/log/routers.1 /var/log/routers \ | grep -e &quot;$day_b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fneal.hatenablog.com%2Fentry%2F2013%2F12%2F24%2F132049&quot; title=&quot;自宅ルータのログ監視 - Neal Sato&amp;#39;s blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-24 13:20:49</published>
  <title>自宅ルータのログ監視</title>
  <type>rich</type>
  <url>https://neal.hatenablog.com/entry/2013/12/24/132049</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
