turbot/steampipe-mod-ibm-insights

Dashboard: IBM Block Storage Volume Dashboard

This dashboard answers the following questions:

  • How many volumes are in each account, region and zone?
  • How much storage is allocated across all volumes?
  • How many unattached volumes are there?
This dashboard contains 3 cards.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-ibm-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select IBM Block Storage Volume Dashboard dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run ibm_insights.dashboard.ibm_blockstorage_volume_dashboard --share

Queries

This dashboard uses the the following queries:
with attachment_state as (
select
case
when jsonb_array_length(volume_attachments) > 0 then 'attached'
else 'unattached'
end as attachment_status
from
ibm_is_volume
)
select
attachment_status,
count(*)
from
attachment_state
group by
attachment_status;

Tags