- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: H3C log transfer to the mailbox
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
05-31-2015 10:42 AM
05-31-2015 10:42 AM
H3C log transfer to the mailbox
Hi,
I want to know if it is possible to transfer the log displayed by #display log command to an email address ?
Thank you for your help.
Regards
Ferdo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2015 07:33 PM
05-31-2015 07:33 PM
Re: H3C log transfer to the mailbox
Comware supports Python, https://github.com/networkingdvi/HPN-Scripting
Python can do smtp, smtplib.SMTP([host[, port[, local_hostname[, timeout]]]]
So, yes, you can probably write a script to accept as input the result of a show log and send it to email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2015 06:55 AM
06-01-2015 06:55 AM
Re: H3C log transfer to the mailbox
Hi
Thank you for help.
Il will try.
Regards
Ferdo