- 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.
113 lines
2.6 KiB
Text
113 lines
2.6 KiB
Text
--
|
|
-- ALARM-MIB.my
|
|
-- MIB generated by MG-SOFT Visual MIB Builder Version 4.0 Build 349
|
|
-- Friday, November 21, 2003 at 15:00:38
|
|
--
|
|
|
|
|
|
|
|
SPIDCOM-TRAPS DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
OBJECT-GROUP, NOTIFICATION-GROUP
|
|
FROM SNMPv2-CONF
|
|
Integer32, Unsigned32, Counter32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
|
|
FROM SNMPv2-SMI
|
|
specificSpidcomTrap
|
|
FROM SPIDCOM-NOTIFICATION-MIB
|
|
ItuAlarmProbableCause,ItuAlarmType, neAlarmActivePhoto
|
|
FROM SPIDCOM-ALARM-MIB
|
|
plcBasePortIndex
|
|
FROM SPC200
|
|
DisplayString, DateAndTime, TEXTUAL-CONVENTION
|
|
FROM SNMPv2-TC;
|
|
|
|
|
|
|
|
--
|
|
-- Node definitions
|
|
--
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1
|
|
trapsDefinition MODULE-IDENTITY
|
|
LAST-UPDATED "200207151330Z" -- July 15, 2002 at 13:30 GMT
|
|
ORGANIZATION
|
|
"SPiDCOM"
|
|
|
|
CONTACT-INFO
|
|
" TO BE SPECIFIED BY SPiDCOM
|
|
"
|
|
DESCRIPTION
|
|
"Definition of the MIB tree structure
|
|
to manage the Alarm Monitoring."
|
|
::= { specificSpidcomTrap 1 }
|
|
|
|
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1.1
|
|
deviceDown NOTIFICATION-TYPE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This trap is sent when a the connection with a distant node is down"
|
|
::= { trapsDefinition 1 }
|
|
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1.2
|
|
deviceUp NOTIFICATION-TYPE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This trap is sent when a the connection with a distant node is down"
|
|
::= { trapsDefinition 2 }
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1.3
|
|
maxAttenuation NOTIFICATION-TYPE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This trap is sent when some value is reached for attenuation"
|
|
::= { trapsDefinition 3 }
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1.4
|
|
maxNoise NOTIFICATION-TYPE
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This trap is sent when some value is reached for noise"
|
|
::= { trapsDefinition 4 }
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1.11
|
|
linkUpDownNotificationsGroup NOTIFICATION-GROUP
|
|
NOTIFICATIONS {
|
|
deviceUp,
|
|
deviceDown }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The notifications which indicates connection with a distant node is up/down"
|
|
::= { trapsDefinition 11 }
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1.12
|
|
maxAttenuationNotificationsGroup NOTIFICATION-GROUP
|
|
NOTIFICATIONS {
|
|
maxAttenuation }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The notification which indicates attenuation change"
|
|
::= { trapsDefinition 12 }
|
|
|
|
-- 1.3.6.1.4.1.22764.4.1.13
|
|
maxNoiseNotificationsGroup NOTIFICATION-GROUP
|
|
NOTIFICATIONS {
|
|
maxNoise }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The notification which indicates noise change"
|
|
::= { trapsDefinition 13 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
END
|
|
|
|
--
|
|
-- SPIDCOM-NOTIFICATION-MIB.my
|
|
--
|