+ update bluecoat plugin mode hardware

This commit is contained in:
garnier-quentin 2015-08-26 14:05:04 +02:00
parent 2b302a864f
commit d5fd0d52f7
1 changed files with 2 additions and 3 deletions

View File

@ -127,8 +127,8 @@ sub check_options {
} else { } else {
($section, $instance, $status, $filter) = @values; ($section, $instance, $status, $filter) = @values;
} }
if ($section !~ /^sensor$/) { if ($section !~ /^sensor|disk|sensor_opstatus$/) {
$self->{output}->add_option_msg(short_msg => "Wronghreshold-overload section '" . $val . "'."); $self->{output}->add_option_msg(short_msg => "Wrong threshold-overload section '" . $val . "'.");
$self->{output}->option_exit(); $self->{output}->option_exit();
} }
if ($self->{output}->is_litteral_status(status => $status) == 0) { if ($self->{output}->is_litteral_status(status => $status) == 0) {
@ -304,7 +304,6 @@ sub get_severity {
return $status; return $status;
} }
1; 1;
__END__ __END__