- 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.
79 lines
2.8 KiB
Text
79 lines
2.8 KiB
Text
-- file: RFC-1212.my
|
|
-- changes:
|
|
-- Removed IMPORTS.
|
|
-- Commented out OBJECT-TYPE macro definition and replaced
|
|
-- with SMIC directive to enable it.
|
|
-- dperkins@scruznet.com
|
|
|
|
|
|
|
|
RFC-1212 DEFINITIONS ::= BEGIN
|
|
|
|
-- Make builtin items known
|
|
-- SMI OBJECT-TYPE
|
|
|
|
|
|
-- OBJECT-TYPE MACRO ::=
|
|
-- BEGIN
|
|
-- TYPE NOTATION ::=
|
|
-- must conform to
|
|
-- RFC1155's ObjectSyntax
|
|
-- "SYNTAX" type(ObjectSyntax)
|
|
-- "ACCESS" Access
|
|
-- "STATUS" Status
|
|
-- DescrPart
|
|
-- ReferPart
|
|
-- IndexPart
|
|
-- DefValPart
|
|
-- VALUE NOTATION ::= value (VALUE ObjectName)
|
|
--
|
|
-- Access ::= "read-only"
|
|
-- | "read-write"
|
|
-- | "write-only"
|
|
-- | "not-accessible"
|
|
-- Status ::= "mandatory"
|
|
-- | "optional"
|
|
-- | "obsolete"
|
|
-- | "deprecated"
|
|
--
|
|
-- DescrPart ::=
|
|
-- "DESCRIPTION" value (description DisplayString)
|
|
-- | empty
|
|
--
|
|
-- ReferPart ::=
|
|
-- "REFERENCE" value (reference DisplayString)
|
|
-- | empty
|
|
--
|
|
-- IndexPart ::=
|
|
-- "INDEX" "{" IndexTypes "}"
|
|
-- | empty
|
|
-- IndexTypes ::=
|
|
-- IndexType | IndexTypes "," IndexType
|
|
-- IndexType ::=
|
|
-- if indexobject, use the SYNTAX
|
|
-- value of the correspondent
|
|
-- OBJECT-TYPE invocation
|
|
-- value (indexobject ObjectName)
|
|
-- otherwise use named SMI type
|
|
-- must conform to IndexSyntax below
|
|
-- | type (indextype)
|
|
--
|
|
-- DefValPart ::=
|
|
-- "DEFVAL" "{" value (defvalue ObjectSyntax) "}"
|
|
-- | empty
|
|
-- END
|
|
--
|
|
-- IndexSyntax ::=
|
|
-- CHOICE {
|
|
-- number
|
|
-- INTEGER (0..MAX),
|
|
-- string
|
|
-- OCTET STRING,
|
|
-- object
|
|
-- OBJECT IDENTIFIER,
|
|
-- address
|
|
-- NetworkAddress,
|
|
-- ipAddress
|
|
-- IpAddress
|
|
-- }
|
|
END
|