cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1253
Views
0
Helpful
1
Replies

EEM e-mail notification on NX-OS

altaf007
Level 1
Level 1

Greetings ,

I am trying to configure below EEM script on NX-OS but it seems like NX-OS does not support E-mail notification . Below scripts works on 3850/IOS . I was wondering if anybody has any suggestion or solution to make below script work on NX-OS . Thanks

action 0.5 info type routername  : Not supported on NX-OS

action 1.0 mail server : not supporrted

 

Below script works on IOS but not with NX-OS,

 

event manager environment _email_to your-to-mail@domain.com
event manager environment _email_server your.mail.server
event manager environment _email_from your-from-mail@domain.com


action 0.5 info type routername
action 0.9 regex "hostname (.*)" "$_cli_result" $_info_routername
action 1.0 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "$_event_pub_time: Port Security Violation occured on $_info_routername" body "$_syslog_msg"

1 Reply 1

altaf007
Level 1
Level 1

Any ideas @Joe Clarke  to write EEM e-mail notification on NX-OS ? I have Nexus 5548/5572 running 7.3.3. Thanks !

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco

Ā