summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-LB-MIB
blob: d4a0d558d2fb2dd7de1148f72a05b020d0b10ee6 (plain)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
-- =================================================================
-- Copyright (c) 2004-2012 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description:  Private MIB File For Loadbalance
-- Reference:
-- Version: V1.0
-- History:
-- V1.0  2010-12 Initial Version by l05567
--       2011-11 Add 'hh3cLBRealServerConnectNumber', 'hh3cLBTrap',
--               'hh3cLBRealServerOverLoad', 'hh3cLBTrapPrex' by l05567
-- =================================================================
HH3C-LB-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32
        FROM SNMPv2-SMI
    DisplayString
        FROM SNMPv2-TC
    hh3cCommon
        FROM HH3C-OID-MIB;

hh3cLB MODULE-IDENTITY
    LAST-UPDATED "201012010000Z"
    ORGANIZATION
        "New H3C Technologies Co., Ltd."
    CONTACT-INFO
        "Platform Team New H3C Tech. Co., Ltd.
        Hai-Dian District Beijing P.R. China
        http://www.h3c.com
        Zip:100085
        "
    DESCRIPTION
        "The private mib file includes the loadbalance information of
        the device."
    REVISION      "201012010000Z"
    DESCRIPTION
        "The initial revision of this MIB module."
    ::= { hh3cCommon 116 }

hh3cLBTables OBJECT IDENTIFIER ::= { hh3cLB 1 }

-- MIB contains 2 groups

-- =================================================================
--    Real Server Group Table
-- =================================================================

hh3cLBRealServerGroupTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cLBRealServerGroupEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Real server group table for loadbalance."
    ::= { hh3cLBTables 1 }

hh3cLBRealServerGroupEntry OBJECT-TYPE
    SYNTAX      Hh3cLBRealServerGroupEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry contains the information of the real server group."
    INDEX {
            hh3cLBRealServerGroupName
          }
    ::= { hh3cLBRealServerGroupTable 1 }

Hh3cLBRealServerGroupEntry  ::=
    SEQUENCE{
        hh3cLBRealServerGroupName                DisplayString
    }

hh3cLBRealServerGroupName OBJECT-TYPE
    SYNTAX      DisplayString(SIZE(1..31))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "Real server group name."
    ::= { hh3cLBRealServerGroupEntry 1 }


-- =================================================================
--    Real Server Table
-- =================================================================
hh3cLBRealServerTable OBJECT-TYPE
    SYNTAX SEQUENCE OF Hh3cLBRealServerEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Real server table for loadbalance."
    ::= { hh3cLBTables 2 }

hh3cLBRealServerEntry OBJECT-TYPE
    SYNTAX      Hh3cLBRealServerEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry contains the information of the real server."
    INDEX {
            hh3cLBRealServerGroupName,
            hh3cLBRealServerName
          }
    ::= { hh3cLBRealServerTable 1 }

Hh3cLBRealServerEntry  ::=
    SEQUENCE{
        hh3cLBRealServerName                DisplayString,
        hh3cLBRealServerStatus              INTEGER,
        hh3cLBRealServerConnectNumber       Integer32
    }

hh3cLBRealServerName OBJECT-TYPE
    SYNTAX      DisplayString(SIZE(1..31))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "Real server name."
    ::= { hh3cLBRealServerEntry 1 }

hh3cLBRealServerStatus OBJECT-TYPE
    SYNTAX      INTEGER {
                          enabled(1),
                          disabled(2),
                          slowdown(3)
                        }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "A list of real server status type.
         enabled:      the real server is enabled.
         disabled:     the real server is disabled, the loadbalance device
                       does not assign any traffic to the real server.
         slowdown:     the real server continues to process the existed session
                       previously assigned to it, but the loadbalance device
                       does not assign any new session to the real server."
     ::= { hh3cLBRealServerEntry 2 }

hh3cLBRealServerConnectNumber OBJECT-TYPE
    SYNTAX Integer32
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The connection number of real server."
    ::= { hh3cLBRealServerEntry 3 }

-- =================================================================
--    Traps of Loadbalance
-- =================================================================
hh3cLBTrap OBJECT IDENTIFIER ::= {hh3cLB 2}

hh3cLBTrapPrex OBJECT IDENTIFIER ::= {hh3cLBTrap 0}

hh3cLBRealServerOverLoad NOTIFICATION-TYPE
    OBJECTS
        {
            hh3cLBRealServerGroupName,
            hh3cLBRealServerName,
            hh3cLBRealServerConnectNumber
        }
    STATUS      current
    DESCRIPTION
        "This trap is sent when the real server is overloaded."
    ::= {hh3cLBTrapPrex 1}

END