Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Configure important EMS events to forward notifications to a syslog server with customization Port
2022-04-18
05:30 AM
2,573 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to Configure important EMS events to forward notifications to a syslog server with customization Port
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To log notifications of the most severe events on a syslog server, you must configure the EMS to forward notifications for events that signal important activity.
What you’ll need
DNS must be configured on the cluster to resolve the syslog server name.
About this task
If your environment does not already contain a syslog server for event notifications, you must first create one. If your environment already contains a syslog server for logging events from other systems, then you might want to use that one for important event notifications.
You can perform this task any time the cluster is running by entering the commands on the ONTAP command line.
Steps
Create a syslog server destination for important events:
event notification destination create -name syslog-ems -syslog syslog-server-address
Configure the important events to forward notifications to the syslog server:
event notification create -filter-name important-events -destinations syslog-ems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@shaneo One thing to note about those documented steps is there is no command / flag to put in a custom port.
Take a look at https://community.netapp.com/t5/ONTAP-Discussions/Syslog-custom-port/m-p/163997 and you might get a clearer picture. Seems custom ports aren't actually supported or something along those lines.
So in the mentioned thread they used iptables to work around it, you could also maybe consider using a proxy of some kind to re-route the requests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@RossC Thanks for sharing the link. Let us try to configure the IPset+IPtables for routing to a different port or proxy server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello:
This article will give you a better understanding of the principle and process of EMS configuration
i hope to help you
