2. 1970s 1980 1990 2000 Now
70년대 / 네트워크는 극 소수의 사람들만이 사용
살아있니?
응, 살아있어.
3. 1970s 1980 1990 2000 Now
‘어떤 목적지까지 데이터가 갈 수 있다 혹은 없다’ 정도면 충분
ping 52.32.141.55
pong
4. 1970 1980s 1990s 2000 Now
80년대~90년대 / 인터넷의 사용 인구가 폭발적으로 증가
Need for a way to gather information from very different
systems in a consistent manner arises
5. 1970 1980s 2000 Now
SGMP (Simple Gateway Monitoring Protocol)이 생겨남
More features than ping
Ping보다 더 많은 기능
Intuitive, easy to spot network problems
직관적이고 쉽게 네트워크 문제를 찾을 수 있음
Standardized protocol
표준화된 프로토콜
1990s
6. Simple set of operations that gives administrators the ability
to change/retrieve the state of some SNMP-based device
SNMP
9. “미영씨,
시원한 물좀 갔다주세요”
물 전달
지배인
Manager
웨이트리스
Agent
손님
Customer
주방
MIB
A RESTAURANT
“Could I get a cup of water?”
10. A machine that is configured to poll SNMP agent for
information
MANAGER
11. Responsible for gathering information about the local
system and storing them in a format that can be queried
AGENT
12. Database of managed objects and their behavior
MANAGEMENT INFORMATION BASE (MIBs)
13. Example MIBs
DNS Server
RDBMS
PRINTER
(RFC 1611) Domain Nameserver를 관리하기 위한 MIB
(RFC 1697) 관계형 데이터베이스를 위한 MIB
프린터과 관련된 MIB, RFC 3805 (Printer MIBv2) 가 현재 표준
Vendors and individuals are allowed to define
MIB variables for their own use.
+
19. 5 Basic Commands
trap
getresponse
set
getnext
get
get에 대응하여 agent가 manager에게 보내는 패킷
특정 값을 변경하고 싶을 때 사용
내가 요청한 object id 에서 가장 근접한 instance id와 instance value를 가져옴
요청한 object id의 instance value를 가져옴
특정 이벤트가 발생했을 때 manager에게 알려주는 패킷
21. 한 예로, 프린터에 잉크가 얼마나 남아있는지 확인하고 싶을 때 사용할 수 있습니다.
SNMP USAGE
$ snmpget –c public {your-printer-ip} “.1.3.6.1.2.1.43.11.1.1.9”
종이, 토너, 용지걸림, Output Tray missing 등 다양한 정보
+
public은 community string이고 “.1.3.6.1.2.1.43.11.1.9”는
prtMarkerSuppliesLevel의 Obejct ID입니다.
23. 1. SNMP는 관리자들이 네트워크 장비들을 효율적으로 관리할 수 있게 해줍니다.
2. 프린터에선 용지 정보, 토너 정보, 용지 걸림, 유지보수 필요 여부, job status, 하드웨어
정보 등 다양한 정보를 관리자에게 제공합니다.
3. SNMP가 큰 인기를 얻을 수 있었던 것은 프로토콜의 간단함(simplicity) 에 있습니다.
4. MIB은 각 용도에 맞는 표준 규격(프린터의 경우 RFC 3805)을 쉽게 확장할 수 있습니다.
THINGS TO TAKE AWAY