--			Ascend Enterprise Traps
--
--			Ascend Communications, Inc
--			1275 Harbor Bay Pkwy
--			Alameda, CA 94502
--			+1 510 769 6001
--			info@ascend.com
--
--		Copyright (c) 1993, 1994 Ascend Communications, Inc.
--		All rights reserved.
--
-- SCCS ID:	$Id: ascend.trp,v 29.5 1996/10/21 19:04:33 ravim Exp $
--
-- 01 Dec 93:	Initial release
-- 18 Aug 93:	Add new trap types
-- 18 May 95:	Add eventTableOverwrite.
-- 15 Apr 96:   kh Add radiusServerChange.
-- 24 Jul 96:   kh Add IpAddress to maxTelnetAttempts

ASCEND-TRAP DEFINITIONS ::= BEGIN

    IMPORTS
	ifIndex 
	    FROM RFC1213-MIB
	ascend
	    FROM ASCEND-MIB
	consoleIndex
	    FROM ASCEND-MIB
	TRAP-TYPE
	    FROM RFC-1215;

	-- Ascend generates traps for important events.  The events are
	-- classified to allow traps to be enabled by class.  The trap
	-- classifications are:
	--
	--	error events
	--	port state change events
	--	security events
	--
	-- Traps may only be enabled from the user interface.
	-- Each trap contains an interface number to identify the trapping
	-- entity.  The slotIfTable can be used to translate the interface
	-- to a slot/item.

	-- error events
	--
	-- The error events reported are those defined in RFC 1215.  They
	-- are:
	--	coldStart
	--	warmStart
	--	linkDown
	--	linkUp

	-- port state change events
	--
	-- the port state change events are generated when a port changes
	-- state which is often a direct result of a call state change.

    portInactive	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			 has changed to the inactive state."
	::= 0

    portDualDelay	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			is delaying the dialing of a second call to avoid
			overloading devices that can not handle two calls in
			close succession."
	::= 1

    portWaitSerial	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			has detected DTR when in V.25bis mode and is waiting
			for an HDLC controller to come on line.  CTS is off."
	::= 2

    portHaveSerial	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			is ready to accept V.25bis commands.  CTS is on."
	::= 3

    portRinging		TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			is has been notified of an incoming call."
	::= 4

    portCollectDigits	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			is collecting digits from the RS-366 dialing
			interface."
	::= 5

    portWaiting		TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			is waiting for connect notification from the network
			after dialing or answer notification has been issued."
	::= 6

    portConnected	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			has connected to the far end, but end-to-end data
			flow has not yet been enabled."
	::= 7

    portCarrier	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			has connected to the far end and has end-to-end data
			flow."
	::= 8

    portLoopback	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			has been placed in local loopback mode."
	::= 9

    portAcrPending	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			has set ACR on the RS-366 dialing interface and is
			waiting for the host device to detect the transition."
	::= 10

    portDteNotReady	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The host port associated with the indicated ifIndex
			is waiting for the DTE to signal a ready condition
			when performing X.21 dialing."
	::= 11

	-- Security events are used to notify users of security problems
	-- and track access to the unit from the console.  The mib-II event
	-- 
	-- 	authenticationError
	--
	-- is a security event.  The other security events are Ascend
	-- specific.

    consoleStateChange	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ consoleIndex }
	DESCRIPTION	"The console associated with the passed console
			index has changed state.  The console entry
			can be read to see what its current state is."
	::= 12

    portUseExceeded	TRAP-TYPE
	ENTERPRISE	ascend
	VARIABLES	{ ifIndex }
	DESCRIPTION	"The port associated with the indicated ifIndex has
			exceeded the number of DS0 minutes allocated to it."
	::= 13


    systemUseExceeded	TRAP-TYPE
	ENTERPRISE	ascend
	DESCRIPTION	"The system DS0 usage has been exceeded."
	::= 14

--  maxTelnetAttempts trap returns the objectID of the session entry and the
--  associated IP address 

    maxTelnetAttempts	TRAP-TYPE
	ENTERPRISE	ascend
--      VARIABLES       { IpAddress }
	DESCRIPTION	"The maximum number of login attempts for a  telnet
                         session has been exceeded."
	::= 15	


	-- Following eventTableOverwrite trap is an error event.

    eventTableOverwrite	TRAP-TYPE
	ENTERPRISE	ascend
	DESCRIPTION	"A new event has overwritten an unread event.
                         This trap is sent only for systems which
			 support Ascend's accounting MIB.
			 Once sent, additional overwrites will not
			 cause another trap to be sent until at least
			 1 table's worth of new events have occured."
	::= 16	


	-- 17 used for debugging - trap_lcdterm_zombie


-- radiusServer change trap returns the objectID and IP address of the new
-- current server. 

    radiusServerChange	TRAP-TYPE
	ENTERPRISE	ascend
--      VARIABLES       { IpAddress }
	DESCRIPTION	"The current Radius server has been changed."
	::= 18	

-- multicast heartbeat monitor trap is set when fails to receive heartbeats 

    multicastHeartBeatMonitor	TRAP-TYPE
	ENTERPRISE	ascend
--      VARIABLES       { heartBeatMulticastGroupAddress,
--			heartBeatSourceAddress, heartBeatSlotTimeInterval,
--			heartBeatSlotCount, heartBeatPacketCount  }
	DESCRIPTION	"This trap is sent when heartBeat fails to receive
			configured number of heartBeat packets from
			heartBeat servers"
	::= 19	

-- lan modem moved to the suspect list

    lanModemMovedToSuspectList	TRAP-TYPE
	ENTERPRISE	ascend
--      VARIABLES       { slot, port, usedCount, badCount, last32  }
	DESCRIPTION	"This trap is sent to all the managers in the
                        alarm group when a lan modem (digital modem) is moved
                        to the suspect list.
                        Refer to the lanModemGroup.suspectLanModemTable
                        description."
	::= 20	

END
