- 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.
112 lines
3.5 KiB
Text
112 lines
3.5 KiB
Text
GBNServiceTACACS-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
MODULE-IDENTITY, OBJECT-TYPE,
|
|
Integer32, IpAddress,
|
|
NOTIFICATION-TYPE FROM SNMPv2-SMI
|
|
|
|
DisplayString, MacAddress,
|
|
RowStatus, TruthValue FROM SNMPv2-TC
|
|
|
|
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
|
|
|
|
gbnServiceAAA FROM ADMIN-MASTER-MIB
|
|
;
|
|
|
|
|
|
gbnTacacsMib MODULE-IDENTITY
|
|
LAST-UPDATED "200905270000Z" -- May 27, 2009
|
|
ORGANIZATION "QTECH LLC"
|
|
CONTACT-INFO "Basil Budko
|
|
E-mail: budko@qtech.ru"
|
|
|
|
DESCRIPTION "admin tacacs Enterprise MIB definition."
|
|
|
|
REVISION "200905270000Z" -- May 27, 2009
|
|
DESCRIPTION "Initial MIB creation."
|
|
|
|
::= { gbnServiceAAA 3 }
|
|
|
|
|
|
------------------------------------------------------------------------------
|
|
-- Textual Conventions (i.e., these do not affect object encoding):
|
|
------------------------------------------------------------------------------
|
|
--
|
|
-- "DURABLE":
|
|
-- Objects that are saved across a system reset and/or power cycle
|
|
-- are noted as "DURABLE" for convenience in the DESCRIPTION
|
|
-- section of the object definition. Code must be explicitly
|
|
-- written to implement these DURABLE objects.
|
|
--
|
|
|
|
------------------------------------------------------------------------------
|
|
-- define groups in gbn-TACACS-MIB
|
|
PriServerIP OBJECT-TYPE
|
|
SYNTAX IpAddress
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"ip address of primary tacacs+ server."
|
|
::= { gbnTacacsMib 1 }
|
|
|
|
SecServerIP OBJECT-TYPE
|
|
SYNTAX IpAddress
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"ip address of secondary tacacs+ server."
|
|
::= { gbnTacacsMib 2 }
|
|
|
|
PriServerKey OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"key of primary tacacs+ server."
|
|
::= { gbnTacacsMib 3 }
|
|
|
|
SecServerKey OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"key of secondary tacacs+ server."
|
|
::= { gbnTacacsMib 4 }
|
|
|
|
PriServerPort OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"tcp port of primary tacacs+ server, range is from 1 to 65535, default is 49."
|
|
::= { gbnTacacsMib 5 }
|
|
|
|
SecServerPort OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"tcp port of secondary tacacs+ server, range is from 1 to 65535, default is 49."
|
|
::= { gbnTacacsMib 6 }
|
|
|
|
PriServerTimeout OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"timeout of connection to primary tacacs+ server, range is from 1 to 70, default is 5 seconds."
|
|
::= { gbnTacacsMib 7 }
|
|
|
|
SecServerTimeout OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"timeout of connection to secondary tacacs+ server, range is from 1 to 70, default is 5 seconds."
|
|
::= { gbnTacacsMib 8 }
|
|
--
|
|
-- END of gbn-TACACS-MIB
|
|
--
|
|
|
|
END
|
|
|