Well-Formatted Output from EEM-Python Script on Nexus 9.3 Terminal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 06:07 AM - edited 05-24-2024 06:17 AM
Hello Community,
I am currently working on an Embedded Event Manager (EEM) script that triggers a Python script whenever a specific event occurs on a Nexus 9.3 switch. The Python script generates a table that I want to display to the user directly on the terminal/console.
Initially, I tried using the syslog to print the output, but the formatting of the table is not preserved, which impacts readability and the professional presentation of the data. I am seeking a method to display the output in a well-formatted manner.
Has anyone faced a similar challenge or can anyone suggest an alternative approach to achieve this? Any guidance or examples would be greatly appreciated.
Thank you.
- Labels:
-
Server Networking
