This commit is contained in:
garnier-quentin 2016-08-19 11:02:33 +02:00
commit f3ff828dfa

View File

@ -95,7 +95,7 @@ sub check {
foreach (@oper_conditions) { foreach (@oper_conditions) {
if ($phys_oper_status{$oper_status} =~ /$$_[0]/i) { if ($phys_oper_status{$oper_status} =~ /$$_[0]/i) {
$self->{output}->output_add(severity => $$_[1], $self->{output}->output_add(severity => $$_[1],
short_msg => sprintf("power supply '%s/%s/%s' oeprationnal status is %s", short_msg => sprintf("power supply '%s/%s/%s' operationnal status is %s",
$name, $descr, $instance, $phys_oper_status{$oper_status})); $name, $descr, $instance, $phys_oper_status{$oper_status}));
last; last;
} }
@ -103,4 +103,4 @@ sub check {
} }
} }
1; 1;