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@lists.kamailio.org<mailto:sr-users@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