logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Mib ?: msg#00089

Subject: Mib ?
Hi,
   I am new to SNMP. I am implementing an agent of my
own.
   I have a few questions. I would appreciate if any
one could answer my questions.

 1) What is a Mib ?.
     Should it be represented in asn.1 format only.
     What is the intention behind it.
     What if i want to say is we can represent it as  
     array of structures isnt it.
     When the oid comes to agent he goes to the 
     appropriate element in the array and invoke 
     a function which gets the value of the element
which the oid represents. The data type of the object
     is included in the array so that the object is
     constructed in Asn.1 & Ber format.
     I think the only thing in snmp is that final
transmission message must be Asn.1 format. Why confuse
people huge mib files written in asn.1 format
    
    What is the reason behind it ?
     
     As far as the agent is concerned Mib is an  array
of structures which has to be hard coded (like in
douglas comer volume 2) in the agent code.
 But in some implementations, Mibs are written in
asn.1
 format and stored in files. May be the agent and
manager reads these  files and constructs the Mib tree
(Array of structures) in  memory.
 
 Similarly, In manager side also.
 Why is this done like this. 
 
I think this is valid only for comercial
implementations of SNMP.  This is just to help the
user. so that he can add new features to the existing
thing. Am i correct.
 
  
I am totally confused with Asn.1.

Kindly help. Most of the material found is very
confusing.


 
Thanks,

 Regards,
  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en


<Prev in Thread] Current Thread [Next in Thread>