Graphing DSP channel usage

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

chryzo
Posts: 17
Joined: Mon Feb 18, 2008 8:48 am

Graphing DSP channel usage

Post by chryzo »

I'm stuck trying to graph DSP channel usage. Other VoIP templates like "VoIP Channels in Use on Cisco AS5300 and like Access Routers" counts the serial / isdn channels in use, not the DSP channels. What I am after is graphing of something similar to the "show voice dsp active" - or to be more specific; the SNMP OID's cdspInUseChannels and cdspActiveChannels. If I something useful out of those OID's, you could compare them with active E1-channels and active calls, to see if you got either E1-channel hang or DSP channel hang.

My problem is that the DSP OID's reports numbers that I cannot understand or make sense out of, ex:
On cacti server:
user@server~$ snmpwalk -v1 -c public 10.10.10.10 .1.3.6.1.4.1.9.9.86.1.2.1.1.8
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.10 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.11 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.25 = Gauge32: 21513
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.26 = Gauge32: 4294953011
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.27 = Gauge32: 4294961518
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.28 = Gauge32: 4294965938

While the router shows:
VG1#sh voice call st | inc active
11 active calls found
VG1#sh voice dsp active

DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ======= ===== ======= === == ========= == ===== ============

----------------------------FLEX VOICE CARD 0 ------------------------------
*DSP ACTIVE VOICE CHANNELS*
DSP DSPWARE VOX DSP SIG DSP PAK TX/RX
TYPE VERSION CODEC NUM CH TS VOICEPORT SLT NUM CH TS RST AI ABRT PACK COUNT
===== ======= ======== === == == ========= === === == == === == ==== ============
C5510 4.4.708 g711ulaw 001 01 31 0/1/0:15 000 002 14 31 0 0 0 17187/17480
C5510 4.4.708 14400 001 02 30 0/1/0:15 000 002 13 30 0 0 0 1356/16301
C5510 4.4.708 g711ulaw 001 03 29 0/1/0:15 000 002 12 29 0 0 0 256/282
C5510 4.4.708 g711ulaw 001 04 28 0/1/0:15 000 002 11 28 0 0 0 5403/5526
C5510 4.4.708 g711ulaw 001 05 27 0/1/0:15 000 002 10 27 0 0 0 46451/47219
C5510 4.4.708 g711ulaw 001 06 26 0/1/0:15 000 002 09 26 0 0 0 715/747
C5510 4.4.708 g711ulaw 002 01 25 0/1/0:15 000 002 08 25 0 0 0 1371/1419
C5510 4.4.708 g711ulaw 002 02 24 0/1/0:15 000 002 07 24 0 0 0 641/682
C5510 4.4.708 g711ulaw 002 05 21 0/1/0:15 000 002 04 21 0 0 0 9733/9919
C5510 4.4.708 g711ulaw 002 06 20 0/1/0:15 000 002 03 20 0 0 0 3903/3998
C5510 4.4.708 g711ulaw 003 05 14 0/1/0:15 000 001 14 14 0 0 0 7959/8119
------------------------END OF FLEX VOICE CARD 0 ----------------------------


This was from a gateway with 96 DSP channels (6 x 16). Anyone got any easy way to keep track of the DSP channels?
chryzo
Posts: 17
Joined: Mon Feb 18, 2008 8:48 am

Post by chryzo »

Testing against another gateway with ipvoicek9-mz.124-15.T4 (the hardware is more or less the same), I get correct values:
VG1#sh voice dsp active

DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ========== ===== ======= === == ========= == ===== ============


----------------------------FLEX VOICE CARD 0 ------------------------------
*DSP ACTIVE VOICE CHANNELS*
DSP DSPWARE VOX DSP SIG DSP PAK TX/RX
TYPE VERSION CODEC NUM CH TS VOICEPORT SLT NUM CH TS RST AI ABRT PACK COUNT
===== ========== ======== === == == ========= === === == == === == ==== ============
C5510 9.4.4 g711ulaw 001 01 01 0/0/0:15 000 001 01 01 0 0 0 4120/3770
C5510 9.4.4 g711ulaw 001 02 02 0/0/0:15 000 001 02 02 0 0 0 890/784
C5510 9.4.4 g711ulaw 001 03 03 0/0/0:15 000 001 03 03 0 0 0 7235/6918
C5510 9.4.4 g711ulaw 001 04 04 0/0/0:15 000 001 04 04 0 0 0 11215/11519
C5510 9.4.4 g711ulaw 001 05 07 0/0/0:15 000 001 07 07 0 0 0 11125/11029
C5510 9.4.4 g711ulaw 001 06 05 0/0/0:15 000 001 05 05 0 0 0 28578/28577
C5510 9.4.4 g711ulaw 002 01 06 0/0/0:15 000 001 06 06 0 0 0 3452/3257
C5510 9.4.4 g711ulaw 002 02 08 0/0/0:15 000 001 08 08 0 0 0 2787/2883
C5510 9.4.4 g711ulaw 002 03 09 0/0/0:15 000 001 09 09 0 0 0 2644/2219
C5510 9.4.4 g711ulaw 002 04 10 0/0/0:15 000 001 10 10 0 0 0 2583/1589
C5510 9.4.4 g711ulaw 002 05 11 0/0/0:15 000 001 11 11 0 0 0 2567/2363
C5510 9.4.4 g711ulaw 007 01 12 0/0/0:15 000 001 12 12 0 0 0 20564/20784
C5510 9.4.4 g711ulaw 007 02 13 0/0/0:15 000 001 13 13 0 0 0 155/39
C5510 9.4.4 g711ulaw 008 01 19 0/0/0:15 000 002 02 19 0 0 0 9874/9971
C5510 9.4.4 g711ulaw 008 02 20 0/0/0:15 000 002 03 20 0 0 0 9787/9572
C5510 9.4.4 g711ulaw 008 03 21 0/0/0:15 000 002 04 21 0 0 0 9246/8925
------------------------END OF FLEX VOICE CARD 0 ----------------------------


