librenms/mibs/linksys/LINKSYS-BANNER-MIB
PipoCanaja 36e709ebab Improved Linksys support, including POE (#10075)
Fixes #9718 

This PR adds POE graphs, even if not all the values that are polled on other OSes are available on this one.  

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 10075`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 20:32:57 +01:00

186 lines
6.4 KiB
Plaintext

LINKSYS-BANNER-MIB DEFINITIONS ::= BEGIN
-- -------------------------------------------------------------
-- Banner MIB
-- Title: Linksys Banner Private MIB
-- This Private MIB manages Banner display messages
-- Version: 7.46_01
-- Date: 16 Mach 2008
--
-- -------------------------------------------------------------
IMPORTS
rnd FROM LINKSYS-MIB
TEXTUAL-CONVENTION, RowStatus FROM SNMPv2-TC
SnmpAdminString FROM SNMP-FRAMEWORK-MIB
EnabledStatus FROM P-BRIDGE-MIB
OBJECT-TYPE FROM SNMPv2-SMI;
rlBanner MODULE-IDENTITY
LAST-UPDATED "200803160000Z"
ORGANIZATION "Linksys LLC."
CONTACT-INFO
"www.Linksys.com"
DESCRIPTION
"The private MIB module definition for Banner displays messages in Linksys switching devices.
Banner allows users to configure display messages which are displayed on various authentication events.
Banner Messages can hold dynamic data such as $(hostname) or $(domain) etc, and display instructions such as: bold, inverse, or blink.
Banner Messages can be displayed or hidden with respect to the connection type: via Telnet, SSH or the Console."
REVISION "200712160000Z"
DESCRIPTION
"Initial revision."
::= { rnd 133 }
--133 specifies the placement in rnd (private MIBS) MIB tree
-- -------------------------------------------------------------
-- Textual Conventions
-- -------------------------------------------------------------
BannerMessageType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "Banner message type."
SYNTAX INTEGER {
rlBannerMOTD(1),
rlBannerLogin(2),
rlBannerExec(3)
}
-- -------------------------------------------------------------
-- --------- Tables --------------------------------------
-- -------------------------------------------------------------
rlBannerMessageTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlBannerMessageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table listing the Banner content."
::= {rlBanner 1 }
rlBannerMessageEntry OBJECT-TYPE
SYNTAX RlBannerMessageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the rlBannerMessageTable."
INDEX { rlBannerMessageType,rlBannerMessageIndex}
::= {rlBannerMessageTable 1 }
RlBannerMessageEntry ::= SEQUENCE {
rlBannerMessageType BannerMessageType,
rlBannerMessageIndex INTEGER (1..13),
rlBannerMessageText SnmpAdminString
}
rlBannerMessageType OBJECT-TYPE
SYNTAX BannerMessageType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This variable identifies the Banner type. There are three types: MOTD, Login and Exec."
::= { rlBannerMessageEntry 1 }
rlBannerMessageIndex OBJECT-TYPE
SYNTAX INTEGER (1..13)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This variable identifies a Banner string section in the Banner content.
The Banner content is limited to 2000 characters. Content is divided into 13 indexed sections. Each section contains 160 octets, except the last used section which can contain less than 160 octets. Once a section of the Banner string contains 160 octets of data, the user can write to the next index. Overwriting is not supported. To delete all Banner content, use the rlBannerMessageClear MIB."
::= { rlBannerMessageEntry 2 }
rlBannerMessageText OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable identifies the MIB which holds a section of the Banner content in the table."
::= { rlBannerMessageEntry 3 }
rlBannerManageTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlBannerManageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table listing specifying for each connection type which Banner should, or should not be displayed."
::= {rlBanner 2 }
rlBannerManageEntry OBJECT-TYPE
SYNTAX RlBannerManageEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry in the rlBannerManageTable."
INDEX { rlBannerMessageType}
::= {rlBannerManageTable 1 }
RlBannerManageEntry ::= SEQUENCE {
rlBannerManageSSH EnabledStatus,
rlBannerManageTelnet EnabledStatus,
rlBannerManageConsole EnabledStatus
}
rlBannerManageSSH OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable specifies whether the banner type specified
in the key should or should not be displayed when a user accesses the device via SSH."
-- DEFVAL { disabled }
::= { rlBannerManageEntry 1 }
rlBannerManageTelnet OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable specifies whether the banner type specified
in the key should or should not be displayed when a user accesses the device via Telnet."
-- DEFVAL { disabled }
::= { rlBannerManageEntry 2 }
rlBannerManageConsole OBJECT-TYPE
SYNTAX EnabledStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable specifies whether the banner type specified
in the key should or should not be displayed when a user accesses the device via Console."
-- DEFVAL { disabled }
::= { rlBannerManageEntry 3 }
-- -------------------------------------------------------------
-- --------- Scalars --------------------------------------
-- -------------------------------------------------------------
rlBannerMessageClear OBJECT-TYPE
SYNTAX BannerMessageType
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This value, when set, clears the selected Banner type.
Clearing the Banner type means that
the related entry from rlBannerMessageTable is removed."
::= { rlBanner 3 }
END