MuninにSNMP機器を追加する手順
【機器側】
エージェントの設定
Location <ほげデバイス>
Contact <ほげ>
Name <ほげデバイス?>
Get Community <ホゲコミュRO>
Get/Set Community <ホゲコミュRW>
【Munin側】
以下を追記
/etc/opt/munin/plugins-conf.d/munin-node
[snmp_<ほげデバイスのIPアドレス>*]
env.version 1
env.community <ホゲコミュRO>
/etc/munin/munin.conf
[<ほげデバイス>]
address 127.0.0.1
use_node_name no
以下を実行
munin-node-configure --snmp <ほげデバイスのIPアドレス> --snmpversion 1 --snmpcommunity <ほげコミュRO>
取得可能な値が表示される。
OKなら先のコマンド末尾に
「| sh」を足して実行、登録される