server:~$ snmpwalk -v 2c -c public 10.10.10.10 .1.3.6.1.4.1.9.9.86.1.2.1.1.8
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.14 = Gauge32: 6
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.15 = Gauge32: 5
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.16 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.17 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.20 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.21 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.22 = Gauge32: 2
SNMPv2-SMI::enterprises.9.9.86.1.2.1.1.8.23 = Gauge32: 3
chryzo
Posts: 17
Joined: Mon Feb 18, 2008 8:48 am

Post by chryzo »

Hmkai. Finally I managed to graph my precious DSP channels. Anyone interested in templates, give me a PM. :wink:
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Definately interested - would you mind posting them ?

Tried to PM you, but for some unknown reason, it's been stuck in the outbox for ages..
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
chryzo
Posts: 17
Joined: Mon Feb 18, 2008 8:48 am

Post by chryzo »

I finally got a reply from Cisco TAC (and bumping myself yet again :roll: ):
There seems to be a bug in IOS prior to 124-5 that causes SNMP to report wrong data. I haven't tested this myself by upgrading one of the gateways I'm having trouble with, but I'll get back to you as soon as I have confirmed that spservices is behaving as nicely as ipvoice.
On the topic of my graphs - I'm having trouble figuring out a nice way to summarize all my DSP resources in one graph - if anyone have any tips please feel free to modify.
Attachments
cacti_data_query_cisco_dsp_channel_info.xml
Template - import as usual and add to device.
(22.42 KiB) Downloaded 792 times
dspInfo.xml
Put in /resource/snmp_queries
(1.51 KiB) Downloaded 817 times
chryzo
Posts: 17
Joined: Mon Feb 18, 2008 8:48 am

Post by chryzo »

The bugID is CSCeg55420 - not very informative, but still a bugID :D
skinty
Posts: 41
Joined: Sat Aug 12, 2006 6:47 pm

Post by skinty »

chryzo wrote:The bugID is CSCeg55420 - not very informative, but still a bugID :D
chryzo: Great script, very important for our implementation as we monitor about 30 or so voice gateways. Will be very informative for sizing future work. Thanks for your work on this one!
chryzo
Posts: 17
Joined: Mon Feb 18, 2008 8:48 am

Post by chryzo »

This is more like what I wanted to get - information on all DSP channels in one graph. To bad I had to make a nasty shell-script . . . :/
Attachments
Aggregated DSP info
Aggregated DSP info
dsp_aggregate.JPG (52.06 KiB) Viewed 13116 times
Brenton
Posts: 1
Joined: Mon Mar 30, 2009 7:34 pm

Post by Brenton »

Did you ever get the DSP's to show in the graph how you wanted?
crlshn
Posts: 3
Joined: Mon May 10, 2010 2:40 pm

Post by crlshn »

how do I make the nasty shell-script ?
can you please explain, i wan't to graph all active dsp in one page for a C3845.
acornu
Posts: 16
Joined: Sat Mar 18, 2006 6:52 pm

Re: Graphing DSP channel usage

Post by acornu »

I was exactly looking for this..

Got a problem though.. I can poll individual DSPs, but the aggregate won't work

do you have it working?
[b]Cacti Version[/b]: 0.8.7e - [b]Plugin Architecture[/b]: v2.6 - [b]Poller Type[/b]: spine - [b]Server Info[/b]: Linux (CentOS5) 2.6.18-164.15.1.el5 - [b]Web Server[/b]: Apache/2.2.3 (CentOS) - [b]PHP[/b]: 5.1.6 - [b]MySQL[/b]: 5.0.77 - [b]RRDTool[/b]: 1.3.7 - [b]SNMP[/b]: 5.3.2.2
Hjorozco
Posts: 2
Joined: Sat May 19, 2012 6:49 pm

Re: Graphing DSP channel usage

Post by Hjorozco »

Hello i got router 3845 and it has several dsp ans e1, in my current cacti i loaded a regular template for this router, I got a lot of empty graphics, i mean just tow od the 10 graphics it shows information but i got nothing in the e1 and dsp graphics do you have any adiea or any kind of template that could work in this devise?

Regards
Hjorozco
Posts: 2
Joined: Sat May 19, 2012 6:49 pm

Re:

Post by Hjorozco »

chryzo wrote:Hmkai. Finally I managed to graph my precious DSP channels. Anyone interested in templates, give me a PM. :wink:
Im interesting in those helpfull templates.
gvasant
Posts: 1
Joined: Wed Jul 11, 2012 4:40 am

Re: Graphing DSP channel usage

Post by gvasant »

Hello Hjorozco,

I need the script Can u please upload the script in this forum so that it can be used by anyone who needs them.
pcdmco1
Posts: 1
Joined: Thu Sep 26, 2013 1:00 pm

Re:

Post by pcdmco1 »

chryzo wrote:This is more like what I wanted to get - information on all DSP channels in one graph. To bad I had to make a nasty shell-script . . . :/
hi how to use all in one this graph????
Please Help I'm use 2611 XM and use 1 E1 Cart
How to count call active in 1 min?
and how to maximum call count in 1 day and what time?
thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest