Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > 675c8c8167236dfcf8d66da674f931e8 > files > 1149

erlang-doc-R15B-03.3.fc17.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css">
<title>Erlang -- Mibs</title>
</head>
<body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container">
<script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript">
            <!--
              function getWinHeight() {
                var myHeight = 0;
                if( typeof( window.innerHeight ) == 'number' ) {
                  //Non-IE
                  myHeight = window.innerHeight;
                } else if( document.documentElement && ( document.documentElement.clientWidth ||
                                                         document.documentElement.clientHeight ) ) {
                  //IE 6+ in 'standards compliant mode'
                  myHeight = document.documentElement.clientHeight;
                } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
                  //IE 4 compatible
                  myHeight = document.body.clientHeight;
                }
                return myHeight;
              }

              function setscrollpos() {
                var objf=document.getElementById('loadscrollpos');
                 document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2;
              }

              function addEvent(obj, evType, fn){
                if (obj.addEventListener){
                obj.addEventListener(evType, fn, true);
                return true;
              } else if (obj.attachEvent){
                var r = obj.attachEvent("on"+evType, fn);
                return r;
              } else {
                return false;
              }
             }

             addEvent(window, 'load', setscrollpos);

             //--></script><div id="leftnav"><div class="innertube">
<img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/otp_mibs-1.0.7.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>OTP_Mibs</strong><br><strong>User's Guide</strong><br><small>Version 1.0.7</small></p>
<br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p>
<ul class="flipMenu" imagepath="../../../../doc/js/flipmenu">
<li id="no" title="Introduction" expanded="false">Introduction<ul>
<li><a href="introduction.html">
              Top of chapter
            </a></li>
<li title="Purpose"><a href="introduction.html#id60871">Purpose</a></li>
<li title="Pre-requisites"><a href="introduction.html#id60919">Pre-requisites</a></li>
</ul>
</li>
<li id="loadscrollpos" title="Mibs" expanded="true">Mibs<ul>
<li><a href="mibs.html">
              Top of chapter
            </a></li>
<li title="Structure"><a href="mibs.html#id60892">Structure</a></li>
<li title="OTP-MIB"><a href="mibs.html#id61721">OTP-MIB</a></li>
<li title="OTP-REG"><a href="mibs.html#id61396">OTP-REG</a></li>
<li title="OTP-TC"><a href="mibs.html#id61744">OTP-TC</a></li>
</ul>
</li>
</ul>
</div></div>
<div id="content">
<div class="innertube">
<h1>2 Mibs</h1>
  

  <h3><a name="id60892">2.1 
        Structure</a></h3>
    
    <p>The OTP mibs are stored in the
      <span class="code">$OTP_ROOT/lib/otp_mibs/mibs/</span> directory. They
      are defined in SNMPv2 SMI syntax. An SNMPv1 version of the mib is
      delivered in the <span class="code">mibs/v1</span> directory. The compiled MIB is
      located under <span class="code">priv/mibs</span>, and the generated <span class="code">.hrl</span>
      file under the <span class="code">include</span> directory. To compile a MIB that
      IMPORTS a MIB in the OTP_Mibs application, give the option
      <span class="code">{il, ["otp_mibs/priv/mibs"]}</span> to the MIB compiler.</p>
  

  <h3><a name="id61721">2.2 
        OTP-MIB</a></h3>
    
    <p>The OTP-MIB mib represents information about Erlang nodes such as
      node name, number of running processes, virtual machine version
      etc. If the MIB should be used in a system, it should be
      loaded into an SNMP agent by using the API function
      <span class="code">otp_mib:load/1</span>.</p>
  

  <h3><a name="id61396">2.3 
        OTP-REG</a></h3>
    
    <p>The OTP-REG mib defines the unique OTP subtree of object
      identifiers under the Ericsson subtree. Under the OTP subtree
      several object identifiers are defined. This module is typically
      included by OTP applications defining their own mibs, or ASN.1
      modules in general, that require unique object identifiers under
      the OTP subtree.</p>
  

  <h3><a name="id61744">2.4 
        OTP-TC</a></h3>
    
    <p>The OTP-TC mib provides the textual convention datatype
      <span class="code">OwnerString</span>.</p>
  
</div>
<div class="footer">
<hr>
<p>Copyright © 2003-2012 Ericsson AB. All Rights Reserved.</p>
</div>
</div>
</div></body>
</html>