You are on page 1of 3
‘swisono17 Bai: Tim hibu OID va glo the SNMP Search, HOME CENTOS winDows cisco JUNIPER VMWARE, EXPERIENCE Bai: Tim hiéu OID va giao thire SNMP SNMP li“gis thie quan Ij meng dom gin", ah vy thé ao thie quan IY mang don gin ‘ng quan cic bude d&g sit thin cng thiét bi mang oh tru giao thée SNMP (Chu hin SNMP manager trénthit bi qui Iy gm sit (cy thé trong cheng tri day sl zabbi server) Khoi bio ip eta tid bj en gdm sit - Nh chudi community string 4 ksi bao trén thi bi ein giém sit Kh bio phign bin SNMP dang se dung tén tht bi ebngiém sat Chu ki ly mu: do SNMP geust sit dung phuomg the poll nén edn khei bio chu ky ly théng tn eds manager ‘Vi di enable SNMP trén Router Cisco Cc Ign trong. qu tinh cu hin router, Lent Mota so snmp-terver ‘Vo higu his SNMP, show snmp ‘Xem tn trang ea snmp, ‘sump-server comunity ‘in nghia chub community. ‘samp-server contact "Thid ap chu system contact. ‘sump-server enable aps samp ‘Bit chie ning aps snmp. samp-server hast (Clu hinh host s8 nnn taps ‘snmp-server location ‘Thiét Igp chudi system location. - Thigt lp chubi SNMP community: Nhu ching te bit, chad SNMP community gidng nhurpastowrd ding thié lap mi quan hé gi NMS vi agent, dod ching ts cin kha bo chu6i SNMP community €8 NMS cf thé tray vn théng tn tr route. 8 eo hinh chubi SNMP Veni sau community ching ta ding ‘RouterHSU(configtsnmp-server community hoasen ed ro [RouterH1SU (config) tsnmp-server community adnin hoasen ed. vn rw ‘rong dé chudi SNMP community hasen.cduvn e6 quyéa read-only vi admin hoasen.cdu.vn 6 chuyén read-write. Mic dink thi chusi public 6 quyda read-only cba private eb quyén read-write - Thiét ip contact va ovation cho router Cisco (khing cin hi): Contact cho bid thing tn Lgn hg v6i neu qun 1 router vi location cho bit router & vi no trong mang. Pé tit lip contact vit Tocation cho router ta dng enh sau, [Router1SU (config) snmp-server contact “So dienthoai cua admin la 0988998998" ‘Router1SU (config) tsnmp-server location “Tang 2, Phong 4201" tp arunglam giangt com/index phalinun/107-ba-tim-sins-oid-va-giao-t-c-somp 18 ‘swirono17 Bai: Tim hibu OID va glo the SNMP Clu hinh router i rap dfn Zabbin Server (ding snmpv2): Dé cho phép router gdi treps kh e6 sy e6 cho Zabbix Server ching ta ding eau Teh sa, ‘Router}SU config) tonmp-server enable taps samp - Tiép theo tac hin host s8 duge gi trap dén —d6 chinks i Zabbix Server. Trap mie dinh s® duge gi théng qua UDP port 162. Ci pip edu Joh 8 chgehign I smmp-server host host version community string udp-port port number ‘Router}SU config onmp-server host 192.168.159.101 version 2c hoasen.edu.vm udp-port 182 = Kim oa k&t ndi dén Zabbix Server “Router}SUping 192.168.159.101 Tipe escape sequence to abort. ‘Sending 5, 100-byte ICMP Echos to 192.168.159.101, timeout is? seconds: ‘Success rate is 100 percent (55), rounde-trp minfavy/max = 12/21/40 ms ‘Bat tinh ning SNMP agent trén thiét bj edn glam sit: ede thi bj hd try SNMP e6 thé mje dinh disoble tinh ning nay nén phi enable n6 én ~ Khai bfo commaniy-strng va quyén truy ep tuomg ing: ph Khai bo community string vi chi re quyén (read, write ay se) = Khai bo phién ban SNMP + Khai béo SNMP ACL: cho phép ip hay dy jp no duge giém sit ‘godin dé gidm sit ci tt hon ce thing sé ci thie bi nhu port switch upidowm, bandwidth, ching ta ckn quan tim ti shng thd O1D ‘ODE: Mot shid bj hs tro SNMP e6 thE cung ep nhidu thing in Khe nhau, mB thing tn A poi lm object. Vi dy “May tinh o6 thé cung cép ede thong tn tng 96 6 cig, tng s6 port nbi mang, ting s6 byte di trayénnhn, én may tn, tén eb process dang chay, Router eb thé cung ep ee thing tin tng sé card, ng sport, tng s6 byte dl tuyénhn, tn roue, tinh rang ede port cia route, MB object 06 mot tén gi vi mgt ma s6 48 ntén dang object dd, ma sé goi 18 Objet ID (OID). Vids ‘Ten thi bj deg goi la sysName, O1D 14 1.3.6.1.2.1.1.5 4 Téng sé port gia tgp (interface) dcge got lumber, OD li 13.6.1.2.1.21 Dia chi Mac Adaess cia mat port duge go ia ifPhysA dress, OD la 13.6.12.12.2.16. MnOctets, OID la 1.3.6.1.2.1.2.2.1.10. 8 byte di a én mot port duge 49 ‘Sit dung mét sé phin mém chuyén dung 48 tim OID nhu iReasoning MIB Browser seu) [amm) OF tron (ie) [5] Canes) Ga) © Comments Sorby leat hp arunglam giangit com/index phalinux/107-ba-tim-si-s-oid-va-giao-h-c-somp 23 ‘swisono17 Bai: Tim hibu OID va glo the SNMP ‘TRAINING DIARY ABOUT SOMETHING DEVELOPMENT BY MR RIVER MOBILE 0916414145 hp arunglam giangit com/index phalinux/107-ba-tim-si-s-oid-va-giao-h-c-somp a3

You might also like