- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE 3PAR StoreServ Storage
- >
- Automatic Sending of HP 3Par command through email...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- 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
- 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
- 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
- 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
- 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.