- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- MSA Storage
- >
- Convert XML output to human readable via SSH
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
Forums
Discussions
Discussions
Discussions
Forums
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
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
тАО11-21-2024 05:14 PM - last edited on тАО11-24-2024 08:03 PM by support_s
тАО11-21-2024 05:14 PM - last edited on тАО11-24-2024 08:03 PM by support_s
Hello, I have a bash script that runs from a Linux server, it makes connections via SSH to Storage such as HPE 3par and HPE Primera, I want to implement this on an HPE MSA 2060, the script runs some tasks and validations with the sshpass command, but in the MSA the output that it returns is the XML format, for example to validate the events with "show task" or "show events" this returns it in XML format, is there a way to change the output from the XML format to human readable? thanks a lot for your help
Solved! Go to Solution.
- Tags:
- MSA Storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2024 12:31 AM
тАО11-22-2024 12:31 AM
SolutionHello@FrediCocon,
Please check the link below for CLI output modes and scripts to access CLI,
HPE MSA 1060/2060/2062 CLI: https://www.hpe.com/psnow/doc/a00105313en_us
You may use the xmllent, XMLStarlet, or Python scripts to view readable format.
Hope this helps!
Regards,
Venkat
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2024 10:43 PM
тАО11-24-2024 10:43 PM
Query: Convert XML output to human readable via SSH
Hello,
Let us know if you were able to resolve the issue.
If you have no further query, and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2024 02:15 PM
тАО11-25-2024 02:15 PM
Re: Convert XML output to human readable via SSH
Hello, thank you for your support, we will explore these options, but surely here is the answer
Regards
Fredi Coc├│n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2024 08:08 PM
тАО11-25-2024 08:08 PM
Re: Convert XML output to human readable via SSH
Hello Fredi,
Perfect!
We are glad to know your concern has been addressed.
Thanks,
Sunitha G
I'm an HPE employee.
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
