<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>snmp</anon>
  </categories>
  <description>snmptrapd.conf こういう行を追加 traphandle .1.3.6.1.4.1.99999.50.0.4 /usr/local/bin/traptestベンダ固有トラップOIDと、着信時に起動したいコマンドを書く。 （ベンダID 99999.50 のオレオレトラップ 4番） これをを着信したら traptest を起動して、その標準入力に情報を垂れ流す。 トラップOIDのところにワイルドカードが使えるバージョンもあるらしいが、5.1.2だと使えなかった。 起動 snmptrapd -f -Le -OnOnは OIDを名前にしないオプション 使わないと、標準出力への出力内容が M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20080703%2Fsnmp&quot; title=&quot;snmptrapdが渡してくる標準出力 - 揮発性のメモ２&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>2008-07-03 00:00:01</published>
  <title>snmptrapdが渡してくる標準出力</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20080703/snmp</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
