01-19-2023 07:17 AM
Ran into an interesting problem, seems EEM (script) cli commands have a character limit. Was curious if its a hard limitation of if it can be increased.
Here is the command in question:
action 8.5 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "$_event_pub_time: failover event" body "Failover triggered-Random Office traffic has been redirected to location router(ISP name) router." vrf Mgmt-intf source-address x.x.x.x
command above cuts off short.. if i shorten the 'body' portion to some degree, then it will apply. this is not ideal as i would want to have good details in the email body. shorten it too much and it wont make sense.
Help
Solved! Go to Solution.
01-19-2023 08:33 AM
Hello,
interesting...never noticed this before, but you are right.
I am afraid the only 'solution' is to convert your EEM script to a TCL. There is a tool for that:
01-19-2023 08:33 AM
Hello,
interesting...never noticed this before, but you are right.
I am afraid the only 'solution' is to convert your EEM script to a TCL. There is a tool for that:
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