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

2019-04-15 Thread Konrad Malewski
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  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 
> 
>
> 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@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  
> 
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users=DwIGaQ=q3cDpHe1hF8lXU5EFjNM_A=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg=
>


-- 
-- 
Konrad Malewski
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2019-04-12 Thread Vlad Patrascu
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 Developer
http://www.opensips-solutions.com

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 list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users