ONTAP Discussions
ONTAP Discussions
How to Configure important EMS events to forward notifications to a syslog server with customization Port
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.
DNS must be configured on the cluster to resolve the syslog server name.
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.
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
@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.
@RossC Thanks for sharing the link. Let us try to configure the IPset+IPtables for routing to a different port or proxy server.
hello:
This article will give you a better understanding of the principle and process of EMS configuration
i hope to help you