- 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.
130 lines
2.5 KiB
Text
Executable file
130 lines
2.5 KiB
Text
Executable file
--
|
|
-- WIS-MIB.my
|
|
-- MIB generated by MG-SOFT Visual MIB Builder Version 5.0 Build 250
|
|
-- Monday, December 16, 2024 at 20:00:09
|
|
--
|
|
|
|
WIS-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
OBJECT-GROUP, MODULE-COMPLIANCE
|
|
FROM SNMPv2-CONF
|
|
enterprises, Integer32, OBJECT-TYPE, MODULE-IDENTITY
|
|
FROM SNMPv2-SMI
|
|
DisplayString
|
|
FROM SNMPv2-TC;
|
|
|
|
|
|
wisMIB MODULE-IDENTITY
|
|
LAST-UPDATED "202412160000Z" -- December 16, 2024 at 20:00:09
|
|
ORGANIZATION
|
|
"WIS, Inc."
|
|
CONTACT-INFO
|
|
"support@ui.com"
|
|
DESCRIPTION
|
|
"The MIB module for WIS, Inc. entities"
|
|
REVISION "202412160000Z" -- December 16, 2024 at 20:00:09
|
|
DESCRIPTION
|
|
"Split revision"
|
|
::= { wis 1 }
|
|
|
|
|
|
|
|
|
|
--
|
|
-- Node definitions
|
|
--
|
|
|
|
wis OBJECT IDENTIFIER ::= { enterprises 62821 }
|
|
|
|
|
|
wisORTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF WisOREntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Capabilities"
|
|
::= { wisMIB 1 }
|
|
|
|
|
|
wisOREntry OBJECT-TYPE
|
|
SYNTAX WisOREntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"An entry in the wisORTable"
|
|
INDEX { wisORIndex }
|
|
::= { wisORTable 1 }
|
|
|
|
|
|
WisOREntry ::=
|
|
SEQUENCE {
|
|
wisORIndex
|
|
Integer32,
|
|
wisORID
|
|
OBJECT IDENTIFIER,
|
|
wisORDescr
|
|
DisplayString
|
|
}
|
|
|
|
wisORIndex OBJECT-TYPE
|
|
SYNTAX Integer32 (1..255)
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Index for the wisORTable"
|
|
::= { wisOREntry 1 }
|
|
|
|
|
|
wisORID OBJECT-TYPE
|
|
SYNTAX OBJECT IDENTIFIER
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"OR ID"
|
|
::= { wisOREntry 2 }
|
|
|
|
|
|
wisORDescr OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Description of idenfifier"
|
|
::= { wisOREntry 3 }
|
|
|
|
|
|
wisSnmpInfo OBJECT IDENTIFIER ::= { wisMIB 2 }
|
|
|
|
|
|
wisSnmpGroups OBJECT IDENTIFIER ::= { wisSnmpInfo 1 }
|
|
|
|
|
|
wisORInfoGroup OBJECT-GROUP
|
|
OBJECTS { wisORID, wisORDescr }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Collection of related objects"
|
|
::= { wisSnmpGroups 1 }
|
|
|
|
|
|
wisORCompliance MODULE-COMPLIANCE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The compliance statement for WIS entities."
|
|
MODULE -- this module
|
|
GROUP wisORInfoGroup
|
|
DESCRIPTION
|
|
"This group is for WIS systems."
|
|
::= { wisSnmpGroups 2 }
|
|
|
|
|
|
wisBridgeGroups OBJECT IDENTIFIER ::= { wisSnmpInfo 2 }
|
|
|
|
|
|
|
|
END
|
|
|
|
--
|
|
-- WIS-MIB.my
|
|
--
|