[SR-Users] Statistics help

Henning Westerholt hw at skalatan.de
Wed May 29 21:53:05 CEST 2019


Hello Duarte,

have you looked into the statistics module - you could implement a custom statistics counter for your rate limit logic in the cfg. This can be also evaluated by the mentioned means.

Cheers,

Henning

Am 29.05.19 um 15:52 schrieb Duarte Rocha:
Greetings,

I'm doing some monitoring of my Kamailio in order to quickly identify system failures and overloads.

In order to do that i have scripts that read the output of "kamcmd sl.stats" and identify the rising of "500_replies", "5xx_replies" and "6xx_replies".

However, i have rate limiting on my Kamailio, which generates "503" replies when limit is reached, which generates an unnecessary alarm.

Is there a way to get more specific stats about the repleis generated by Kamailio? If that isn't possible, will i be safe only monitoring "500" and "6xx" replies? In my experience, when the server has reached a processing or memory limit, the reply is always 500, but i'm not really sure about this.

Thank you for your help.

Best Regards,

Duarte Rocha



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190529/bf3713ee/attachment.html>


More information about the sr-users mailing list