[Spce-user] call monitoring
Joel S. | VOZELIA
joel at vozelia.com
Mon May 19 11:44:42 EDT 2014
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