[Spce-user] R: call monitoring

Alessandro Romano - Rp engineering alessandro.romano at rpeng.it
Mon May 19 12:29:06 EDT 2014


Hi Joel,

it works 

i've tested: 

ngcp-kamctl proxy fifo profile_get_size total

and

ngcp-sercmd proxy dlg.list

its all ok :) thank you

ps: have you a host template for cacti to snmp monitoring of sipwise ?

BR

-----Messaggio originale-----
Da: Joel S. | VOZELIA [mailto:joel at vozelia.com] 
Inviato: lunedì 19 maggio 2014 17.45
A: Alessandro Romano - Rp engineering
Cc: spce-user at lists.sipwise.com
Oggetto: Re: [Spce-user] call monitoring

Hi Alessandro, 

I am not sure of the correct way to do that, a quick way:


A) Create a script that querys the necessary info:

root at spce1:/usr/local/bin# cat check_ngcp-totalcalls.sh #!/bin/sh TOTAL=`sudo -u root /usr/sbin/ngcp-kamctl proxy fifo profile_get_size total | sed "s/.*count=//g"` echo "total"
echo "$TOTAL"
root at spce1:/usr/local/bin# 

B) Setup SNMP to get that info:

Add: 

extend .1.3.6.1.4.1.55555.1 ngcp_calls /usr/lib/nagios/plugins/check_ngcp-totalcalls.sh

To snmpd.conf and reload.

C) From Cacti/Nagios or whatever you are using, query that OID and you will have the info.


Change the kamailio command ("fifo profile_get_size total" in this example) to get other statistics and then do the same steps to get that info into your monitoring system.


Hope this helps! I'm sure someone else will come up with better ideas ;)


Best regards,
Joel.



----- Original Message ----- 

> From: "Alessandro Romano - Rp engineering" <alessandro.romano at rpeng.it>
> To: spce-user at lists.sipwise.com
> Sent: Monday, May 19, 2014 4:01:40 PM
> Subject: [Spce-user] call monitoring

> Dear All,
> there is a way to monitor :

> 1) Concurrent calls
> 2) Active channels
> 3) Call per second

> BR

> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user






More information about the Spce-user mailing list