diff --git a/network/juniper/mag/mode/bladetemperature.pm b/network/juniper/mag/mode/bladetemperature.pm index cc4c7486d..8fdf8d875 100644 --- a/network/juniper/mag/mode/bladetemperature.pm +++ b/network/juniper/mag/mode/bladetemperature.pm @@ -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}),