- 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.
89 lines
2.5 KiB
Text
89 lines
2.5 KiB
Text
--
|
|
-- Juniper Enterprise Specific MIB: Host Resources MIB
|
|
--
|
|
-- Copyright (c) 2004, Juniper Networks, Inc.
|
|
-- All rights reserved.
|
|
--
|
|
-- The contents of this document are subject to change without notice.
|
|
--
|
|
|
|
JUNIPER-HOSTRESOURCES-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
MODULE-IDENTITY, OBJECT-TYPE, Gauge32
|
|
FROM SNMPv2-SMI
|
|
hrStorageEntry
|
|
FROM HOST-RESOURCES-MIB
|
|
jnxMibs
|
|
FROM JUNIPER-SMI;
|
|
|
|
jnxHostResourcesMIB MODULE-IDENTITY
|
|
LAST-UPDATED "200408180000Z" -- Aug 18, 2004
|
|
ORGANIZATION "Juniper Networks, Inc."
|
|
CONTACT-INFO
|
|
" Juniper Technical Assistance Center
|
|
Juniper Networks, Inc.
|
|
1133 Innovation Way
|
|
Sunnyvale, CA 94089
|
|
E-mail: support@juniper.net"
|
|
|
|
DESCRIPTION
|
|
"Extends the HOST-RESOURCES-MIB (rfc2790)."
|
|
|
|
-- revision history
|
|
REVISION "200408180000Z"
|
|
DESCRIPTION
|
|
"Fixed typo in description clauses."
|
|
REVISION "200405050000Z"
|
|
DESCRIPTION
|
|
"Initial revision."
|
|
::= { jnxMibs 31 }
|
|
|
|
|
|
-- The Host Resources Storage Group
|
|
|
|
jnxHrStorage OBJECT IDENTIFIER ::= { jnxHostResourcesMIB 1 }
|
|
jnxHrSystem OBJECT IDENTIFIER ::= { jnxHostResourcesMIB 2 }
|
|
|
|
jnxHrStorageTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF JnxHrStorageEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Augments the hrStorageTable with additional data."
|
|
::= { jnxHrStorage 1 }
|
|
|
|
jnxHrStorageEntry OBJECT-TYPE
|
|
SYNTAX JnxHrStorageEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Each entry provides additional file system data beyond that
|
|
available in the hrStorageTable."
|
|
AUGMENTS { hrStorageEntry }
|
|
::= { jnxHrStorageTable 1 }
|
|
|
|
JnxHrStorageEntry ::=
|
|
SEQUENCE {
|
|
jnxHrStoragePercentUsed Gauge32
|
|
}
|
|
|
|
jnxHrStoragePercentUsed OBJECT-TYPE
|
|
SYNTAX Gauge32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The amount of the storage represented by this entry
|
|
that is allocated, as a percentage of the total amount
|
|
available."
|
|
::= { jnxHrStorageEntry 1 }
|
|
|
|
jnxHrSystemOpenFiles OBJECT-TYPE
|
|
SYNTAX Gauge32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The Number of open files in the system."
|
|
::= { jnxHrSystem 1 }
|
|
|
|
END
|