using event manager on 6513 switch

Answered Question
May 20th, 2008

Hello everyone. Trying to create event manager event on 6513 switch IOS 12.2(33) to do rinning-config automatic back up but for some reason it does not work. Here is the set of commands:

event manager applet Archive_Configuration

event timer cron name "Archive_Configuration" cron-entry "0 1 * * *"

action 1.0 cli command "archive config"

It does not start applet. archive config works fine when triggered manually. Thanks in advance.

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 8 years 6 months ago

This applet will run every day at 0100. You should be running NTP on this switch so that the internal clock is correct.

Next, your action list is wrong. The archive config command requires enable access. So, your applet should be:

event manager applet Archive_Configuration

event timer cron name "Archive_Configuration" cron-entry "0 1 * * *"

action 1.0 cli command "enable"

action 2.0 cli command "archive config"

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Tue, 05/20/2008 - 07:38

This applet will run every day at 0100. You should be running NTP on this switch so that the internal clock is correct.

Next, your action list is wrong. The archive config command requires enable access. So, your applet should be:

event manager applet Archive_Configuration

event timer cron name "Archive_Configuration" cron-entry "0 1 * * *"

action 1.0 cli command "enable"

action 2.0 cli command "archive config"

20vek Wed, 05/21/2008 - 14:57

Oops, I missed enable command here. Thanks a lot for your help.

Actions

This Discussion