+ Fix typo
This commit is contained in:
parent
398b000f83
commit
530ac29f47
|
@ -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}),
|
||||
|
|
Loading…
Reference in New Issue