mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add count of total number of calls processed by asterisk during it's lifetime.
Add number of total calls and current calls to SNMP. Closes issue #10057, patch by jcmoore. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11,7 +11,7 @@ IMPORTS
|
||||
FROM DIGIUM-MIB;
|
||||
|
||||
asterisk MODULE-IDENTITY
|
||||
LAST-UPDATED "200606081626Z"
|
||||
LAST-UPDATED "200708211450Z"
|
||||
ORGANIZATION "Digium, Inc."
|
||||
CONTACT-INFO
|
||||
"Mark A. Spencer
|
||||
@@ -29,6 +29,9 @@ asterisk MODULE-IDENTITY
|
||||
Norway
|
||||
Tel: +47 5598 7200
|
||||
Email: tholo@voop.no"
|
||||
DESCRIPTION
|
||||
"Add total and current call counter statistics."
|
||||
REVISION "200708211450Z"
|
||||
DESCRIPTION
|
||||
"Asterisk is an Open Source PBX. This MIB defined
|
||||
objects for managing Asterisk instances."
|
||||
@@ -104,6 +107,23 @@ astConfigSocket OBJECT-TYPE
|
||||
"The control socket for giving Asterisk commands."
|
||||
::= { asteriskConfiguration 4 }
|
||||
|
||||
astConfigCallsActive OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of calls currently active on the Asterisk PBX."
|
||||
::= { asteriskConfiguration 5 }
|
||||
|
||||
astConfigCallsProcessed OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The total number of calls processed through the Asterisk PBX since last
|
||||
restart."
|
||||
::= { asteriskConfiguration 6 }
|
||||
|
||||
-- asteriskModules
|
||||
|
||||
astNumModules OBJECT-TYPE
|
||||
@@ -194,7 +214,7 @@ astIndDescription OBJECT-TYPE
|
||||
-- asteriskChannels
|
||||
|
||||
astNumChannels OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
|
Reference in New Issue
Block a user