+ Fix typo

This commit is contained in:
garnier-quentin 2016-09-30 19:27:23 +02:00
parent 398b000f83
commit 530ac29f47
1 changed files with 2 additions and 2 deletions

View File

@ -62,9 +62,9 @@ sub run {
my $result = $self->{snmp}->get_leef(oids => [$oid_iveTemperature], nothing_quit => 1);
my $exit_code = $self->{perfdata}->threshold_check(value => $result->{$oid_iveTemperature},
threshold => [ { label => 'critical', 'exit_litteral' => 'critical' }, { label => 'warning', exit_litteral => 'warning' } ]);
threshold => [ { label => 'critical', exit_litteral => 'critical' }, { label => 'warning', exit_litteral => 'warning' } ]);
$self->{output}->output_add(severity => $exit_code,
short_msg => sprintf("Blade Temperautre is %.2f C",
short_msg => sprintf("Blade Temperature is %.2f C",
$result->{$oid_iveTemperature}));
$self->{output}->perfdata_add(label => 'temperature', unit => 'C',
value => sprintf("%.2f", $result->{$oid_iveTemperature}),