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

Konrad Malewski konrad.malewski at motorolasolutions.com
Thu Apr 11 05:54:55 EDT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190411/44de08a8/attachment.html>


More information about the Users mailing list