1 / 8

CNL Lab6 snmpwalk & ntop & munin

CNL Lab6 snmpwalk & ntop & munin. B97902059 資工三 趙祈鈞. 1.snmpwalk. apt-get install snmp snmpd vim /etc/ snmp / snmpd.conf add “ rocommunity public” /etc/ init.d / snmpd restart Usage: snmpwalk -v 1 -c public [host] [ oid ] OIDs: http://ppt.cc/zwl3 Ex: CPU 5 minute Load

anaya
Download Presentation

CNL Lab6 snmpwalk & ntop & munin

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CNL Lab6snmpwalk&ntop & munin B97902059 資工三 趙祈鈞

  2. 1.snmpwalk • apt-get install snmpsnmpd • vim /etc/snmp/snmpd.conf • add “rocommunity public” • /etc/init.d/snmpd restart • Usage: snmpwalk -v 1 -c public [host] [oid] • OIDs: http://ppt.cc/zwl3 • Ex: CPU 5 minute Load • snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.10.1.3.2

  3. 2.ntop configuration • wgethttp://sourceforge.net/projects/ntop/files/ntop/3.2/ntop-3.2.tgz • 解壓縮:tar zxvf ntop-3.2.tgz • cd ntop-3.2並開始安裝 • ./configure • make • make install • 設定密碼:/usr/local/bin/ntop –A • 啟動:/usr/local/bin/ntop -d -L -i "eth0,eth1"

  4. 2.ntop configuration(Cont.) • 測試:http://cnl2011-10.csie.org:3000/ • 如果有問題的話: • ps -A | grepntop找出該ntop的process_id • Kill -9 process_id • 重新啟動ntop • ntop監測AP: http://goo.gl/natjR • P.s. 曾經想裝比ntop-3.2更新的版本,如4.0 但需求的套件實在太多了裝都裝不完

  5. 3.Munin configuration • apt-get install munin • 修改 /etc/munin/munin.conf • htmldir /var/www/munin • 拿掉#tmpldir/etc/…前的# • [ ooxx ] => [cnl2011-10.csie.org] • mkdir /var/www/munin • chownmunin:munin /var/www/munin/ • service munin-node restart

  6. 3.Munin configuration(Cont.) • 測試: http://cnl2011-10.csie.org/munin/ • Q: forbidden? • A:修改 /etc/munin/apache.conf • Deny => Allow

  7. The End

More Related