Possible to delay an EEM action?

Hello, I am going to make use of EEM scripting to send to my ftp server some interfaces stats, I´m working with a cisco 3750. However, I´m seeing on event manager history events, that my EEM script (below) is aborted.I think that it might be owed to the fact that I write the data into a file, but writting the file takes too much time and action 4.0 is carried out before the file was available, so it cannot send it out marking the whole task as aborted. Therefore, I was wondering if I can trigger an new event from this event whose duty will be to send the file once it was completely written. May that be done within the EEM?? Or is there another way of stopping the execution of the action4.0 until the action 3.0 was achieved?
event manager applet dataGather
event timer watchdog name dataGather time 900
action 1.0 cli command "enable"
action 2.0 cli command "term length 0"
action 3.0 cli command "show interface vlan 1 | append flash:vlan1I.txt"
action 4.0 cli command "copy flash:vlan1I.txt ftp://myFTPServer/vlan1I.txt "
action 5.0 cli command "delete flash:vlan1I.txt"
Thanks in advance,
Regards!

Hi Juan
Usually the 'copy' commands & 'delete' commands would ask for the confirmation from the users(try to execute them manually).  Unless those confirmations are handled in the applet, it would not proceed the execution.  That should be the issue with your applet(already indicated by Joe).  There are two possible options.
      1) Without changing your applet, you can configure the box for - not to promt for any confirmation (conf t ->
file prompt quiet).  If you configure this CLI, the box will not ask for any confirmation from the users.  So, it would execute the commads in your applet.
       2) Other option which is suggested by Joe already. You should try the CLI commands manually and check for the additional queries / responses shown by the system for those CLIs.
         For example, if you delete a file 'ttt.txt', it is asking for the additional confirmations. 
                    0235-2900#delete flash0:ttt.txt
                    Delete filename [ttt.txt]?
                    Delete flash0:/ttt.txt? [confirm]
         To handle these additional prompts in the applet, the expected string has to be matched by your CLI execution line(Otherwise, it would not complete the operation). For the above case, you can try
                     action 7.0 cli command "delete flash0:ttt.txt" pattern "Delete.*"
                     action 7.1 cli command "ttt.txt"  pattern "Delete.*"
                     action 7.1 cli command ""
           The action 7.1 cli command "" is like sending a 'enter' key in a keyboard.

