[asterisk-commits] jeffg: branch jeffg/jeffg-moresnmp-branch r144754 - /team/jeffg/jeffg-moresnm...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 26 16:04:34 CDT 2008


Author: jeffg
Date: Fri Sep 26 16:04:34 2008
New Revision: 144754

URL: http://svn.digium.com/view/asterisk?view=rev&rev=144754
Log:
First take at an ASTERISK-TRAP-MIB

Added:
    team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt   (with props)

Added: team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt
URL: http://svn.digium.com/view/asterisk/team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt?view=auto&rev=144754
==============================================================================
--- team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt (added)
+++ team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt Fri Sep 26 16:04:34 2008
@@ -1,0 +1,220 @@
+ASTERISK-TRAP-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+	OBJECT-TYPE, MODULE-IDENTITY, Integer32, Counter32, TimeTicks,
+	Unsigned32, Gauge32, NOTIFICATION-TYPE
+		FROM SNMPv2-SMI
+
+	InetAddress, InetPortNumber
+		FROM INET-ADDRESS-MIB
+
+	TEXTUAL-CONVENTION, DisplayString, TruthValue
+		FROM SNMPv2-TC
+
+	asterisk, astVersionString, astVersionTag
+		FROM ASTERISK-MIB;
+
+asteriskTrapMIB MODULE-IDENTITY
+	LAST-UPDATED	"200809132036Z"
+	ORGANIZATION	"Digium, Inc."
+	CONTACT-INFO
+		"Mark A. Spencer
+		Postal: Digium, Inc.
+		        445 Jan Davis Drive
+		        Huntsville, AL 35806
+		        USA
+		   Tel: +1 256 428 6000
+		 Email: markster at digium.com
+
+		Jeff Gehlbach
+		Postal: The OpenNMS Group
+		        220 Chatham Business Dr.
+			Pittsboro, NC 27312
+			USA
+		   Tel: +1 919 533 0160
+		 Email: jeffg at opennms.org"
+	DESCRIPTION
+		"Asterisk is an Open Source PBX.  This MIB defines
+		notifications sent from Asterisk instances to a manager."
+	REVISION	"200809132036Z"
+	DESCRIPTION
+		"Initial revision."
+	::= { asterisk 255 }
+
+asteriskNotifPrefix	OBJECT IDENTIFIER ::= { asteriskTrapMIB 1 }
+asteriskNotifObjects	OBJECT IDENTIFIER ::= { asteriskNotifPrefix 1 }
+asteriskNotifications	OBJECT IDENTIFIER ::= { asteriskNotifPrefix 2 }
+
+AsteriskStopCondition ::= TEXTUAL-CONVENTION
+	STATUS		current
+	DESCRIPTION
+		"Describes the conditions under which Asterisk will
+		stop in response to a stop request."
+	SYNTAX		INTEGER {
+					now(1),
+					gracefully(2),
+					whenConvenient(3)
+				}
+
+AsteriskStopReason ::= TEXTUAL-CONVENTION
+	STATUS		current
+	DESCRIPTION
+		"Describes the reason why Asterisk is stopping."
+	SYNTAX		INTEGER {
+					cliRequest(1),
+					amiRequest(2),
+					exceptionalCondition(3)
+				}
+
+systemNotifObjects		OBJECT IDENTIFIER ::= { asteriskNotifObjects 1 }
+
+asteriskRunUserName OBJECT-TYPE
+	SYNTAX		DisplayString
+	MAX-ACCESS	accessible-for-notify
+	STATUS		current
+	DESCRIPTION
+		"The username of the user account under which
+		Asterisk is running."
+	::= { systemNotifObjects 1 }
+
+asteriskRunUserID OBJECT-TYPE
+	SYNTAX		Integer32
+	MAX-ACCESS	accessible-for-notify
+	STATUS		current
+	DESCRIPTION
+		"The numeric UID of the user account under which
+		Asterisk is running.  On non-POSIX platforms,
+		this value will be -1."
+	::= { systemNotifObjects 2 }
+
+asteriskRunGroupName OBJECT-TYPE
+	SYNTAX		DisplayString
+	MAX-ACCESS	accessible-for-notify
+	STATUS		current
+	DESCRIPTION
+		"The name of the user group under which
+		Asterisk is running."
+	::= { systemNotifObjects 3 }
+
+asteriskRunGroupID OBJECT-TYPE
+	SYNTAX		Integer32
+	MAX-ACCESS	accessible-for-notify
+	STATUS		current
+	DESCRIPTION
+		"The numeric GID of the user group under which
+		Asterisk is running.  On non-POSIX platforms,
+		this value will be -1."
+	::= { systemNotifObjects 4 }
+
+asteriskStopCondition OBJECT-TYPE
+	SYNTAX		AsteriskStopCondition
+	MAX-ACCESS	accessible-for-notify
+	STATUS		current
+	DESCRIPTION
+		"The condition under which Asterisk has been
+		asked to stop."
+	::= { systemNotifObjects 5 }
+
+asteriskStopReason OBJECT-TYPE
+	SYNTAX		AsteriskStopReason
+	MAX-ACCESS	accessible-for-notify
+	STATUS		current
+	DESCRIPTION
+		"The reason why Asterisk is stopping."
+	::= { systemNotifObjects 6 }
+
+systemNotifs			OBJECT IDENTIFIER ::= { asteriskNotifications 1 }
+
+asteriskStart			NOTIFICATION-TYPE
+	OBJECTS	{	asteriskRunUserName,
+			asteriskRunUserID,
+			asteriskRunGroupName,
+			asteriskRunGroupID,
+			astVersionString,
+			astVersionTag }
+	STATUS	current
+	DESCRIPTION
+		"This notification informs a manager that
+		Asterisk has been started from a stopped
+		state. It is distinct from the asteriskRestart
+		notification."
+	::= { systemNotifs 1 }
+
+asteriskStopRequested		NOTIFICATION-TYPE
+	OBJECTS	{	asteriskStopCondition,
+			asteriskRunUserName,
+			asteriskRunUserID,
+			asteriskRunGroupName,
+			asteriskRunGroupID,
+			astVersionString,
+			astVersionTag }
+	STATUS	current
+	DESCRIPTION
+		"This notification informs a manager that
+		Asterisk has been asked to stop. It is
+		distinct from the asteriskRestartRequested
+		notification."
+	::= { systemNotifs 2 }
+
+asteriskStopping	NOTIFICATION-TYPE
+	OBJECTS	{	asteriskStopReason,
+			asteriskRunUserName,
+			asteriskRunUserID,
+			asteriskRunGroupName,
+			asteriskRunGroupID,
+			astVersionString,
+			astVersionTag }
+	STATUS	current
+	DESCRIPTION
+		"This notification informs a manager that
+		Asterisk is stopping. It is distinct from
+		the asteriskRestarting notification."
+	::= { systemNotifs 3 }
+
+asteriskRestartRequested	NOTIFICATION-TYPE
+	OBJECTS	{	asteriskStopCondition,
+			asteriskRunUserName,
+			asteriskRunUserID,
+			asteriskRunGroupName,
+			asteriskRunGroupID,
+			astVersionString,
+			astVersionTag }
+	STATUS	current
+	DESCRIPTION
+		"This notification informs a manager that
+		Asterisk has been asked to restart. It is
+		distinct from the asteriskStart and
+		asteriskRestartRequested notifications."
+	::= { systemNotifs 4 }
+
+asteriskRestarting	NOTIFICATION-TYPE
+	OBJECTS	{	asteriskStopReason,
+			asteriskRunUserName,
+			asteriskRunUserID,
+			asteriskRunGroupName,
+			asteriskRunGroupID,
+			astVersionString,
+			astVersionTag }
+	STATUS	current
+	DESCRIPTION
+		"This notification informs a manager that
+		Asterisk is restarting. It is distinct from the
+		asteriskStart and asteriskStopping notifications."
+	::= { systemNotifs 5 }
+
+asteriskRestarted	NOTIFICATION-TYPE
+	OBJECTS	{	asteriskStopReason,
+			asteriskRunUserName,
+			asteriskRunUserID,
+			asteriskRunGroupName,
+			asteriskRunGroupID,
+			astVersionString,
+			astVersionTag }
+	STATUS	current
+	DESCRIPTION
+		"This notification informs a manager that
+		Asterisk has restarted. It is distinct from the
+		asteriskStart and asteriskRestarting notifications."
+	::= { systemNotifs 6 }
+
+END

Propchange: team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt
------------------------------------------------------------------------------
    svn:keywords = None

Propchange: team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list