[OpenSIPS-Users] how to migrate statistics to 3.x ?

Konrad Malewski konrad.malewski at motorolasolutions.com
Mon Apr 15 02:15:05 EDT 2019


Thanks.
I found the github repository.

Are you planning to integrate this into package (I am using debian) ?

Currently opensips depends on python (which is 2.7) but opensips-cli
requires python3


On Fri, Apr 12, 2019 at 10:42 AM Vlad Patrascu <vladp at opensips.org> wrote:

> The opensipsctl tool does not work anymore with the get_statistics command
> and will be dropped soon anyway. Please try the new opensips-cli tool.
>
> Regards,
>
> Vlad Patrascu
> OpenSIPS Developerhttp://www.opensips-solutions.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opensips-2Dsolutions.com&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=368ZylOnjT2wshn1FXVCpUoc03KGvdRujH7v5TjlNwk&e=>
>
> On 04/11/2019 12:54 PM, Konrad Malewski wrote:
>
> Hello,
>
> I am using 3.0.0-dev version and I am having problem with opensipsctl
> command for statistics:
>
> $opensipsctl fifo get_statistics load-all
> {
>    "jsonrpc": "2.0",
>    "id": "a7cbfd4e",
>    "error": {
>       "message": "Invalid params",
>       "code": -32602
>    }
> }
>
> $opensipsctl fifo get_statistics load:
> {
>    "jsonrpc": "2.0",
>    "id": "177e12c6",
>    "error": {
>       "message": "Invalid params",
>       "code": -32602
>    }
> }
>
> the log says: ERROR:core:get_mi_array_param: Parameter: statistics is not
> an array.
>
> What is the new syntax ?
>
> --
> --
> Konrad Malewski
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg&e=>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwIGaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg&e=
>


-- 
-- 
Konrad Malewski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190415/60aef05a/attachment.html>


More information about the Users mailing list