mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix(whatchguard) maxint issue
This commit is contained in:
parent
612c3bc7a2
commit
a36f598e27
@ -123,6 +123,11 @@ sub manage_selection {
|
||||
next;
|
||||
}
|
||||
|
||||
# Must be a Watchguard bug, where wgPolicyCurrActiveConns sporadically returns 2^32−1...
|
||||
if ($result->{wgPolicyCurrActiveConns} == 4294967295) {
|
||||
$result->{wgPolicyCurrActiveConns} = 0;
|
||||
}
|
||||
|
||||
$self->{policy}->{$instance} = { display => $result->{wgPolicyName},
|
||||
%$result
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user