<div dir="ltr">Thanks Razvan. I will look into using that.<div><br></div><div>Is it possible to add such stats to drouting? I'm guessing it would be useful to others too.</div><div>Feature request?</div><div><br></div><div>Best regards</div><div>Mark.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 27 Jul 2020 at 08:23, Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi, Mark!<br>
<br>
Unfortunately the drouting module does not export any statistics. You <br>
can however use the statistics module[1] and define your own statistics, <br>
that you have to manually update them from the script according to your <br>
needs.<br>
<br>
[1] <a href="https://opensips.org/docs/modules/3.1.x/statistics.html" rel="noreferrer" target="_blank">https://opensips.org/docs/modules/3.1.x/statistics.html</a><br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 7/17/20 4:39 PM, Mark Farmer wrote:<br>
> Hi everyone<br>
> <br>
> I have been asked to look into getting Nagios to monitor active calls on <br>
> specific Dynamic Routing gateways.<br>
> <br>
> Looking at the drouting() docs I don't see any exported statistics.<br>
> Is there a way to do this please?<br>
> <br>
> Many thanks<br>
> Mark.<br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">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-bin/mailman/listinfo/users</a><br>
> <br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>