<div dir="ltr">Thanks a lot Razvan. Will try them and keep the group posted about the results.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 11, 2017 at 2:01 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <tt>Hi, Chandan!<br>
      <br>
      Is there any way you could monitor the endpoints? If so, you can
      use the load balancer pinging, that will automatically disable the
      end point when it is not responding, and monitor the state over
      MI.<br>
      <br>
      If there is no way you monitor the endoints, you could:<br>
      1. Check the tm transactions ended with 4xx status. If you see a
      spike, send an alert. The comand to do that is:<br>
      opensipsctl fifo get_statistics 4xx_transactions<br>
      <br>
      2. Create your own statistics in the script based on the endpoint.
      In the script, do something like this:<br>
      if (t_check_status("486"))<br>
          update_stat("$stat(tran_486_$<wbr>si)", "+1");<br>
      <br>
      Again, monitor these statistics over MI and if you see spikes,
      send alerts.<br>
      <br>
      These are the solutions I am thinking of. Hope they are helpful.<br>
      <br>
      Best regards,</tt><br>
    <pre class="m_6510335186759102366moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="m_6510335186759102366moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
    <div class="m_6510335186759102366moz-cite-prefix">On 01/11/2017 08:51 AM, Chandan PR
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>Recently one of our endpoints stopped responding and due to
          which nearly almost all of the calls ended up in 486.</div>
        <div><br>
        </div>
        <div>Is there any functions we can use to monitor the response
          codes per node over a duration so that we can raise an alert
          to take corrective actions in such cases.</div>
        <div><br>
        </div>
        <div><b>The version of OpenSips we are using is 1.9.x</b></div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Chandan</div>
      </div>
      <br>
      <fieldset class="m_6510335186759102366mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_6510335186759102366moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_6510335186759102366moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>