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

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


Author: jeffg
Date: Fri Sep 26 15:34:15 2008
New Revision: 144751

URL: http://svn.digium.com/view/asterisk?view=rev&rev=144751
Log:
Add scalar and columnar total-calls and total-channels for each tech type; add self to MIB contacts

Modified:
    team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt

Modified: team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt
URL: http://svn.digium.com/view/asterisk/team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt?view=diff&rev=144751&r1=144750&r2=144751
==============================================================================
--- team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt (original)
+++ team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt Fri Sep 26 15:34:15 2008
@@ -32,7 +32,15 @@
 			NO-5057 Bergen
 			Norway
 		   Tel: +47 5598 7200
-		 Email: tholo at voop.no"
+		 Email: tholo at voop.no
+
+		Jeff Gehlbach
+		Postal: The OpenNMS Group, Inc.
+		        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 defined
 		objects for managing Asterisk instances."
@@ -1173,6 +1181,23 @@
                "The number of qualified IAX2 peers registered to this system that are currently unreachable."
        ::= { iaxSpecific 5 }
 
+iaxTotalActiveChannels	OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of currently active IAX channels in the Asterisk instance."
+	::= { iaxSpecific 6 }
+
+iaxTotalActiveCalls	OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of currently active calls in the Asterisk instance in which
+		an IAX peer or user comprises a leg"
+	::= { iaxSpecific 7 }
+
 iaxPeersTable OBJECT-TYPE
 	SYNTAX		SEQUENCE OF IAX2PeerEntry
 	MAX-ACCESS	not-accessible
@@ -1180,7 +1205,7 @@
 	DESCRIPTION
 		"Table with details of the IAX2 peers defined
 		in the Asterisk instance."
-	::= { iaxSpecific 6 }
+	::= { iaxSpecific 8 }
 
 iaxPeersEntry OBJECT-TYPE
 	SYNTAX		IAX2PeerEntry
@@ -1218,7 +1243,9 @@
 	iaxPeerStatus		INTEGER,
 	iaxPeerQualifyOk	INTEGER,
 	iaxPeerQualifyNotOk	INTEGER,
-	iaxPeerQualifySmoothing	TruthValue
+	iaxPeerQualifySmoothing	TruthValue,
+	iaxPeerActiveChannels	Gauge32,
+	iaxPeerActiveCalls	Gauge32
 }
 
 iaxPeerId OBJECT-TYPE
@@ -1382,6 +1409,24 @@
 		when qualifying this IAX2 peer."
 	::= { iaxPeersEntry 19 }
 
+iaxPeerActiveChannels OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The current number of active channels for this IAX peer in the
+		Asterisk instance."
+	::= { iaxPeersEntry 20 }
+
+iaxPeerActiveCalls OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The current number of active calls in the Asterisk instance
+		in which this IAX peer comprises a leg."
+	::= { iaxPeersEntry 21 }
+
 -- IAX2 Users
 
 iaxUsersTotal	OBJECT-TYPE
@@ -1390,7 +1435,7 @@
        STATUS          current
        DESCRIPTION
                "The total number of IAX2 users defined in this system."
-       ::= { iaxSpecific 7 }
+       ::= { iaxSpecific 9 }
 
 iaxUsersTable OBJECT-TYPE
 	SYNTAX		SEQUENCE OF IAX2UserEntry
@@ -1399,7 +1444,7 @@
 	DESCRIPTION
 		"Table with details of the IAX2 users defined
 		in the Asterisk instance."
-	::= { iaxSpecific 8 }
+	::= { iaxSpecific 10 }
 
 iaxUsersEntry OBJECT-TYPE
 	SYNTAX		IAX2UserEntry
@@ -1416,7 +1461,9 @@
 	iaxUserSecretSet	TruthValue,
 	iaxUserContext		DisplayString,
 	iaxUserHasACL		TruthValue,
-	iaxUserCodecPref	INTEGER
+	iaxUserCodecPref	INTEGER,
+	iaxUserActiveChannels	Gauge32,
+	iaxUserActiveCalls	Gauge32
 }
 
 iaxUserId OBJECT-TYPE
@@ -1472,6 +1519,24 @@
 		"The codec preference setting, if any, for this IAX2 user."
 	::= { iaxUsersEntry 6 }
 
+iaxUserActiveChannels OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The current number of active channels for this IAX user in the
+		Asterisk instance."
+	::= { iaxUsersEntry 7 }
+
+iaxUserActiveCalls OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The current number of active calls in the Asterisk instance
+		in which this IAX user comprises a leg."
+	::= { iaxUsersEntry 8 }
+
 -- SIP-specific information
 -- This portion of the ASTERISK-MIB is unimplemented as of 2008-09-13
 
@@ -1492,6 +1557,9 @@
        DESCRIPTION
                "Represents the state of a SIP peer from Asterisk's perspective."
        SYNTAX          INTEGER { unreachable(1), lagged(2), ok(3), unknown(4), unmonitored(5) }
+
+-- SIP-specific information
+-- This portion of the ASTERISK-MIB is unimplemented as of 2008-09-13
 
 sipSpecific	OBJECT IDENTIFIER ::= { asteriskTechSpecific 2 }
 
@@ -1535,6 +1603,23 @@
                "The number of qualified SIP peers registered to this system that are currently unreachable."
        ::= { sipSpecific 5 }
 
