You are on page 1of 15

SNMP for Constrained Devices

OpenWSN integration roadmap


Xavi Vilajosana
November 202
!s"mmar# from$ %SNMP Optimi&ations for Constrained Devices' draft()amid(*lo+pan(snmp(optimi&ations(0,-t.t

SNMP
/)e Simple Net+or0 Management Protocol
1SNMP2 is a datagram(oriented protocol
operating in t)e application la#er of t)e 3nternet
protocol s"ite-
/)e SNMP protocol is "sed to conve#
management information bet+een SNMP
entities-

SNMP

/)e "nderl#ing frame+or0 consists of fo"r basic


components 456C,708

several 1t#picall# man#2 managed nodes9 eac) +it) an


SNMP entit# +)ic) provides remote access to management
instr"mentation 1traditionall# called an agent29

at least one SNMP entit# +it) management applications


1t#picall# called a manager29

a management protocol "sed to conve# management


information bet+een t)e SNMP entities9 and

management information-

W)# SNMP:

Protocol Mat"rit#$ SNMPv, is a f"ll 3;/6 standard

Data Naming$ SNMP provides a )ierarc)ical namespace "tili&ing


object identifiers 1O3Ds2 for data naming p"rposes-

Net+or0 Management$ SNMP is +idel# "sed for net+or0


management and it is t)e 3nternet comm"nit#<s de facto net+or0
management and monitoring protocol-

Data 5etrieval$ 2 Models9 P"s) and P"ll-

P"ll$ SNMP emplo#s a trap(directed polling sc)eme in +)ic) data is being


re="ested b# a manager from t)e agents-

P"s)$ SNMP s"pports a p"s) model in +)ic) data is sent from agents to t)e
managers +it)o"t a prior re="est-

Sec"rit#$ SNMPv, can provide bot) message(level and transport level


sec"rit#-

>ccess control$ SNMP provides standard mec)anisms to control


access to information 456C,7?8-

SNMP Message 6ormats

SNMPv$ 13;/6 @@02

Aet$ B"er#

AetNe.t$ B"er# ::

/rap$ Notification no >CC

Set$ config"re a val"e- Write-

SNMPv2c$

AetD"l0$ D"l0 ="er#

3nform$ Notification E >CC

E ;rror Fandling

SNMPv,$

E >"t)entication

E Data 3ntegrit#

SNMP Sec"rit#

/+o different approac)es$

message(driven sec"rit#$SNMP provides its o+n


sec"rit#- 1Gser(Dased Sec"rit# Model2456C,778

transport(driven sec"rit#$ Gnderl#ing H7 sec"rit#-


456C??@8

Different config"rable access rig)ts


1+riteIread2

SNMP Manager 3mplementation
Considerations

Different strategies$

Periodic poll

P"s)ing

3n o"r scenario p"s)ing seems t)e best +a#9 so manager +ill


+ait for being p"s)ed-

%Vie+s' can be created9 eac) one set as a %conte.t'-

;ac) conte.t )as a name- Defa"lt is %' 1&ero(lengt)2-

;ac) node )as an %;ngine 3D'- Gs"all# t)e *7bit ;G3 in OpenWSN-

Operations

Data 5etrieval$

Aet5e="est(PDG$retrieving +ell 0no+n scalar data

AetNe.t5e="est(PDG$ partic"larl# advantageo"s for


retrieving d#namicall# c)anging tab"lar data

AetD"l05e="est(PDG 456C,7*8- 13dem2

P"s)ing Data$

/rap(PDG $ No >CC p"s)

3nform5e="est(PDG$ p"s) E ac0 end to end-



Management 3nformation Dases
1M3D2

/)e data accessible via SNMP is described b# Management 3nformation Dases 1M3D mod"les2-

Similar idea as HD>P or DNS-

/)ese M3D mod"les can eit)er be standardi&ed or specific to certain enterprises-

Delo+ is a list of M3D mod"les t)at ma# be applicable to a constrained device$

/)e SNMPv2(M3D 456C,7J8 MGS/ be implemented as it provides basic information abo"t t)e SNMP agent and
cr"cial objects-

/)e 36(M3D 456C2J*,8 SFOGHD be implemented in order to provide basic statistics abo"t t)e net+or0 interfaces of
t)e constrained device-

Devices s"pporting 3Pv7 or 3Pv* SFOGHD implement t)e 3P(M3D 456C72@,8

Devices s"pporting GDP SFOGHD implement t)e GDP(M3D 456C20,8-

Devices s"pporting 3Pv* over J02-?-7 1*HoWP>N2 SFOGHD implement t)e HOWP>N(M3D -4!8

Devices s"pporting t)e 5PH ro"ting protocol SFOGHD implement t)e 5PH(M3D- 4NO/ D;63N;DKKK8

Devices s"pporting sensors M>L implement t)e ;N/3/L(S;NSO5(M3D 456C,7,,89 +)ic) defines objects for
reading p)#sical sensors 1e-g-9 t)e c"rrent val"e of t)e sensor9 t)e operational stat"s of a sensor9 or t)e data "nits
precision associated +it) a sensor2- /)e ;N/3/L(S;NSO5(M3D depends on t)e ;N/3/L(M3D 456C7,,8-
!*lo+pan Management 3nformation Dase draft(daniel(lo+pan(mib(0-t.t 1200@2

Fo+ M3Ds loo0 li0e:

)ttp$II+++-oidvie+-comImibsI0ISNMPv2(M3D-)tml

)ttp$II+++-oidvie+-comImibsI0I3PV*(M3D-)tml

/rap PDG
So"rce$ )ttp$II+++-opencirc"its-comISNMPMM3DM3mplementationN/rapMPDGM6ormat

Aeneric /rap /#pes
So"rce$ )ttp$II+++-opencirc"its-comISNMPMM3DM3mplementationN/rapMPDGM6ormat

/rap ;.ample
So"rce$ )ttp$II+++-opencirc"its-comISNMPMM3DM3mplementationN/rapMPDGM6ormat

OpenWSN 5oadMap

3f +e agree on "sing SNMP$

3mplement /5>PMPDG in GDPHatenc#-

Move it to HOMSNMP folder

5ename to SNMP>gent

Define )eaders and pac0et objects-

Define o+n M3D::

C)oose s"bset of M3D objects from ot)er M3D::

OpenVis"ali&er-

>dd component SNMP Manager

6or+ard to data-local in case of local agent

Gse 3Pv* remote Manager 1NagiosIPenoss::2



B"estions::

You might also like