トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

FB-snmp

SNMP

  net-snmp の場合

pkg install net-snmp
####    env HTTP_PROXY="http://127.0.0.1:18080" pkg install net-snmp

詳細データを取るには

vi /etc/snmp/snmpd.conf

# ここを動作させる 装置の IP にしないと。。動きません(笑)::毎回とちる
agentAddress  udp:192.168.0.2:161
# agentAddress  udp:192.168.250.15:161
# Make at least  snmpwalk -v 1 localhost -c public system fast again.
#       name           incl/excl     subtree         mask(optional)
view    systemview    included   .1
# view   systemonly  included   .1.3.6.1.2.1.1
# view   systemonly  included   .1.3.6.1.2.1.25.1
#
# disk / 10000
# rocommunity public  localhost
rocommunity public  192.168.250.15
rocommunity myynet  localhost
                                                #  Default access to basic system info
rocommunity public  default    -V systemonly
rocommunity myynet  default    -V systemonly
# が あることを確認
チェック方法
snmpwalk -v 2c -c public 192.168.16.2 hrStorage
snmptranslate -On HOST-RESOURCES-MIB::hrStorageAllocationUnits

??Patch???

https://sourceforge.net/p/net-snmp/bugs/2890/

TIPs

https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-system_monitoring_tools-net-snmp

https://changineer.info/server/monitoring/monitoring_snmpd.html#toc4

http://miyakoshi.mydns.jp/freebsd/mrtg.html

https://qiita.com/mugi-tea/items/ed0a2500326533af73e5