This commit is contained in:
garnier-quentin 2020-02-28 10:23:26 +01:00
parent 4e460c34be
commit e6453003ab
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ sub check {
threshold => [ { label => 'critical-sensor-instance-' . $instance, exit_litteral => 'critical' },
{ label => 'warning-sensor-instance-' . $instance, exit_litteral => 'warning' } ]);
$warn = $self->{perfdata}->get_perfdata_for_output(label => 'warning-sensor-instance-' . $instance);
$crit = $self->{perfdata}->get_perfdata_for_output(label => 'critical-sensor-instance-' . $instance)
$crit = $self->{perfdata}->get_perfdata_for_output(label => 'critical-sensor-instance-' . $instance);
}
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {