#9513 Fixed storm_protection with snmp_lock
This commit is contained in:
parent
8097001b19
commit
fdb4540fd0
|
@ -147,7 +147,9 @@ sub data_producer ($) {
|
|||
|
||||
# Reset storm protection counters
|
||||
my $curr_time = time ();
|
||||
if ($pa_config->{"__storm_ref__"} + $pa_config->{"snmp_storm_timeout"} < $curr_time) {
|
||||
if ($pa_config->{"__storm_ref__"} + $pa_config->{"snmp_storm_timeout"} < $curr_time
|
||||
|| $pa_config->{'snmpconsole_lock'} == 1
|
||||
) {
|
||||
$pa_config->{"__storm_ref__"} = $curr_time;
|
||||
%AGENTS = ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue