HPE Nimble Storage Solution Specialists
1754453 Members
2810 Online
108814 Solutions
New Discussion

Re: Nimble Capacity Reporting

 
SOLVED
Go to solution
Niveda
Occasional Advisor

Nimble Capacity Reporting

We are looking to automate the capacity reporting from Nimble storage arrays every week as an email that is sent out. This is to be kept informed of the capacity and space consumptions in place .

I tried the executive option in infosight but its very simple with space savings alone doesnt really show whats taking up the space.

Any help?

3 REPLIES 3
Mahesh202
HPE Pro
Solution

Re: Nimble Capacity Reporting

Hi Niveda

You may use the REST API provided by HPE Nimble Storage to automate capacity reporting and get more detailed information about storage consumption.

Here are the general steps you can follow:

1. Set up an API token in the HPE Nimble Storage UI by going to the Administration menu and selecting API Tokens. Create a new token with the appropriate permissions to access the data you need for the capacity report.

2. Use a scripting language like Python to create a script that retrieves the necessary data from the HPE Nimble Storage array using the REST API. You can use the "get" method to retrieve data on volumes, snapshots, capacity, usage, and more.

3. Organize the data retrieved from the array and create a report in a format that can be sent via email. You can use Python libraries such as Pandas or NumPy to manipulate and analyze the data, and then generate the report in a format such as CSV or Excel.

4. Use a task scheduler or cron job to run the script automatically every week and send the report via email. You can use the Python built-in smtplib library to send the email with the report as an attachment.

Here are some helpful resources to get started with the HPE Nimble Storage REST API and Python:

• HPE Nimble Storage REST API Documentation: https://infosight.hpe.com/InfoSight/media/cms/active/public/pubs_api_nimblestorage_nimblestorage-REST-API.pdf
• HPE Nimble Storage REST API Quick Start Guide: https://infosight.hpe.com/InfoSight/media/cms/active/public/pubs_api_nimblestorage_nimblestorage-REST-API-quick-start.pdf
• Python Requests Library (for making REST API calls): https://docs.python-requests.org/en/latest/
• Python Pandas Library (for data manipulation and analysis): https://pandas.pydata.org/

hope this helps!

Regards
Mahesh.

If you feel this was helpful please click the KUDOS! thumb below!

I work for HPE.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo


Niveda
Occasional Advisor

Re: Nimble Capacity Reporting

Thanks Mahesh!

 

Much appreciated!

 

Also latest update from HPE that Engineering works on this feature in the browser to send out email notifications and is in process.Theres an RFE too.

Cheers!

Arti23
Established Member

Re: Nimble Capacity Reporting

Hello Everyone can anyone help me with these  docs please, I am uanble to download them-

Here are some helpful resources to get started with the HPE Nimble Storage REST API and Python:

• HPE Nimble Storage REST API Documentation: https://infosight.hpe.com/InfoSight/media/cms/active/public/pubs_api_nimblestorage_nimblestorage-REST-API.pdf
• HPE Nimble Storage REST API Quick Start Guide: https://infosight.hpe.com/InfoSight/media/cms/active/public/pubs_api_nimblestorage_nimblestorage-REST-API-quick-start.pdf

Arti