mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
Merge pull request #2123 from UrBnW/watchint
fix(whatchguard) maxint issue
This commit is contained in:
commit
04946bc0dd
@ -123,6 +123,11 @@ sub manage_selection {
|
|||||||
next;
|
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},
|
$self->{policy}->{$instance} = { display => $result->{wgPolicyName},
|
||||||
%$result
|
%$result
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user