/
A3COM-HUAWEI-LB-MIB
executable file
·164 lines (144 loc) · 4.98 KB
/
A3COM-HUAWEI-LB-MIB
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
-- =================================================================
-- Copyright (c) 2004-2012 Hangzhou 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 'h3cLBRealServerConnectNumber', 'h3cLBTrap',
-- 'h3cLBRealServerOverLoad', 'h3cLBTrapPrex' by l05567
-- =================================================================
A3COM-HUAWEI-LB-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
h3cCommon
FROM A3COM-HUAWEI-OID-MIB;
h3cLB MODULE-IDENTITY
LAST-UPDATED "201012010000Z"
ORGANIZATION
"Hangzhou H3C Technologies Co., Ltd."
CONTACT-INFO
"Platform Team Hangzhou 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."
::= { h3cCommon 116 }
h3cLBTables OBJECT IDENTIFIER ::= { h3cLB 1 }
-- MIB contains 2 groups
-- =================================================================
-- Real Server Group Table
-- =================================================================
h3cLBRealServerGroupTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cLBRealServerGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Real server group table for loadbalance."
::= { h3cLBTables 1 }
h3cLBRealServerGroupEntry OBJECT-TYPE
SYNTAX H3cLBRealServerGroupEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information of the real server group."
INDEX {
h3cLBRealServerGroupName
}
::= { h3cLBRealServerGroupTable 1 }
H3cLBRealServerGroupEntry ::=
SEQUENCE{
h3cLBRealServerGroupName DisplayString
}
h3cLBRealServerGroupName OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..31))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Real server group name."
::= { h3cLBRealServerGroupEntry 1 }
-- =================================================================
-- Real Server Table
-- =================================================================
h3cLBRealServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cLBRealServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Real server table for loadbalance."
::= { h3cLBTables 2 }
h3cLBRealServerEntry OBJECT-TYPE
SYNTAX H3cLBRealServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry contains the information of the real server."
INDEX {
h3cLBRealServerGroupName,
h3cLBRealServerName
}
::= { h3cLBRealServerTable 1 }
H3cLBRealServerEntry ::=
SEQUENCE{
h3cLBRealServerName DisplayString,
h3cLBRealServerStatus INTEGER,
h3cLBRealServerConnectNumber Integer32
}
h3cLBRealServerName OBJECT-TYPE
SYNTAX DisplayString(SIZE(1..31))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Real server name."
::= { h3cLBRealServerEntry 1 }
h3cLBRealServerStatus 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."
::= { h3cLBRealServerEntry 2 }
h3cLBRealServerConnectNumber OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The connection number of real server."
::= { h3cLBRealServerEntry 3 }
-- =================================================================
-- Traps of Loadbalance
-- =================================================================
h3cLBTrap OBJECT IDENTIFIER ::= {h3cLB 2}
h3cLBTrapPrex OBJECT IDENTIFIER ::= {h3cLBTrap 0}
h3cLBRealServerOverLoad NOTIFICATION-TYPE
OBJECTS
{
h3cLBRealServerGroupName,
h3cLBRealServerName,
h3cLBRealServerConnectNumber
}
STATUS current
DESCRIPTION
"This trap is sent when the real server is overloaded."
::= {h3cLBTrapPrex 1}
END