Please help write applet for ssh connection between cisco nexus 7010.
How to get authorization for ssh connection.?.How enter password for ssh connect?
My sample applet:
event manager applet test
event syslog pattern "xxxxx"
action 1.0 cli ssh email@example.com
action 1.1 cli conf t
action 1.3 cli int lo333
action 1.4 cli desc ttttttt
What you could do is use EEM to send a syslog message to a syslog host. That host would then need a script (e.g., expect) that could connect to the remote host to perform the desired actions.
Still question: under which user performed event manager applets? (nx-os)
In cisco ios can be set out under which user to run applets:
event manager session cli username "event_manager"
I haven't tried. It may work, but any changes to the permissions could also prevent EEM applets from running.