fix ibm tsm modes

This commit is contained in:
qgarnier 2017-09-29 13:56:23 +02:00
parent 70da414ff2
commit fcb5f1aa62
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ sub manage_selection {
my ($self, %options) = @_;
my $response = $options{custom}->execute_command(
query => "SELECT date_time, severity, message FROM actlog WHERE date_time > current_timestamp-" . $self->{option_results}->{filter_time} . " hours"
query => "SELECT date_time, severity, message FROM actlog WHERE date_time>current_timestamp-" . $self->{option_results}->{filter_time} . " hours"
);
$self->{alarms}->{global} = { alarm => {} };
my $last_time;

View File

@ -130,7 +130,7 @@ sub manage_selection {
my ($self, %options) = @_;
my $response = $options{custom}->execute_command(
query => "SELECT volume,name, stgpool_name, status, pct_utilized FROM volumes"
query => "SELECT volume_name, stgpool_name, status, pct_utilized FROM volumes"
);
$self->{volumes} = {};
$self->{global} = { total => 0, online => 0, offline => 0, empty => 0, pending => 0, filling => 0, full => 0 };