1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- This document was generated using DocBuilder 3.3.3 -->
<HTML>
<HEAD>
<TITLE>Mibs</TITLE>
<SCRIPT type="text/javascript" src="../../../../doc/erlresolvelinks.js">
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#FF00FF"
ALINK="#FF0000">
<CENTER>
<A HREF="http://www.erlang.se"><IMG BORDER=0 ALT="[Ericsson AB]" SRC="min_head.gif"></A>
</CENTER>
<A NAME="2"><!-- Empty --></A>
<H2>2 Mibs</H2>
<A NAME="2.1"><!-- Empty --></A>
<H3>2.1 Structure</H3>
<P> The OTP mibs are stored in the
<CODE>$OTP_ROOT/lib/otp_mibs/mibs/</CODE> directory. They
are defined in SNMPv2 SMI syntax. An SNMPv1 version of the mib is
delivered in the <CODE>mibs/v1</CODE> directory. The compiled MIB is
located under <CODE>priv/mibs</CODE>, and the generated <CODE>.hrl</CODE>
file under the <CODE>include</CODE> directory. To compile a MIB that
IMPORTS a MIB in the OTP_Mibs application, give the option
<CODE>{il, ["otp_mibs/priv/mibs"]}</CODE> to the MIB compiler.<A NAME="2.2"><!-- Empty --></A>
<H3>2.2 OTP-MIB</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
<CODE>otp_mib:load/1</CODE>.
<A NAME="2.3"><!-- Empty --></A>
<H3>2.3 OTP-REG</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.
<A NAME="2.4"><!-- Empty --></A>
<H3>2.4 OTP-TC</H3>
<P>The OTP-TC mib provides the textual convention datatype
<CODE>OwnerString</CODE>.
<CENTER>
<HR>
<SMALL>
Copyright © 1991-2006
<A HREF="http://www.erlang.se">Ericsson AB</A><BR>
</SMALL>
</CENTER>
</BODY>
</HTML>
|