+ Fix #186
This commit is contained in:
parent
44a6487f85
commit
04ebdc5837
|
@ -98,8 +98,12 @@ sub run {
|
||||||
|
|
||||||
$self->{output}->perfdata_add(label => "time", unit => 's',
|
$self->{output}->perfdata_add(label => "time", unit => 's',
|
||||||
value => sprintf('%.3f', $timeelapsed),
|
value => sprintf('%.3f', $timeelapsed),
|
||||||
|
min => 0);
|
||||||
|
$self->{output}->perfdata_add(label => "entries",
|
||||||
|
value => $num_entries,
|
||||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'),
|
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'),
|
||||||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical'));
|
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical'),
|
||||||
|
min => 0);
|
||||||
|
|
||||||
$self->{output}->display();
|
$self->{output}->display();
|
||||||
$self->{output}->exit();
|
$self->{output}->exit();
|
||||||
|
|
Loading…
Reference in New Issue