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"