Hi all!

we have set SNMP stats on our production server. The server is only receiving 1% of the calls, less than 1 CAPS, but we are receiving some SNMP alarms that are a bit weird to us.

image.png
This is an example. 
As we were unsure about the thresholds to be set for Msg Queue, we set Minor to 20 and Major to 100, which resulted in some alarms when we exceeded the Major threshold.
From our understanding, the Max Major MSG Queue threshold was 2176, which obviously generated an alarm.
But we can't understand why when a Msg Queue depth of 1280 generated an Minor Threshold alarm when the threshold is 20!! Why not generate a Major Threshold alarm instead, as it did reach the Major Threshold ?
Also, does anyone have a clue on how to estimate Major and Minor thresholds? 
How does this Msg Queue handler work? Is it Kamailio's level or on OS/Kernel level that it gets the statistics from?
Apart from the official Kamailio SNMPStats docs, any doc or article one would share? 

greatly appreciated.

( I so much hate SNMP!!! :) )


Atenciosamente / Kind Regards / Cordialement / Un saludo,


Sérgio Charrua