- 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.
107 lines
3.1 KiB
Text
107 lines
3.1 KiB
Text
-- *****************************************************************
|
|
-- UBQS-CPU-STATS-MIB : Ubiquoss CPU queue Statistic information
|
|
--
|
|
-- Sep 2015, Choi Jang Hee
|
|
--
|
|
-- Copyright (c) 2015 by Ubiquoss, Corp.
|
|
--
|
|
-- All rights reserved.
|
|
-- ***************************************************************
|
|
|
|
UBQS-CPU-STATS-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
IpAddress
|
|
FROM RFC1155-SMI
|
|
OBJECT-TYPE
|
|
FROM RFC-1212
|
|
DisplayString, PhysAddress
|
|
FROM SNMPv2-TC
|
|
ubiMgmtv2
|
|
FROM UBQS-SMI;
|
|
|
|
ubiCpuStatsMIB MODULE-IDENTITY
|
|
LAST-UPDATED "201512230000Z"
|
|
ORGANIZATION "Ubiquoss Corp."
|
|
CONTACT-INFO
|
|
" Ubiquoss
|
|
Customer Service"
|
|
|
|
DESCRIPTION
|
|
"The UBQS-CPU-STATS-MIB is used to get
|
|
the CPU queue statistic information."
|
|
REVISION "201512230000Z"
|
|
DESCRIPTION
|
|
"Add system clock table"
|
|
|
|
::= { ubiMgmtv2 36 }
|
|
|
|
-- ***********************************************************
|
|
-- Textual Conventions
|
|
-- ***********************************************************
|
|
|
|
-- ***************************************************************
|
|
-- ubiCpuStatsMIB
|
|
-- ***************************************************************
|
|
ubiCpuStatsMIBNotificationPrefix OBJECT IDENTIFIER ::= { ubiCpuStatsMIB 1 }
|
|
ubiCpuStatsMIBObjects OBJECT IDENTIFIER ::= { ubiCpuStatsMIB 2 }
|
|
ubiCpuStatsMIBConformance OBJECT IDENTIFIER ::= { ubiCpuStatsMIB 3 }
|
|
|
|
-- ***************************************************************
|
|
-- ubiCpuStatsTable
|
|
-- ***************************************************************
|
|
|
|
|
|
ubiCpuStatsTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF UbiCpuStatsEntry
|
|
ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The table of CPU queue counter"
|
|
::= { ubiCpuStatsMIBObjects 1 }
|
|
|
|
ubiCpuStatsEntry OBJECT-TYPE
|
|
SYNTAX UbiCpuStatsEntry
|
|
ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"An entry in the CPU queue counter table, representing
|
|
1. CPU Rx packet couner
|
|
2. CPU drop packet counter"
|
|
INDEX {ubiCpuStatsIndex}
|
|
::= { ubiCpuStatsTable 1 }
|
|
|
|
UbiCpuStatsEntry ::= SEQUENCE {
|
|
ubiCpuStatsIndex INTEGER,
|
|
ubiCpuStatsInPkts Counter64,
|
|
ubiCpuStatsDropPkts Counter64
|
|
}
|
|
|
|
ubiCpuStatsIndex OBJECT-TYPE
|
|
SYNTAX INTEGER
|
|
ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Index of CPU queue counter table"
|
|
::= {ubiCpuStatsEntry 1}
|
|
|
|
ubiCpuStatsInPkts OBJECT-TYPE
|
|
SYNTAX Counter64
|
|
ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"received packet counter of CPU queue"
|
|
::= {ubiCpuStatsEntry 2}
|
|
|
|
ubiCpuStatsDropPkts OBJECT-TYPE
|
|
SYNTAX Counter64
|
|
ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"dropped packet counter of CPU queue"
|
|
::= {ubiCpuStatsEntry 3}
|
|
|
|
END
|
|
|
|
|
|
|