[Spce-user] How to get Total calls SIPSWISE 6.5.3
Robert Cuaresma
rcuaresma at cloudcom.cat
Thu Feb 21 06:01:10 EST 2019
You are great Marco, it works.
For export only the number of total calls (without symbols or letters) I run this: ngcp-kamctl proxy fifo stats.get_statistics active_dialogs | /bin/sed "s/[^0-9]*//g;/^\s*$/d"
Thanks a lot!!
Saludos,
Robert Cuaresma
De: Marco Capetta <mcapetta at sipwise.com>
Enviado el: jueves, 21 de febrero de 2019 8:42
Para: Robert Cuaresma <rcuaresma at cloudcom.cat>; spce-user at lists.sipwise.com
Asunto: Re: [Spce-user] How to get Total calls SIPSWISE 6.5.3
Hi Robert,
To have a full list of the new fifo commands, please execute "ngcp-kamctl lb fifo system.listMethods" for Kamailio LB and "ngcp-kamctl proxy fifo system.listMethods" for Kamailio PROXY.
For example, to have the number of the active dialogs: "ngcp-kamctl proxy fifo stats.get_statistics active_dialogs"
Regards,
Marco
On 2/20/19 9:32 PM, Robert Cuaresma wrote:
Hi!
I have upgraded SipWise 4.5.6 to 6.5.3 and by the moment all is ok. On 4.5.6 I have configured on Zabbix Agent this UserParameter to get total active calls: kamailio.totalcalls,ngcp-kamctl proxy fifo get_statistics :dialog::active_dialogs | sed "s/.*active_dialogs = //g", but if I run the same on 6.5.3 version doesn't works. How can I get total calls for use with Zabbix UserParameter?
I see that Grafana show this info but I can't (or I don't know how) export this to see on Zabbix Server.
Thanks a lot!
Saludos,
Robert Cuaresma
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com<mailto:Spce-user at lists.sipwise.com>
https://lists.sipwise.com/listinfo/spce-user
--
Marco Capetta
VoIP Developer
Sipwise GmbH <http://www.sipwise.com> , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
Phone: +43(0)1 301 2044 <tel:+4313012044>
Email: mcapetta at sipwise.com <mailto:mcapetta at sipwise.com>
Website: www.sipwise.com <http://www.sipwise.com>
Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190221/28042e4d/attachment-0001.html>
More information about the Spce-user
mailing list