<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>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.</p>
    <p>Regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 04/11/2019 12:54 PM, Konrad Malewski
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFRd791fXyYWO5eZ2JgSqb+VfNnFmUig8bpH6GP1GYzHaJDOpw@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">Hello,
                <div><br>
                </div>
                <div>I am using 3.0.0-dev version and I am having
                  problem with opensipsctl command for statistics:</div>
                <div><br clear="all">
                  <div>
                    <div>$opensipsctl fifo get_statistics load-all</div>
                    <div>{</div>
                    <div>   "jsonrpc": "2.0", </div>
                    <div>   "id": "a7cbfd4e", </div>
                    <div>   "error": {</div>
                    <div>      "message": "Invalid params", </div>
                    <div>      "code": -32602</div>
                    <div>   }</div>
                    <div>}</div>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div>$opensipsctl fifo get_statistics load:   </div>
                    <div>{</div>
                    <div>   "jsonrpc": "2.0", </div>
                    <div>   "id": "177e12c6", </div>
                    <div>   "error": {</div>
                    <div>      "message": "Invalid params", </div>
                    <div>      "code": -32602</div>
                    <div>   }</div>
                    <div>}</div>
                  </div>
                  <div><br>
                  </div>
                  <div>the log says: ERROR:core:get_mi_array_param:
                    Parameter: statistics is not an array.</div>
                  <div><br>
                  </div>
                  <div>What is the new syntax ? </div>
                  <div><br>
                  </div>
                  -- <br>
                  <div dir="ltr"
                    class="gmail-m_3643651526668338063gmail_signature">
                    <div dir="ltr">
                      <div>-- <br>
                      </div>
                      Konrad Malewski<br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>