[OpenSIPS-Users] "opensipsctl fifo get_statistics 5xx_replies" - counter not incrementing

Ben Newlin Ben.Newlin at genesys.com
Fri Mar 20 15:58:50 EST 2020


Apologies for the confusion.

So that is expected if you are using the TM module and creating transactions for all of the 5xx responses, as far as I know.

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of solarmon <solarmon at one-n.co.uk>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Friday, March 20, 2020 at 10:49 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] "opensipsctl fifo get_statistics 5xx_replies" - counter not incrementing

Hi Ben,

Thanks for your input.

It is the other way around - in my case, the transaction counters are incrementing, but not the replies counters.

Thank you.

On Fri, 20 Mar 2020 at 13:09, Ben Newlin <Ben.Newlin at genesys.com<mailto:Ben.Newlin at genesys.com>> wrote:
I believe the XXX_replies statistics only count StateLess (SL module) messages. XXX_transactions count transaction handled by the TM module.

So if replies are incrementing but not transactions, it means you are not creating transactions for these messages.

Ben Newlin

From: Users <users-bounces at lists.opensips.org<mailto:users-bounces at lists.opensips.org>> on behalf of solarmon <solarmon at one-n.co.uk<mailto:solarmon at one-n.co.uk>>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>
Date: Friday, March 20, 2020 at 7:37 AM
Cc: OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>
Subject: Re: [OpenSIPS-Users] "opensipsctl fifo get_statistics 5xx_replies" - counter not incrementing

Hi,

I use opensips 2.4 and the command "opensipsctl fifo get_statistics 5xx_replies" - as documented at:

https://www.opensips.org/Documentation/Interface-CoreMI-2-4#toc12<https://www.opensips.org/Documentation/Interface-CoreMI-2-4#toc12>

Thank you.

On Fri, 20 Mar 2020 at 11:22, Bogdan-Andrei Iancu <bogdan at opensips.org<mailto:bogdan at opensips.org>> wrote:
https://opensips.org/html/docs/modules/3.0.x/tm.html#exported_statistics<https://opensips.org/html/docs/modules/3.0.x/tm.html#exported_statistics>

Not sure where do you get these 5xx_replies stats - which module are they provided by ?

Regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com<https://www.opensips-solutions.com>

OpenSIPS Summit, Amsterdam, May 2020

  https://www.opensips.org/events/Summit-2020Amsterdam/<https://www.opensips.org/events/Summit-2020Amsterdam/>


On 3/20/20 1:15 PM, solarmon wrote:
Hi,

I meant that the 5xx_transactions  counter value does not increment.

However, I have now found the stats counter "5xx_transactions". This does seem to increment appropriately.

So what is the difference between "5xx_replies" and "5xx_transactions"?

Thank you.

On Fri, 20 Mar 2020 at 10:55, Bogdan-Andrei Iancu <bogdan at opensips.org<mailto:bogdan at opensips.org>> wrote:
Hi,

Do you do understand by "stuck" ? no reply to the "get_statistics" cmd? or the value of the statistic does not change ?

Both 4xx and 5xx stats count all transactions completed with such replies.

Regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com<https://www.opensips-solutions.com>

OpenSIPS Summit, Amsterdam, May 2020

  https://www.opensips.org/events/Summit-2020Amsterdam/<https://www.opensips.org/events/Summit-2020Amsterdam/>


On 3/19/20 2:56 PM, solarmon wrote:
Hi,

I'm trying to graph the 4xx and 5xx stats on my opensips cluster. I'm making use of the "opensipsctl fifo get_statistics" command to extract the 4xx and 5xx replies counters.

The 4xx counter (opensipsctl fifo get_statistics 4xx_replies) seems to incrementing as expected.

However, the 5xx counter (opensipsctl fifo get_statistics 5xx_replies) seems to stuck. One cluster the value is zero and the other clusters have an arbitrary high value. I'm expecting this counter to increase as I am seeing 5xx replies going to our opensips clusters.

Are these reply counters for outbound or inbound or both directions?

Why would the counter be stuck even when I can see such 5xx replies (inbound) in the logs and in SIP traces (using sngrep).

Thank you.


_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>



_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>

_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200320/38950643/attachment-0001.html>


More information about the Users mailing list