SNMP VL4
先日、aptのラインが変わったのか、
# apt-get update
# apt-get upgrade
で、VineLinux4.2へのアップグレードがされました。
そのVineLinuxへ、SNMPの設定をしました。
--net-snmpのインストール
# apt-get update
# apt-get install net-snmp
--snmpd.confの編集
# vi /etc/snmp/snmpd.conf
----
#com2sec notConfigUser default public ← コメントアウト
com2sec local localhost comunity ← 追加
com2sec mynetwork 192.168.10.0/24 comunity ← 追加
#group notConfigGroup v1c notConfigUser ← コメントアウト
#group notConfigGroup v2c notConfigUser ← コメントアウト
group MyROGroup v1 mynetwork ← 追加
group MyROGroup v2c mynetwork ← 追加
#view systemview included .1.3.6.1.2.1.1 ← コメントアウト
#view systemview included .1.3.6.1.2.1.25.1.1 ← コメントアウト
view all included .1 80 ← 追加
#access notConfigGroup "" any noauth exact systemview none none ← コメントアウト
access MyROGroup "" any noauth exact all none none ← 追加
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc ← コメント外し
# Check the / partition and make sure it contains at least 10 megs.
disk / 10000 ←追加
disk /home 10000 ←追加
disk /var 10000 ←追加
----
また、ファイヤーウォールの設定を変更しました。
161/UDP (SNMP)
162/UDP (SNMP trap)
を開放しました。
「Vine Linux 4.xx」カテゴリの記事
- Wine Linux上でWindowsアプリ実行(2010.04.14)
- ntp VL4(2008.02.07)
- SNMP VL4(2008.02.03)
- ssh VL4(2007.12.28)
- Vine Linux4.2 (2007.12.27)



Comments