aboutsummaryrefslogtreecommitdiffstats
path: root/lib/otp_mibs/doc/src/mibs.xml
blob: a32d5ea5f52acec1cd16481a304588f618832992 (plain) (blame)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>2003</year><year>2016</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
 
          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
    
    </legalnotice>

    <title>Mibs</title>
    <prepared>Ingela Anderton</prepared>
    <docno></docno>
    <date>2003-05-19</date>
    <rev>A</rev>
    <file>mibs.xml</file>
  </header>

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

  <section>
    <title>OTP-MIB</title>
    <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
      <c>otp_mib:load/1</c>.</p>
  </section>

  <section>
    <title>OTP-REG</title>
    <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>
  </section>

  <section>
    <title>OTP-TC</title>
    <p>The OTP-TC mib provides the textual convention datatype
      <c>OwnerString</c>.</p>
  </section>
</chapter>