<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yomon8</author_name>
  <author_url>https://blog.hatena.ne.jp/yomon8/</author_url>
  <blog_title>YOMON8.NET</blog_title>
  <blog_url>https://yomon.hatenablog.com/</blog_url>
  <categories>
    <anon>Munin</anon>
  </categories>
  <description>Muninのプラグインを何本も書いてきましたが、最近になってプラグイン書くのに役立つ環境変数があることを知りました。 実際の変数を出力したければ以下のようなファイル作って munin-run 実行してみるだけです。 $ cat /etc/munin/plugins/test #!/bin/bash env こんな感じの変数出力が得られます。 $ munin-run test | grep MUNIN MUNIN_BASH=/bin/bash MUNIN_PLUGSTATE=/var/lib/munin/plugin-state/nobody MUNIN_PERL=/usr/bin/perl M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyomon.hatenablog.com%2Fentry%2F2017%2F11%2F03%2F220246&quot; title=&quot;Muninのプラグイン書くのに役立つ環境変数たち - YOMON8.NET&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>2017-11-03 22:02:46</published>
  <title>Muninのプラグイン書くのに役立つ環境変数たち</title>
  <type>rich</type>
  <url>https://yomon.hatenablog.com/entry/2017/11/03/220246</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