+sipTotalActiveChannels	OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of currently active SIP channels in the Asterisk instance."
+	::= { sipSpecific 6 }
+
+sipTotalActiveCalls	OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of currently active calls in the Asterisk instance in which
+		a SIP peer comprises a leg"
+	::= { sipSpecific 7 }
+
 sipPeersTable OBJECT-TYPE
 	SYNTAX		SEQUENCE OF SIPPeerEntry
 	MAX-ACCESS	not-accessible
@@ -1542,7 +1627,7 @@
 	DESCRIPTION
 		"Table with details of the SIP peers defined
 		in the Asterisk instance."
-	::= { sipSpecific 6 }
+	::= { sipSpecific 8 }
 
 sipPeerEntry OBJECT-TYPE
 	SYNTAX		SIPPeerEntry
@@ -1610,7 +1695,9 @@
 	sipPeerDefUsername	DisplayString,
 	sipPeerAutoFraming	TruthValue,
 	sipPeerRegisterTrying	TruthValue,
-	sipPeerStatus		INTEGER
+	sipPeerStatus		INTEGER,
+	sipPeerActiveChannels	Gauge32,
+	sipPeerActiveCalls	Gauge32
 }
 
 sipPeerId OBJECT-TYPE
@@ -2073,6 +2160,154 @@
 	DESCRIPTION
 		"The current state of this SIP peer from Asterisk's perspective."
 	::= { sipPeerEntry 57 }
+
+sipPeerActiveChannels OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The current number of active channels for this SIP peer in the
+		Asterisk instance."
+	::= { sipPeerEntry 58 }
+
+sipPeerActiveCalls OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The current number of active calls in the Asterisk instance
+		in which this SIP peer comprises a leg."
+	::= { sipPeerEntry 59 }
+
+
+-- DAHDI-specific information
+-- This portion of the ASTERISK-MIB is unimplemented as of 2008-09-13
+
+dahdiSpecific OBJECT IDENTIFIER ::= { asteriskTechSpecific 3 }
+
+dahdiLoaded OBJECT-TYPE
+	SYNTAX		TruthValue
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"Whether the chan_dahdi driver is loaded on this Asterisk system."
+	::= { dahdiSpecific 1 }
+
+dahdiNumChannels OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of DAHDI channels configured in this Asterisk system."
+	::= { dahdiSpecific 2 }
+
+dahdiNumTrunkGroups OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of DAHDI trunk groups configured in this Asterisk system."
+	::= { dahdiSpecific 3 }
+
+dahdiNumGroups OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of DAHDI channel groups configured in this Asterisk system."
+	::= { dahdiSpecific 4 }
+
+dahdiTotalActiveChannels	OBJECT-TYPE
+	SYNTAX			Gauge32
+	MAX-ACCESS		read-only
+	STATUS			current
+	DESCRIPTION
+		"The number of currently active DAHDI channels in the Asterisk instance."
+	::= { dahdiSpecific 5 }
+
+dahdiTotalActiveCalls	OBJECT-TYPE
+	SYNTAX		Gauge32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The number of currently active calls in the Asterisk instance in which
+		a DAHDI channel, trunk, or trunk group comprises a leg"
+	::= { dahdiSpecific 6 }
+
+DahdiChanState ::= TEXTUAL-CONVENTION
+	STATUS		current
+	DESCRIPTION	"Represents the service state of a DAHDI channel."
+	SYNTAX		INTEGER {
+				inService(1), notInService(2)
+			}
+
+DahdiChannelEntry ::= SEQUENCE {
+	dahdiChanId		Unsigned32,
+	dahdiChanExten		DisplayString,
+	dahdiChanContext	DisplayString,
+	dahdiChanBlocked	TruthValue,
+	dahdiChanState		DahdiChanState
+}
+
+dahdiChannelTable OBJECT-TYPE
+	SYNTAX		SEQUENCE OF DahdiChannelEntry
+	MAX-ACCESS	not-accessible
+	STATUS		current
+	DESCRIPTION
+		"A table of identity and performance information on DAHDI channels."
+	INDEX		{ dahdiChanId }
+	::= { dahdiSpecific 7 }
+
+dahdiChannelEntry OBJECT-TYPE
+	SYNTAX		DahdiChannelEntry
+	MAX-ACCESS	not-accessible
+	STATUS		current
+	DESCRIPTION
+		"An entry in the dahdiChannelTable."
+	INDEX		{ dahdiChanId }
+	 ::= { dahdiChannelTable 1 }
+
+dahdiChanId OBJECT-TYPE
+	SYNTAX		Unsigned32
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The channel number of this DAHDI channel."
+	::= { dahdiChannelEntry 1 }
+
+dahdiChanExten OBJECT-TYPE
+	SYNTAX		DisplayString
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The extension this DAHDI channel is currently servicing."
+	::= { dahdiChannelEntry 2 }
+
+dahdiChanContext OBJECT-TYPE
+	SYNTAX		DisplayString
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The context in which this DAHDI channel is currently active,
+		or if it is not active, the default context specified for this
+		channel."
+	::= { dahdiChannelEntry 3 }
+
+dahdiChanBlocked OBJECT-TYPE
+	SYNTAX		TruthValue
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"Whether this DAHDI channel is currently blocked."
+	::= { dahdiChannelEntry 4 }
+
+dahdiChanState OBJECT-TYPE
+	SYNTAX		DahdiChanState
+	MAX-ACCESS	read-only
+	STATUS		current
+	DESCRIPTION
+		"The current service state of this DAHDI channel."
+	::= { dahdiChannelEntry 5 }
 
 
 -- asteriskCodecs




More information about the asterisk-commits mailing list