enh(checkpoint) set perfdata max connections number (#2224)
This commit is contained in:
parent
373eb1c4e0
commit
38b8cb8b1a
|
@ -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…
Reference in New Issue