- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- Automatic Sending of HP 3Par command through email...
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-21-2016 03:38 AM
09-21-2016 03:38 AM
Automatic Sending of HP 3Par command through email - script
Hi, sorry as I do not know yet how to categorize may inquiry correctly in the location.
I am new to the HP Storage Environment and I just would like to ask if you can help me with a task.
Is it possible to create a script wherein the output from a command in HP 3Par be sent in an email in a certain period of time?
For example, the output of a command showrcopy from HP 3PAR be sent to my Outlook email at 6:00 AM GST?
May I know the tools that can be used to achieve this?
Thanks for your time and assistance and help will be all appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-22-2016 09:12 AM
09-22-2016 09:12 AM
Re: Automatic Sending of HP 3Par command through email - script
That should be fine.
First you will need to either install the external 3PAR CLI software, or preferred, set up SSH between your host (desktop?) and your 3PAR system. See the HPE 3PAR Command Line Interface Administrator's Manual for how to use SSH with your system.
Then
ssh {YourSystemCredentials} showrcopy > tempfile
followed by something on your host that would mail the tempfile to your Outlook account.
Note: While I work for Hewlett Packard Enterprise, all of my comments (whether noted or not), are my own and are not any official representation of the company.
----------
If my post was useful, click on my KUDOS! thumb below!
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-22-2016 10:52 PM
09-22-2016 10:52 PM
Re: Automatic Sending of HP 3Par command through email - script
Hi Sheldon,
Thanks for the info.
I am using SSH via Putty for the commands.
What I'm thinking of is to create a script with the help of Windows PowerShell. Will that be possible? If so, may I know the tools or any modules needed, or can the commands on HP 3Par be automatically called in the PS?
Hoping for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-23-2016 07:07 AM
09-23-2016 07:07 AM
Re: Automatic Sending of HP 3Par command through email - script
PuTTY? Then look at the PLINK command if you have not already done so.
Windows Powershell: You can get the HPE 3PAR Powershell Toolkit from the Software Depot. (Google is your friend.)
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-25-2016 04:08 PM
09-25-2016 04:08 PM
Re: Automatic Sending of HP 3PAR command through email - script
>I am using SSH via Putty for the commands.
You can also use the logging there to capture the command output.
>can the commands on HPE 3PAR be automatically called in the PS?
You can invoke the Remote CLI client from your scripts.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP