GARRETTCOM-EVT-SYSLG-MIB DEFINITIONS ::= BEGIN -- gcevtsyslg.txt -- -- This module provides authoritative definitions for GarrettCom -- Incorporated's DX product line event component details. This -- document is subject to change without notice. Support levels for the -- accuracy of this document are the responsibility of the management -- user and care should be taken to consult GarrettCom Inc to establish -- the accuracy of this support with each release of software declaring -- support of these objects. -- Under no circumstances shall GarrettCom Inc be held liable for any -- damages whether special, incidental, direct, indirect, or -- consequential (including but not limited to lost profits) resulting -- from or related to this document, its interpretation, descriptions -- or references contained in it, even if GarrettCom Inc knew or should -- have known of the possibility of such damages. -- -- GarrettCom Inc grants vendors, OEMs, end-users, and other interested -- parties a non-exclusive license to use this document in connection -- with managing GarrettCom products. This license does not convey -- any warranty of performance or commitment to future support as may -- be decided by GarrettCom Inc or the management executives. -- -- Copyright 2016 GarrettCom Inc IMPORTS MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, Unsigned32, TimeTicks, Integer32, IpAddress FROM SNMPv2-SMI enterprises FROM RFC1155-SMI TEXTUAL-CONVENTION, TruthValue, DisplayString, RowStatus FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF gcEventMIB FROM GC-MIB-NAMES; gcEvtSyslg MODULE-IDENTITY LAST-UPDATED "201508030529Z" -- Thu Nov 24 16:00 GMT 2016 ORGANIZATION "GarrettCom, Inc." CONTACT-INFO "Postal: GarrettCom Incorporated 255 Fourier Avenue Fremont, CA 94539 USA Phone: 213-799-0906 E-mail: support@garrettcom.com WWW: http://www.belden.com/garrettcom" DESCRIPTION "This MIB module defines a portion of the SNMP enterprise MIBs under the GarrettCom enterprise OID pertaining to the events and syslogs on the managed entity." REVISION "201508030529Z" -- Thu Nov 24 16:00 GMT 2016 DESCRIPTION "The initial version of this MIB module." ::= { gcEventMIB 1 } SnmpAdminString ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention is used to enumerate the possible configurable duration for a single log file to be written." SYNTAX OCTET STRING (SIZE(0..255)) -- ------------------------------------------------------------- -- MIB Objects -- ------------------------------------------------------------- gcEvent OBJECT-IDENTITY STATUS current DESCRIPTION "Defines Events and Log related information" ::= { gcEvtSyslg 1 } gcSyslog OBJECT-IDENTITY STATUS current DESCRIPTION "Defines SysLog related information" ::= { gcEvtSyslg 2 } gcAlarm OBJECT-IDENTITY STATUS current DESCRIPTION "Defines Alarm related information" ::= { gcEvtSyslg 3 } -- ------------------------------------------------------------- -- Event Log Table -- ------------------------------------------------------------- gcEventLogTable OBJECT-TYPE SYNTAX SEQUENCE OF GcEventLogEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing all the Event Log Configuration attributes" ::= { gcEvent 1 } gcEventLogEntry OBJECT-TYPE SYNTAX GcEventLogEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Conceptually defines an entry in gcEventLogTable." INDEX { gcEventLogEventCtg, gcEventLogEventId } ::= { gcEventLogTable 1 } GcEventLogEntry::= SEQUENCE { gcEventLogEventCtg Unsigned32, gcEventLogEventId Unsigned32, gcEventLogSeverity INTEGER, gcEventLogDescription DisplayString, gcEventLogRemoteLoggingMode INTEGER, gcEventLogLocalLoggingTarget SnmpAdminString, gcEventLogTargetConsole INTEGER, gcEventLogTargetBuffer INTEGER, gcEventLogTargetFile INTEGER, gcEventLogTrap INTEGER, gcEventLogClear TruthValue, gcEventLogRowStatus RowStatus } gcEventLogEventCtg OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "Category of the Event." ::= { gcEventLogEntry 1 } gcEventLogEventId OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "ID of Event." ::= { gcEventLogEntry 2 } gcEventLogSeverity OBJECT-TYPE SYNTAX INTEGER { emergency (0), -- For logging messages that -- are equivalent to panic -- condition. alert (1), -- For logging messages that -- require immediate attention. critical (2), -- For logging critical errors. error (3), -- For logging error messages. warning (4), -- For logging warning messages. notice (5), -- For logging messages that -- require attention -- and not errors. info (6), -- For logging informational -- messages. debug (7) -- For logging debug messages. } MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the log level option to be set for a specific Event" ::= { gcEventLogEntry 3 } gcEventLogDescription OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Displays the description of Event Log" ::= { gcEventLogEntry 4 } gcEventLogRemoteLoggingMode OBJECT-TYPE SYNTAX INTEGER { no (0), -- Disabled yes (1) -- Enabled } MAX-ACCESS read-write STATUS current DESCRIPTION "Generated Events will be sent to all configured Syslog Collectors, if RemoteLoggingMode is enabled" ::= { gcEventLogEntry 5 } gcEventLogLocalLoggingTarget OBJECT-TYPE SYNTAX SnmpAdminString MAX-ACCESS read-write STATUS current DESCRIPTION "Target File Name where event log will be stored" ::= { gcEventLogEntry 6 } gcEventLogTargetConsole OBJECT-TYPE SYNTAX INTEGER { no (0), yes (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines whether the event notification needs to be sent on Console or not" ::= { gcEventLogEntry 7 } gcEventLogTargetBuffer OBJECT-TYPE SYNTAX INTEGER { no (0), yes (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines whether the event notification needs to be sent on Buffer in FLASH or not" ::= { gcEventLogEntry 8 } gcEventLogTargetFile OBJECT-TYPE SYNTAX INTEGER { no (0), yes (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines whether the event notification needs to be sent on File in RAM or not" ::= { gcEventLogEntry 9 } gcEventLogTrap OBJECT-TYPE SYNTAX INTEGER { no (0), yes (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines whether the event trap needs to be sent or not." ::= { gcEventLogEntry 10 } gcEventLogClear OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "Clear Event Log Counters" ::= { gcEventLogEntry 11 } gcEventLogRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-write STATUS current DESCRIPTION "Row Status of Log Table. Creation/Deletion can't be performed. Only Modifications can be done" ::= { gcEventLogEntry 12 } --End of Event Log Table -- ------------------------------------------------------------- -- Event Log File -- ------------------------------------------------------------- gcEventLogFileTable OBJECT-TYPE SYNTAX SEQUENCE OF GcEventLogFileEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing all the Event Log File attributes" ::= { gcEvent 2 } gcEventLogFileEntry OBJECT-TYPE SYNTAX GcEventLogFileEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Conceptually defines an entry in gcEventLogFileTable." INDEX { gcEventLogFileLogFileName } ::= { gcEventLogFileTable 1 } GcEventLogFileEntry::= SEQUENCE { gcEventLogFileLogFileName SnmpAdminString, gcEventLogFileMode INTEGER, gcEventLogFileCreateNewFile INTEGER, gcEventLogFileMaxFile Integer32, gcEventLogFileMaxFileSize Integer32, gcEventLogFileOverwriteOldFile INTEGER, gcEventLogFileRateLimit Integer32, gcEventLogFileSeverity INTEGER, gcEventLogFileBufferSize Integer32, gcEventLogFileBufferCircular INTEGER, gcEventLogFileBufferClear TruthValue, gcEventLogFileRowStatus RowStatus } gcEventLogFileLogFileName OBJECT-TYPE SYNTAX SnmpAdminString MAX-ACCESS not-accessible STATUS current DESCRIPTION "The name of the LogFile." ::= { gcEventLogFileEntry 1 } gcEventLogFileMode OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines whether Event Logs those are redirected to specifc log file will be stored or not. Logs will be stored if Mode is enabled" ::= { gcEventLogFileEntry 2 } gcEventLogFileCreateNewFile OBJECT-TYPE SYNTAX INTEGER { daily (0), weekly (1), monthly (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines the new file creation on daily/weekly/monthly basis" DEFVAL { daily } ::= { gcEventLogFileEntry 3 } gcEventLogFileMaxFile OBJECT-TYPE SYNTAX Integer32 (1..100) MAX-ACCESS read-write STATUS current DESCRIPTION "The maximum number of files to maintain for the log" ::= { gcEventLogFileEntry 4 } gcEventLogFileMaxFileSize OBJECT-TYPE SYNTAX Integer32 (1..4096) MAX-ACCESS read-write STATUS current DESCRIPTION "The maximum size, in KB, of any particular log file. A new log file is created once this limit is reached." DEFVAL { 32 } ::= { gcEventLogFileEntry 5 } gcEventLogFileOverwriteOldFile OBJECT-TYPE SYNTAX INTEGER { no (0), yes (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Indicates whether old log files should be overwritten or not once the maximum number of log files is reached." ::= { gcEventLogFileEntry 6 } gcEventLogFileRateLimit OBJECT-TYPE SYNTAX Integer32 (1..250) MAX-ACCESS read-write STATUS current DESCRIPTION "Number of events to log per second, over the limit are dropped." DEFVAL { 100 } ::= { gcEventLogFileEntry 7 } gcEventLogFileSeverity OBJECT-TYPE SYNTAX INTEGER { emergency (0), -- For logging messages that -- are equivalent to panic -- condition. alert (1), -- For logging messages that -- require immediate attention. critical (2), -- For logging critical errors. error (3), -- For logging error messages. warning (4), -- For logging warning messages. notice (5), -- For logging messages that -- require attention -- and not errors. info (6), -- For logging informational -- messages. debug (7) -- For logging debug messages. } MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the log level option to be set for specific EventLogFile" ::= { gcEventLogFileEntry 8 } gcEventLogFileBufferSize OBJECT-TYPE SYNTAX Integer32 (1..1024) MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines the size of the buffer for Event Log" ::= { gcEventLogFileEntry 9 } gcEventLogFileBufferCircular OBJECT-TYPE SYNTAX INTEGER { no (0), yes (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This parameter determines whether logfile needs to be circular or not" ::= { gcEventLogFileEntry 10 } gcEventLogFileBufferClear OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "Clear Event Log Buffer" ::= { gcEventLogFileEntry 11 } gcEventLogFileRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Row Status of Log File Table. None of the row status values other than CreateAndGo and Destory will work for SET operations" ::= { gcEventLogFileEntry 12 } --End of Event Log File Table -- ------------------------------------------------------------- -- Event Log File Display -- ------------------------------------------------------------- gcEventLogFileDisplayTable OBJECT-TYPE SYNTAX SEQUENCE OF GcEventLogFileDisplayEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing all the Event Log File Display" ::= { gcEvent 3 } gcEventLogFileDisplayEntry OBJECT-TYPE SYNTAX GcEventLogFileDisplayEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Conceptually defines a particular entry in gcEventLogFileDisplayTable" INDEX { gcEventLogFileDisplayLogFileName } ::= { gcEventLogFileDisplayTable 1 } GcEventLogFileDisplayEntry::= SEQUENCE { gcEventLogFileDisplayLogFileName SnmpAdminString, gcEventLogFileDisplayCompressedSize Unsigned32, gcEventLogFileDisplayStatus INTEGER, gcEventLogFileDisplayRowStatus RowStatus } gcEventLogFileDisplayLogFileName OBJECT-TYPE SYNTAX SnmpAdminString MAX-ACCESS not-accessible STATUS current DESCRIPTION "The name of the LogFile." ::= { gcEventLogFileDisplayEntry 1 } gcEventLogFileDisplayCompressedSize OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "Displays Compressed Size of the Log File" ::= { gcEventLogFileDisplayEntry 2 } gcEventLogFileDisplayStatus OBJECT-TYPE SYNTAX INTEGER { closed (0), -- not in use active (1) -- currently in use } MAX-ACCESS read-only STATUS current DESCRIPTION "Displays the status of Log File" ::= { gcEventLogFileDisplayEntry 3 } gcEventLogFileDisplayRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Row status of Event Log File Display Table. Only deletion of log file is allowed" ::= { gcEventLogFileDisplayEntry 4 } --End of Event Log File Table -- ------------------------------------------------------------- -- Syslog Table -- ------------------------------------------------------------- gcSyslogTable OBJECT-TYPE SYNTAX SEQUENCE OF GcSyslogEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing all the Syslog Configuration" ::= { gcSyslog 1 } gcSyslogEntry OBJECT-TYPE SYNTAX GcSyslogEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Conceptually defines a particular entry in gcSyslogTable." INDEX { gcSyslogCollectorAddress } ::= { gcSyslogTable 1 } GcSyslogEntry::= SEQUENCE { gcSyslogCollectorAddress SnmpAdminString, gcSyslogCollectorPriority Integer32, gcSyslogCollectorPort Integer32, gcSyslogCollectorTransport INTEGER, gcSyslogCollectorAddressType INTEGER, gcSyslogCollectorFacility INTEGER, gcSyslogRowStatus RowStatus } gcSyslogCollectorAddress OBJECT-TYPE SYNTAX SnmpAdminString MAX-ACCESS not-accessible STATUS current DESCRIPTION "Represents Collector Address. It can be the name or IP Address." ::= { gcSyslogEntry 1 } gcSyslogCollectorPriority OBJECT-TYPE SYNTAX Integer32 (128..191) MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies priority value of messages delivered to the Syslog collector." ::= { gcSyslogEntry 2 } gcSyslogCollectorPort OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the port to receive the messages." ::= { gcSyslogEntry 3 } gcSyslogCollectorTransport OBJECT-TYPE SYNTAX INTEGER { udp (0), tcp (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies Transport type using which Syslog message will be sent" ::= { gcSyslogEntry 4 } gcSyslogCollectorAddressType OBJECT-TYPE SYNTAX INTEGER { ipv4(0), ipv6(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the type of Address" ::= { gcSyslogEntry 5 } gcSyslogCollectorFacility OBJECT-TYPE SYNTAX INTEGER { local0(128), -- Reserved local use local1(136), -- Reserved local use local2(144), -- Reserved local use local3(152), -- Reserved local use local4(160), -- Reserved local use local5(168), -- Reserved local use local6(176), -- Reserved local use local7(184) -- Reserved local use } MAX-ACCESS read-only STATUS current DESCRIPTION "The Syslog standard facilities. The facility value is based on priority value that has been set." ::= { gcSyslogEntry 6 } gcSyslogRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Row status of Syslog Table. None of the row status values other than CreateAndGo and Destory will work for SET operations" ::= { gcSyslogEntry 7 } --End of Syslog Table -- ------------------------------------------------------------- -- Syslog Scalars -- ------------------------------------------------------------- gcSyslogMode OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether the Syslog Configuration is enabled or disabled. Event Logs will be stored on Syslog, if Mode is enabled" ::= { gcSyslog 2 } gcSyslogLocalIP OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "IP Address for Syslog Configuration." ::= { gcSyslog 3 } gcSyslogFacility OBJECT-TYPE SYNTAX INTEGER { local0(128), -- Reserved local use local1(136), -- Reserved local use local2(144), -- Reserved local use local3(152), -- Reserved local use local4(160), -- Reserved local use local5(168), -- Reserved local use local6(176), -- Reserved local use local7(184) -- Reserved local use } MAX-ACCESS read-write STATUS current DESCRIPTION "The Syslog standard facilities. The facility to be used while sending Syslog messages to the server." ::= { gcSyslog 4 } -- ------------------------------------------------------------- -- Alarm Scalars -- ------------------------------------------------------------- gcAlarmPortMode OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether alarms are required or not" ::= { gcAlarm 1 } gcAlarmRelayClosureTime OBJECT-TYPE SYNTAX Integer32 (1..10) MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the number of seconds the relay is kept in the abnormal state for momentary alarm actions." DEFVAL { 3 } ::= { gcAlarm 2 } gcAlarmActionCold OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether alarm for Cold Start of system is required or not" ::= { gcAlarm 3 } gcAlarmActionWarm OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether alarm for Warm Start of system is required or not" ::= { gcAlarm 4 } gcAlarmActionLinkUp OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether Linkup alarm is required or not" ::= { gcAlarm 5 } gcAlarmActionLinkDown OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether Linkdown alarm is required or not" ::= { gcAlarm 6 } gcAlarmActionAuthFail OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether authentication failure alarm is required or not" ::= { gcAlarm 7 } gcAlarmActionRSTP OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Determines whether RSTP alarm is required or not" ::= { gcAlarm 8 } END