02-05-2021 06:50 AM
I'm trying to use EEM to send an email containing a simple message when a track goes down, on switch nexus 7k
However, when configuring the actions of the event manager, I do not find the "mail to" option. When do I write "?" after the action, I have only these options:
NXOS(config-applet)# action 1.1 ?
cli Configure a VSH CLI action
counter Specify the name of the counter
eem Event Manager command
event-default Do default action for the event
forceshut Force the entire switch to shut down
overbudgetshut Shut down the specified LCs due to power over budget
policy-default Do default action(s) of the policy being overridden
reload Reload the system or a specific module
snmp-trap Send out an SNMP trap
syslog Generate a syslog message
Could someone help me on how I could get EEM to send this email alert?
02-05-2021 08:18 AM
- You may find this thread helpful :
M.
02-05-2021 09:37 AM
I've seen this thread
But, the answer that was dated in this question, is using exactly the feature that is not available, that would be
R1 (config-applet) #action 4.0 mail server "11.0.0.2" to "Mithun.adhikary@dimensiondata.com" from "eem@cisco.com" subject "test" body "current users $ _cli_result"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide