-- =====================================================================
-- == DIGI-KEYWORDNOTIFY-MIB :                                        ==
-- == DIGI Keyword Notification Feature Management Information Base   ==
-- ==                                                                 ==
-- ==   Digi International Part Number: 40002338_C                    ==
-- ==                                                                 ==
-- == (c) Copyright 2002 Digi International, Inc.                     ==
-- =====================================================================

DIGI-KEYWORDNOTIFY-MIB DEFINITIONS ::= BEGIN

IMPORTS
    digiKeywordNotify
        FROM DIGI-SMI
    OBJECT-TYPE 
        FROM RFC-1212
	TRAP-TYPE
		FROM RFC-1215;


--   digiKeywordNotify MODULE-IDENTITY
--       LAST-UPDATED "0201090100Z"
--       ORGANIZATION "Digi International Inc."
--       CONTACT-INFO
--               "        Michael Nicholson
--                Postal: Digi International Inc.
--		          11001 Bren Road East
--                        Minnetonka, MN 55343
--
--       DESCRIPTION
--               "DIGI Keyword Notification Feature MIB"
--       ::= { digiFeatures 12 }

-- === + Textual Conventions + ===========================================

DisplayString ::= OCTET STRING

-- =======================================================================
-- =======================================================================
-- === + Keyword Notification + ==========================================
-- =======================================================================
-- =======================================================================

notifyTable OBJECT-TYPE
    SYNTAX SEQUENCE OF NotifyEntry
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION
        "Table for keyword notifications"
::= { digiKeywordNotify 12 }

notifyEntry OBJECT-TYPE
    SYNTAX NotifyEntry
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION
        "A notification entry"
    INDEX { notifyIndex }
::= { notifyTable 1 }


NotifyEntry ::= SEQUENCE {
notifyIndex INTEGER,
notifyTitle DisplayString,
notifyPort INTEGER,
notifyMessage DisplayString,
notifyPortTitle DisplayString, 
notifyPortAccessPort INTEGER,
notifyPortProtocol DisplayString
}

notifyIndex OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Index of notification"
::= { notifyEntry 11 }

notifyTitle OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Title for this notification"
::= { notifyEntry 12 }

notifyPort OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Port number on which the keyword was trigger"
::= { notifyEntry 13 }

notifyMessage OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Customized message for this event"
::= { notifyEntry 14 }                    

notifyPortTitle OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "The title of port on which the keyword was trigger"
::= { notifyEntry 15 }                    

notifyPortAccessPort OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "TCP port number that could access the port on which the keyword was trigger"
::= { notifyEntry 16 }

notifyPortProtocol OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Protocol that could access the port on which the keyword was trigger"
::= { notifyEntry 17 }                    

keywordMatched TRAP-TYPE
    ENTERPRISE  digiKeywordNotify
    VARIABLES { notifyTitle, 
                notifyPort, 
                notifyMessage, 
				notifyPortTitle, 
				notifyPortAccessPort,
				notifyPortProtocol }
    DESCRIPTION                                          
        "The notification sent when a pre-defined keyword/string has been
         found in a serial data stream." 
::= 1

   
END