Similar Messages

  • Hello  My system version 10.5.8  I have installed Safari update - 5.0.6 and the browser stopped working. At openingit shows the following icon:   "Safari has suddenly finished working. Possible problem is in the action of the plugin "TastyAppsAVPlugin".

    Hello
    My system version 10.5.8
    I have installed Safari update - 5.0.6 and the browser stopped working. At openingit shows the following icon:
    "Safari has suddenly finished working. Possible problem is in the action of the plugin "TastyAppsAVPlugin".
    After deleting all plugins from the folder "Internet Plugin", Safari worked again no problem, BUT all sites with flash content (e.g.YouTube) did not work.
    I then tried the following experimental steps:
    a) Moved all plugins from the folder "Internet Plugin" into a temporary folder.
    b) Downloaded and istalled Adobe Flash Player version 10.3.181.34
    c) Started Safari and it did not work ( same message"TastyAppsAVPlugin")
    d) Deleted Adobe Flash Player from the folder "Internet Plugin". Safari worked.
    e) Moved back all plugins, except Adobe Flash Player, from the temporary folder to "Internet Plugin" folder. Safari works... But Flash won't work!!! Before update to Safari 5.0.6 , ev erything worked perfectly well.
    Guys, please solve the problem
    Regards
    Ruslan Reed
    [email protected]

    MayaMa --
    There are many threads on this.  I typed "Uninstalling TastyApps" in the Google search, and came up with these:
    http://www.google.com/search?client=safari&rls=en&q=Uninstalling+tastyapps&ie=UT F-8&oe=UTF-8
    I do not know which of the many TastyApps haxies you have.  Perhaps it would be better to contact them directly, once you know which of their products you have.

  • Is it possible to handle formatted text actions(RTF) using Clipboard?

    Hi All,
    Is it possible to handle formatted text actions(RTF) using Clipboard?
    My application requires to copy the contents from other applications like MS-Word and contents to be pasted in my Application..
    if so how?i appreciate for any piece of code or links to the same.
    Thanks and regds
    Mohan

    -Any Suggestions?

  • Is there any possiblity to run 2 same actions on same day...

    Hi Experts...
    According to my user s need..they want to run "change of position action" twice on the same date with different position Ids.
    I have tried but the recent action overrides the first action details.
    In overview i can able to see only one Change of position action.
    Even i tried to see 0302 IT through SE11.There i have found additional action is there for every action performed to him including Hiring action.There is only one addtional action is showing up for change of position action.
    Please advise me to resolve the problem.
    How i have to answer the client.
    Regards,
    Ram sai.

    Hi,
    Puneet is right. 2 actions are possible (if one of them doesn't change the employment status) but they should be different.
    If you run the same personal action on the same day, then it's not an additional entry but a chang eof the earlier captured action so no recording of a 2nd action.
    Wilfred.
    PS For what it's worth, I won't bother creating an action '2nd position change' because then in no time action 3, 4, 5 will be "required" as well.
    Plain and simple: It's not possible to record the same action on the same day twice.

  • Is it possible to delay certain login items?

    I would like to try and speed up the launching of OS X. It seems to take quite a bit of time to get started. When I first got my Mac, the startup times were much quicker. However, now since I've added a whole bunch of startup applications, it takes much longer. I generally use all of my startup applications, but I do not need most of them when I first login. Would it be possible to delay the launching of certain applications to speed up my startup time? Are there any programs that do this? I imagine it would be possible to write a script to do this.
    Any help would appreciated.

    Delete the apps from Login items and simply click on their Dock icons to launch. That will speed up the boot process. Yes, you could probably write a script, but manually launching is the simple way.

  • Is it possible to grant datasource resume actions to the Operator role?

    Hi gurus,
    I'm trying to grant the JDBC datasource suspend/resume action to the 'Operator' role. I understand this is an admin task and the 'Operator' role cannot do this. I've tried to edit weblogic.management.runtime -> JDBCDataSourceRuntime -> suspend/resume policy Mbean via the JMX editor and added the Opertor role in a new policy, but I haven't been successful.
    Is it possible to provide a user with a script (which can run as an Admin user), without providing the admin credentials to an operator user, so that he can resume a suspended data source?
    Thanks.

    Hello,
    theoretically you could remove the domain admins from the local administrator group. BUT this you should first test in a lab to see what happens after removal on the SCOM server.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • It it possible to use "Build Out" actions in "Hyperlinks Only" mode?

    I'm trying to make a "Hyperlinks Only" keynote so that my students can navigate through exercises at their own pace.  So far so good.  However, I'm trying to make it more visually engaging.  I can use build-in's fine for a page, but build outs do not seem to work.  Keynote's inspector allows me to give an object a "build out" command OR an "action" command, but when the presentation actually runs, tapping the object just takes you immediately to the next slide without doing a build out or an action.
    Is this a bug?  Or is this something Keynote specifically does/can not do?  Or please say I'm just doing something wrong and you can show me the light.
    Thanks in advance.
    --Brandon

    Build in and build out work perfectly well.
    select the object on the slide then add the build in effect
    start the build to automatically after transition
    open the build order side panel by clicking more options
    build out:
    select build out and add the effect
    set start build automatically then add the amount of delay
    note that the build order has the build in listed first, and the build out is last

  • Is it possible to make several copy actions to a plan in COPA?

    Hi Experts,
    In COPA, we would like to copy actual data from last year to the planning we made for reference use. The user should then adjust these actual figures to plan data.
    Since we would like to copy contract data and invoice data (which was sent to COPA via SD) to the plan we need to have two copy actions:
    1. copy actuals with record type A (contract data)
    2. copy actuals with record type F (billing data)
    The problem is now that the data from the second copy action overwrites the data from the first copy action.
    Is there a way to have copy different data to the plan without the data being overwritten?
    And, is it possible to copy data to the plan for only 2 months instead of for the whole year? Now the system says that the period to be copied should be equal to the period from the planning package.
    Best regards,
    Stephan

    Never ever presume that your web page must take up my entire screen.  That's considered rude.   My browser settings and preferences are my choice; not yours.
    If you want to design web pages that fill the end-user's available viewport without scrollbars, use a liquid or semi-liquid layout in percentages.
    http://alt-web.com/TEMPLATES/3-col-semi-liq-layout.shtml
    Alternatively, you can use multiple style sheets & progressive enhancement techniques (media queries) to target specific devices by their width. This is how modern developers are able to support different layouts for smartphones, tablets and desktops.
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • EEM action - shutdown interface not working

    Hi all,
    I am pretty new to EEM. I want to run a job to shutsdown interface gi0/2 if interface goes 0/0 goes down.
    A "show event manager history events" shows it was successfull but the actions are not taking place.
    That's what I have configured
    event manager applet local-int
    event tag shutdown syslog pattern "LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down"
    action 1 cli command "enable"
    action 2 cli command "conf t"
    action 3 cli command "interface gi0/2"
    action 4 cli command "shut"
    I am manually shutting down gi0/0 to test but nothing is happening with gi0/2.
    Can anyone please shed some lights?
    sh event manager history events
    No.  Job Id Proc Status   Time of Event            Event Type        Name
    1    1      Actv success  Wed Dec 1 20:02:12 2010  syslog            applet: local-int
    2    2      Actv success  Wed Dec 1 20:11:16 2010  syslog            applet: local-int
    Thanks

    Thanks. The command was very useful.
    I added the "event manager session cli username USER".
    Cheers

  • Is it possible to delay a rolling upgrade after a single domain is updated?

    Hello,
    I am working on new Azure services for my group. For various reasons, we have decided that a Staging / VIP-Swap deployment is not useful for our group and will be going with a rolling upgrade. What I am interested in, is knowing if there is a way to
    "pause" a rolling upgrade after the first update domain until it is released to complete. Or, for a set time ( 30 minutes, etc ), to allow us the opportunity to essentially have a A-B deployment of our webrole, to observe behavior while receiving
    production traffic before the release has completely deployed.
    Thanks for your help
    Jeff

    hello Jeff,
    Currently, base on my experience, delay a rolling upgrade or "pause" a rolling upgrade after the first update domain until it is released to complete, it may be difficult. I suggest you could can submit a feature suggestion on
    http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting. I suggest you could get more detail about upgrade domain and fault domain (http://blog.toddysm.com/2010/04/upgrade-domains-and-fault-domains-in-windows-azure.html).
    Best Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Go to Bookmark target is hidden. Is it possible to show when the action is triggered?

    Hi all,
    Per the Title, I have an SSRS report with a summary tablix at the top. The body cell has the Action: Go to BookMark.
    The target is a second tablix set up with drilldown. The groups are hidden by default.
    When the action occurs, the report jumps to the drilldown tablix rather than the bookmark. If the groups are manually shown, then the action now jumps to the correct part of the drilldown tablix.
    What I would like is for the action to open any hidden groups in which the bookmark target has as a parent context.
    Can anyone help?

    Hi philmorrisblackrose,
    According to your description, after you add go to bookmark action to go to drill down report, if the detail information is expanded, it can jump to target position without any problem, otherwise it jump to the drilldown tablix.
    After we add Go to bookmak action to the report, when we preview the report, it jump to the taget position according to BookmarkId by design, there is no event handle in a report. We could not go to hidden bookmark use go to bookmark action.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Is it possible to delay the flash on a T5i to fire at the end of a long exposure shot

    I'm wanting to take long exposure shots of dancers and would like the flash to fire at the end of the exposure instead of the begining to increse the depth of field right as the shutter closes. Is that possible using the on camera flash of a T5i and if so what are the settings?
    Thanks,
    John

    When you use a TTL flash (Canon's E-TTL or E-TTL II) the camera uses a multi-zone metering system (think of an imaginary grid system overlaying your image) and (1) meters with no flash at all, then (2) fires a pre-flash at very low power while simultaneously metering again.  It then compares the difference in each zone between #1 and #2 to determine how much of a difference the flash made.  By doing this it can identify highly reflective surfaces (e.g. mirrors, glass, reflective metals, etc.) and eliminate those from the flash evaluation.  It can also find zones where the flash seemingly made no difference at all (e.g. if there was a light source in that zone... such as a lamp) and elminate those.   Light sources and reflections would ordinarily fool a flash metering system into thinking it had produced enough light ... even if it hadn't.  With those zones safely eliminated it can then compare the difference for each zone between #1 and #2 to determine how much addtional power should be necessary to correctly light them.
    It does all of this during the pre-flash.   The shutter is closed when it does this (the light will not affect your image.)
    Then the shutter opens and at some point it fires the flash again... only this time using the power level calculated during the pre-flash phase.  Only this second firing of the flash will show up in your image.
    If you switch the flash to manual mode, you wont get a pre-flash.
    The on-board flash is useful as a "fill" flash (decreasing the severity of shadows) and it can be used as a primary flash IF the subject is reasonably close (e.g. around 10' is fine... 14' feet is a stretch and beyond that... not so great.)
    An externally attached speedlite flash can provide significantly more power.  It can also be located off-camera to provide better lighting (on camera lighting is "flat" because there's no highlight/shadow side to any 3D surface... textures look 2D as a result.)
    As for "depth of field"... this is a different problem and the flash can help, but there are some caveats.
    If you're shooting indoors with only the available light in the room, then you're likely in challenging circumstances and using lenses with wide-open apertures.  Hence the depth of field is fairly narrow.
    If you could increase the lighting then you could reduce the aperture opening and increase the depth of field.
    But there is a catch.... light exhibits a property sometimes called "fall off".  This is because it follows a rule in physics called the "inverse square law" whereby the intensity of light decreases as the distance from the light source increases.  Each time the distance from the light source increases by the square root of 2, the light intensity is cut in half (exactly half... that's not an approximation.)  E.g. the amount of light illuminating a subject which is 14.1 feet away from the flash will be exactly half as compared to a subject which was only 10' away.  The square root of 2 is approximately 1.41.  So 10 x 1.41 = 14.1.  
    This means if you are photographing two subjects... one is 10' away and the other is about 14' away then the more distant subject will only receive half as much light.  Suppose we go to a crazy distance... and we have a flash 100' away.  NOW the second person has to be 141' away before they get half as much light.  This means two subjects within just a few feet of each will not receive "noticeably" different levels of light.
    While placing the flash farther from the two subjects will reduce the difference in illumination on your near vs. far subject, built-in flashes cannot handle these larger distances... they don't have enough power.  But an external flash brings more power for you to do this.  
    Canon's speedlite model numbers actually provide an indication of their power level.  If you delete the trailing zero from the model number (e.g. in a 430EX II you'd omit the "0" and get "43"... in a 600EX-RT you'd omit one "0" and get "60', etc.) the number you get is the flash "guide number" in meters.  The "guide number" is an indicator of how far the flash can adequately illuminate a subject... but the f-stop and ISO settings you use on the camera will change this.  So the "guide number" uses a baseline ISO of 100 and a baseline f-stop of f/1.  Of course you don't have an f/1 lens but the baseline is used because it makes the math easy. You divide the guide number by the f-stop you are using.  e.g. if you are shooting at ISO 100 and f/8 then you'd divide your guide number (suppose you have a Canon Speedlite 600EX-RT.. that's a guide number of 60 meters) and you'd get 60 ÷ 8 = 7.5 meters.  Convert meters to feet and that works out to 24.6 (about 25').  Of course that's at ISO 100. Bump up to ISO 200 and you can multiply that distance by 1.41... or bump up to ISO stops to ISO 400 and you can double the distance (about 50'... and that's at f/8).
    I should caveat that this assumes you are pointing the flash directly at the subject and there are no light modifiers in use (no soft-diffusers, you aren't "bouncing" the flash off a ceiling or wall, etc.)
    Here's a Youtube video that might help you understand the light fall-off problem.
    Tim Campbell
    5D II, 5D III, 60Da

  • Is it possible to delay a download untill a specified time?

    I have very slow and limited bandwidth.  My isp provides free bandwidth from midnight to 6:00AM  Since I am trying to update my iphone software, and it will take 3 hours, I would like to do it overnight.  Is it possible to set it to do it at that time?

    There's no way I can think of besides beginning it, then pausing the download, then coming back right before you go to sleep and resuming it again.  The phone will only need to be connected when you first plug it in to begin the download.

  • Is it possible to delay the startup of automatic wifi sync?

    Here is my problem:
    Wifi sync works just fine.
    There is wifi coverage in my driveway.
    I plug my iphone to my car in the morning to drive to work.
    The iPhone sees the wifi and is now connected to power and it starts another sync.
    I start to drive to work and leave the wifi coverage.
    Now itunes displays a error that must be 'OK'ed before sync will work again.
    So is there a way of delaying the sync like for example start the sync when on the wifi and connected to power for at least 15 minutes?
    Ideally this should be user configurable.
    Say start after 5 hours connected. (to synk at morning after a long night charge)
    Or just to stop problems like mine with a bit too god wifi coverage..

    Here is my problem:
    Wifi sync works just fine.
    There is wifi coverage in my driveway.
    I plug my iphone to my car in the morning to drive to work.
    The iPhone sees the wifi and is now connected to power and it starts another sync.
    I start to drive to work and leave the wifi coverage.
    Now itunes displays a error that must be 'OK'ed before sync will work again.
    So is there a way of delaying the sync like for example start the sync when on the wifi and connected to power for at least 15 minutes?
    Ideally this should be user configurable.
    Say start after 5 hours connected. (to synk at morning after a long night charge)
    Or just to stop problems like mine with a bit too god wifi coverage..

  • Possible To Delay Drop Zone 1 & 2 To Coordinate With Audio?

    The audio and the video on my menu isn't timed the way I want, I want a slight delay in my first two drop zones so that it comes in with the best part of the song. How do I go about delaying those two drop zones in order to do that? Thanks a lot!

    You can often mess with the songs.....if you drill down into iDVD and then again into the theme....
    See this:
    John Beatty1, "audio level control in menu screen" #2, 09:30pm Sep 8, 2005 CDT
    and instead of changing the volume, you might be able to time-shift the song.....but it would have to start at new start point.
    John B.

Maybe you are looking for

  • Ipod Touch 1st Generation Power On Problem?

    I own a 1st generation ipod touch which l cannot access. I was updating an app then my ipod froze which led to a full power-off. I turned the ipod back on. The apple logo will come up after holding the power on button, but my ipod touch was turning o

  • Best of the Month – August '14

    On Expert Day, do what Experts do. Set new records! That’s what the HP Support Forum did in August. With preliminary estimates exceeding 8 million total visits to our online community this month, we’re on track to surpass January’s record-setting com

  • No Video with FCP HDV with QTP

    I have a strange question.... I have an Intel G5 iMac (10.4.11) and I capture and edit with FCP 5.0.4 using a Sony Z1 using the HDV 1080i50 sequence (I live in Hong Kong) I edit the video and export Quicktime movie using my sequence preset HDV 1080i5

  • Why won't my phone charge properly

    It will charge to about 10 15% then the little plug icon to show its fully charged pops up instead of the lightening bolt I took it into the store to get it checked and they said there is nothing wrong with it the tech just restored it witch I did at

  • Urgent Issue New Mac Pro (Im going CRAZY)

    I recently purchased a MAC Pro with the following specifications: Processor Name: Quad-Core Intel Xeon Processor Speed: DUAL 2.26 GHz Total Number Of Cores: 8 L2 Cache (per core): 256 KB L3 Cache (per processor): 8 MB Memory: 6 GB Graphic Card: Chips