diff --git a/apps/backup/tsm/local/mode/actlog.pm b/apps/backup/tsm/local/mode/actlog.pm index e1c7eaaa2..c60f78528 100644 --- a/apps/backup/tsm/local/mode/actlog.pm +++ b/apps/backup/tsm/local/mode/actlog.pm @@ -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; diff --git a/apps/backup/tsm/local/mode/volumes.pm b/apps/backup/tsm/local/mode/volumes.pm index b431db465..3dd5d8c3d 100644 --- a/apps/backup/tsm/local/mode/volumes.pm +++ b/apps/backup/tsm/local/mode/volumes.pm @@ -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 };