begemotIfPoll timer interval is set to value 10 times higher then should be.
Timer interval is correctly counted in ticks (1/100 s) in function mibif_reset_hc_timer (in file contrib/bsnmp/snmp_mibII/mibII.c:375)
Then timer_start_repeat is called. This function expects ticks (1/100 s) as parameter, but is called with miliseconds.
< if ((hc_update_timer = timer_start_repeat(ticks * 10, ticks * 10,
> if ((hc_update_timer = timer_start_repeat(ticks, ticks,
/usr/sbin/bsnmpd -d -D events
and in debug output look at 1st parameter of poll_start_utimer.
HC polling code was submitter by glebius in 2006. Perhaps, he can tell if 10x multiplier was intentional.
A commit references this bug:
Date: Wed Jan 9 05:53:59 UTC 2019
New revision: 342877
Timer interval is correctly counted in ticks (1/100 s) in
mibif_reset_hc_timer(). Multiplication by 10 is erroneous
and is probably a blind copy and paste from next function.
Submitted by: Vitezslav Novy <vnovy vnovy.net>
Fixed in head. Thanks!