mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
+ update bluecoat plugin mode hardware
This commit is contained in:
parent
99a5fd2474
commit
2561538748
@ -127,8 +127,8 @@ sub check_options {
|
||||
} else {
|
||||
($section, $instance, $status, $filter) = @values;
|
||||
}
|
||||
if ($section !~ /^sensor$/) {
|
||||
$self->{output}->add_option_msg(short_msg => "Wronghreshold-overload section '" . $val . "'.");
|
||||
if ($section !~ /^sensor|disk|sensor_opstatus$/) {
|
||||
$self->{output}->add_option_msg(short_msg => "Wrong threshold-overload section '" . $val . "'.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
if ($self->{output}->is_litteral_status(status => $status) == 0) {
|
||||
@ -304,7 +304,6 @@ sub get_severity {
|
||||
return $status;
|
||||
}
|
||||
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
||||
|
Loading…
x
Reference in New Issue
Block a user