~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/eva/mibs/OTP-EVA-LOG-MIB.mib

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
OTP-EVA-LOG-MIB DEFINITIONS ::= BEGIN
2
 
 
3
 
IMPORTS
4
 
    MODULE-IDENTITY, OBJECT-IDENTITY, OBJECT-TYPE,
5
 
    Integer32, Unsigned32
6
 
        FROM SNMPv2-SMI
7
 
    RowStatus
8
 
        FROM SNMPv2-TC
9
 
    MODULE-COMPLIANCE, OBJECT-GROUP
10
 
        FROM SNMPv2-CONF
11
 
    otpModules
12
 
        FROM OTP-REG
13
 
    otpEvaMIBObjects, otpEvaMIBCompliances, otpEvaMIBGroups
14
 
        FROM OTP-EVA-MIB
15
 
    logIndex
16
 
        FROM OTP-LOG-MIB
17
 
    ;
18
 
 
19
 
otpEvaLogModule MODULE-IDENTITY
20
 
    LAST-UPDATED "0305090900Z"
21
 
    ORGANIZATION "Ericsson"
22
 
    CONTACT-INFO
23
 
       "Contact:  Erlang Support see license agreement for Erlang/OTP."
24
 
    DESCRIPTION
25
 
       "This MIB is part of the OTP MIB.  It defines MIB objects
26
 
        for the event logging mechanism in eva.
27
 
 
28
 
        It uses the generic logTable from OTP-LOG-MIB to log
29
 
        events and alarms. When an EVA log should be created,
30
 
        the logType should be set to 'evaLogType'."
31
 
 
32
 
    REVISION    "0305090900Z"
33
 
    DESCRIPTION         
34
 
        "Changed CONTACT-INFO as it was outdated, made it more generic
35
 
        to avoid such changes in the future. Also corrected a minor bug."
36
 
    
37
 
    REVISION    "9712010900Z"
38
 
    DESCRIPTION
39
 
        "Converted to v2 SMI and placed in the OTP tree."
40
 
 
41
 
    REVISION    "9705020900Z"
42
 
    DESCRIPTION
43
 
        "The initial version of this MIB module.  It is very much
44
 
        inspired by the Axd301Sto-OMS mib."
45
 
   ::= { otpModules 8 }
46
 
 
47
 
evaLog         OBJECT IDENTIFIER ::= { otpEvaMIBObjects 4 }
48
 
 
49
 
--
50
 
 
51
 
evaLogType OBJECT-IDENTITY
52
 
    STATUS     current
53
 
    DESCRIPTION
54
 
        "This identity should be used as the logType for event and
55
 
        alarm logs created in the logTable."
56
 
    ::= { evaLog 1 }
57
 
 
58
 
evaLogTotalMaxSize OBJECT-TYPE
59
 
    SYNTAX      Unsigned32
60
 
    MAX-ACCESS  read-only
61
 
    STATUS      current
62
 
    DESCRIPTION
63
 
        "The total specified maximum size of all eva logs in bytes."
64
 
    ::= { evaLog 2 }
65
 
 
66
 
evaLogTotalMaxAllowedSize OBJECT-TYPE
67
 
    SYNTAX      Unsigned32
68
 
    MAX-ACCESS  read-only
69
 
    STATUS      current
70
 
    DESCRIPTION
71
 
        "The total size in bytes all eva logs are allowed to fill. If
72
 
        the evaLogTotalMaxSize should exceed this value for a
73
 
        newly created log, the creation of the log fails.  This
74
 
        object corresponds to the amount of diskspace available for
75
 
        the log function in the agent system."
76
 
    ::= { evaLog 3 }
77
 
 
78
 
evaLogDiscriminatorTable OBJECT-TYPE
79
 
    SYNTAX      SEQUENCE OF EvaLogDiscriminatorEntry
80
 
    MAX-ACCESS  not-accessible
81
 
    STATUS      current
82
 
    DESCRIPTION
83
 
        "This table describes which events are logged in a specific
84
 
        log instance of type 'evaLogType'. Each row represents one event
85
 
        type that is logged in the log. One log instance can be associated
86
 
        with several rows in this table."
87
 
    ::= { evaLog 4 }
88
 
 
89
 
evaLogDiscriminatorEntry OBJECT-TYPE
90
 
    SYNTAX      EvaLogDiscriminatorEntry
91
 
    MAX-ACCESS  not-accessible
92
 
    STATUS      current
93
 
    DESCRIPTION
94
 
        "Describes which events a log subscribes for."
95
 
    INDEX    { logIndex, evaLogDiscrEventIndex }
96
 
    ::= { evaLogDiscriminatorTable 1 }
97
 
 
98
 
EvaLogDiscriminatorEntry ::= SEQUENCE {
99
 
    evaLogDiscrEventIndex   Integer32 (1..2147483647),
100
 
    evaLogDiscrRowStatus    RowStatus
101
 
    }
102
 
 
103
 
evaLogDiscrEventIndex OBJECT-TYPE
104
 
    SYNTAX      Integer32 (1..2147483647) -- eventTableIndex
105
 
    MAX-ACCESS  not-accessible
106
 
    STATUS      current
107
 
    DESCRIPTION
108
 
        "Specifies the event type that the log shall subscribe for.
109
 
        An Index which, together with logIndex, uniquely identifies
110
 
        an entry in the eva log discriminator table. An event with
111
 
        eventIndex equal to evaLogDiscrEventIndex is logged in the log
112
 
        logIndex."
113
 
    ::= { evaLogDiscriminatorEntry 1 }
114
 
 
115
 
evaLogDiscrRowStatus OBJECT-TYPE
116
 
    SYNTAX      RowStatus
117
 
    MAX-ACCESS  read-create
118
 
    STATUS      current
119
 
    DESCRIPTION
120
 
        "Used to make it possible to add rows to the table from a
121
 
        management application. Supported values are createAndGo and 
122
 
        destroy."
123
 
    ::= { evaLogDiscriminatorEntry 2 }
124
 
 
125
 
 
126
 
 
127
 
otpEvaLogCompliance MODULE-COMPLIANCE
128
 
    STATUS  current
129
 
    DESCRIPTION
130
 
        "The compliance statement for OTP stystems that
131
 
        implement the OTP-EVA-LOG-MIB."
132
 
    MODULE  -- this module
133
 
        MANDATORY-GROUPS { evaLogGroup }
134
 
    ::= { otpEvaMIBCompliances 2 }
135
 
 
136
 
 
137
 
 
138
 
evaLogGroup OBJECT-GROUP
139
 
    OBJECTS { evaLogTotalMaxSize,
140
 
              evaLogTotalMaxAllowedSize,
141
 
              evaLogDiscrRowStatus }
142
 
    STATUS  current
143
 
    DESCRIPTION
144
 
        "A collection of objects providing control of event and
145
 
        alarm logs in the OTP system."
146
 
    ::= { otpEvaMIBGroups 5 }
147
 
 
148
 
 
149
 
END