I try to configure the Embedded Event Manager (EEM) in my ASA5508 to perform an automatic task for me. The task is to automatically output the "show running-config" into a new file. I want to use this as auto config backup for my device.
The problem is the task does not run on its own. And when I run it manually, it gives me the error message of Applet not configured with 'event none'.
This is the configuration of the task in EEM.
Could someone please tell me what the problem is?
event manager applet syslog_redirect event timer cron cron-entry "0 * * * *" maxrun 86400 action 0.00 cli command "term len 0" action 0.01 set i "0" action 0.02 while $i lt 24 action 0.03 cli command "show run | redirect ftp://balajibandi.com/$i:00_hours.cfg" action 0.04 increment i 1 action 0.05 wait 3600 action 0.06 end
try and let me know.
I figured out how to integrate the username and password into the FTP.
This is my EEM config and it's running fine.
event manager applet ConfigUpload description This task will backup the running configuration event timer watchdog time 180 action 1 cli command "copy /noconfirm running-config ftp://USERNAME:PASSWORD@MYFTP.COM/array1/ASA5508/ASA/" output none
How can I append a date and time onto file name?
Adding the _$_event_pub_sec does not seem to work.
The output file show the exact same name as I input.
Here is the action i have.
copy /noconfirm running-config ftp://USERNAME:PASSWORD@SERVER/array1/ASA5508/ASA/running_$_event_pub_sec