- 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.
148 lines
4.5 KiB
Text
148 lines
4.5 KiB
Text
LINKSYS-TELNET-MIB DEFINITIONS ::= BEGIN
|
|
|
|
-- Title: LINKSYS ROS
|
|
-- Private TELNET MIB
|
|
-- Version: 7.47
|
|
-- Date: 24-Nov-2008
|
|
|
|
IMPORTS
|
|
rnd FROM LINKSYS-MIB
|
|
OBJECT-TYPE, MODULE-IDENTITY, IpAddress FROM SNMPv2-SMI
|
|
TruthValue,DisplayString FROM SNMPv2-TC
|
|
InetAddressType, InetAddress FROM INET-ADDRESS-MIB; -- RFC2851
|
|
|
|
rlTelnet MODULE-IDENTITY
|
|
LAST-UPDATED "200811240000Z"
|
|
ORGANIZATION "
|
|
Linksys LLC."
|
|
CONTACT-INFO
|
|
"www.linksys.com/business/support"
|
|
DESCRIPTION
|
|
"This private MIB module defines telnet private MIBs."
|
|
REVISION "200811240000Z"
|
|
DESCRIPTION
|
|
"Initial revision."
|
|
::= { rnd 58 }
|
|
|
|
rlTelnetMibVersion OBJECT-TYPE
|
|
SYNTAX INTEGER
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"MIB's version, the current version is 1."
|
|
::= { rlTelnet 1 }
|
|
|
|
rlTelnetPassword OBJECT-TYPE
|
|
SYNTAX DisplayString (SIZE(0..20))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Password"
|
|
::= { rlTelnet 2 }
|
|
|
|
rlTelnetTimeout OBJECT-TYPE
|
|
SYNTAX INTEGER (0..65535)
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The number of minutes after which the TCP connection is closed
|
|
if no activity is detected from the Client"
|
|
DEFVAL {0}
|
|
::= { rlTelnet 3 }
|
|
|
|
rlTelnetUsersTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF RlTelnetUsersEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This table hold information about current telnet sessions"
|
|
::= { rlTelnet 4 }
|
|
|
|
rlTelnetUsersEntry OBJECT-TYPE
|
|
SYNTAX RlTelnetUsersEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The row definition for this table."
|
|
INDEX { rlTelnetSessionId }
|
|
::= { rlTelnetUsersTable 1 }
|
|
|
|
RlTelnetUsersEntry ::= SEQUENCE {
|
|
rlTelnetSessionId INTEGER,
|
|
rlTelnetSessionClientAddressType InetAddressType,
|
|
rlTelnetSessionClientAddress InetAddress,
|
|
rlTelnetSessionLoginTime DisplayString,
|
|
rlTelnetSessionStatus INTEGER
|
|
}
|
|
|
|
rlTelnetSessionId OBJECT-TYPE
|
|
SYNTAX INTEGER
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Session ID"
|
|
::= { rlTelnetUsersEntry 1 }
|
|
|
|
rlTelnetSessionClientAddressType OBJECT-TYPE
|
|
SYNTAX InetAddressType
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Session Client Inet address type"
|
|
::= { rlTelnetUsersEntry 2 }
|
|
|
|
rlTelnetSessionClientAddress OBJECT-TYPE
|
|
SYNTAX InetAddress
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Session Client Inet address"
|
|
::= { rlTelnetUsersEntry 3 }
|
|
|
|
rlTelnetSessionLoginTime OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Session Login Time string"
|
|
::= { rlTelnetUsersEntry 4 }
|
|
|
|
rlTelnetSessionStatus OBJECT-TYPE
|
|
SYNTAX INTEGER {
|
|
connected(1),
|
|
disconnect(2)
|
|
}
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Session status. After status has been set to diconnect the
|
|
sessions is closed and the matching entry is deleted from the table."
|
|
::= { rlTelnetUsersEntry 5 }
|
|
|
|
rlTelnetLoginBanner OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Login Banner. When telnet connection is established,
|
|
the banner is the concatanation of this MIB and rlTelnetSecondLoginBanner."
|
|
::= { rlTelnet 5 }
|
|
|
|
rlTelnetSecondLoginBanner OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Telnet Login Banner Extension. When telnet connection is established,
|
|
the banner is the concatanation of rlTelnetLoginBanner and this MIB"
|
|
::= { rlTelnet 6 }
|
|
|
|
rlTelnetEnable OBJECT-TYPE
|
|
SYNTAX TruthValue
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION
|
|
"<ip telnet server> command added. Communication via this MIB."
|
|
::= { rlTelnet 7 }
|
|
|
|
END
|