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

Vlad Patrascu vladp at opensips.org
Fri Apr 12 04:41:22 EDT 2019


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190412/22e4bbd6/attachment.html>


More information about the Users mailing list