mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
enh(checkpoint) set perfdata max connections number (#2224)
This commit is contained in:
parent
75fe696007
commit
1f8c1c2d5e
@ -97,7 +97,8 @@ sub run {
|
||||
value => $result->{$oid_fwNumCom},
|
||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning', %total_options),
|
||||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical', %total_options),
|
||||
min => 0
|
||||
min => 0,
|
||||
max => (defined($result->{$oid_fwConnTableLimit}) && $result->{$oid_fwConnTableLimit} > 0) ? $result->{$oid_fwConnTableLimit} : undef
|
||||
);
|
||||
|
||||
$self->{output}->display();
|
||||
|
Loading…
x
Reference in New Issue
Block a user