cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1870
Views
0
Helpful
6
Replies

Backup task in EEM error out with Applet not configured with 'event none'

A company
Level 1
Level 1

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.

EEM Applet not configured with event none.jpg

Could someone please tell me what the problem is?

 

Many thanks.

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

try

 

action 0 cli command "copy /noconfirm running-config  Destination "
output none

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

@balaji.bandi, could you give em an example of backup the running config onto an FTP storage location?

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. 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

@balaji.bandi

 

I figured out how to integrate the username and password into the FTP.

This is my EEM config and it's running fine.

2018-09-10 16_58_52.jpg

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?

 You can add _$_event_pub_sec to get a timestamp added to the filename.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

@balaji.bandi

Adding  the _$_event_pub_sec does not seem to work.2018-09-14 10_51_19.jpg

 

 

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

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: