snmptrapd drops trap packets
Posted: Thu Oct 09, 2014 9:49 am
Hello,
We configured snmptrapd on our nagios server to process snmp traps.
We noticed that snmptrapd drops trap packets when snmp traps are sent at high rate.
We found this page (http://sourceforge.net/p/net-snmp/mailm ... e/7883695/) which suggest to enlarge the buffer of the application by increasing the value of the parameter "serverRecvBuf"
The manpage of snmp.conf says:
-----------
serverRecvBuf INTEGER
specifies the desired size of the buffer to be used when receiving incoming SNMP requests. If the OS hard limit is lower than the serverRecvBuf
value, then this will be used instead. Some platforms may decide to increase the size of the buffer actually used for internal housekeeping.
This directive will be ignored if the platforms does not support setsockopt().
-----------
How can we find out the current value of serverRecvBuf?
Thanks
BRegards
We configured snmptrapd on our nagios server to process snmp traps.
We noticed that snmptrapd drops trap packets when snmp traps are sent at high rate.
We found this page (http://sourceforge.net/p/net-snmp/mailm ... e/7883695/) which suggest to enlarge the buffer of the application by increasing the value of the parameter "serverRecvBuf"
The manpage of snmp.conf says:
-----------
serverRecvBuf INTEGER
specifies the desired size of the buffer to be used when receiving incoming SNMP requests. If the OS hard limit is lower than the serverRecvBuf
value, then this will be used instead. Some platforms may decide to increase the size of the buffer actually used for internal housekeeping.
This directive will be ignored if the platforms does not support setsockopt().
-----------
How can we find out the current value of serverRecvBuf?
Thanks
BRegards