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