From 02ea9face7d5bef3fa1c4bb14a3a2147c5f3b737 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Fri, 7 Dec 2007 16:11:05 +0000 Subject: 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 --- doc/asterisk-mib.txt | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'doc/asterisk-mib.txt') diff --git a/doc/asterisk-mib.txt b/doc/asterisk-mib.txt index fbbc63356..9f62cf673 100644 --- a/doc/asterisk-mib.txt +++ b/doc/asterisk-mib.txt @@ -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 -- cgit v1.2.3