towerops/priv/mibs/comware/HH3C-LB-MIB
Graham McIntire b4f8b40b7f
Include MIB files in Docker image instead of using PVC
- Remove PVC volume mount from k8s/deployment.yaml
- Delete k8s/mib-pvc.yaml (no longer needed)
- Update .gitignore to commit MIB files to git
- Add mix import_mibs task to copy MIBs from LibreNMS
- Add all MIB files from priv/mibs/ to git

This fixes the multi-attach volume error in Kubernetes where new pods
couldn't start because the RWO (ReadWriteOnce) PVC was attached to the
old pod. MIBs are now part of the Docker image and can be used by all
pods simultaneously.
2026-01-19 14:01:03 -06:00

165 lines
5 KiB
Text

-- =================================================================
-- 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