Issue 'show hsrp detail' every 5 minutes using EEM

Hello,
Please confirm EEM is a feasible way to accomplish this and confirm I can trigger it every few minutes.
1. Issue a "show hsrp detail" under the respective interfaces.
2. In the output of the "show hsrp detail", if I find "Standby router is unknown", trigger an email to the [email protected]
event manager applet monitorhsrp
event timer watchdog time 300 maxrun 9999999

Yes, in Cisco IOS 'watchdog' works.
In NX-OS, that would be the 'scheduler' feature.

Similar Messages

  • Scripting WLC show commands (ie show client detail) every x seconds/minutes

    Is there a simple way to script using either a terminal client (putty, teraterm, etc.) or Prime Infrastructure whereby I could set up a set of commands to be run at a certain interval?
    I want to conduct some client testing roaming across a site whilst some how performing a show client detail every 15 seconds and a show run-config every 30 minutes?
    TIA,
    Nick

    Is there a simple way to script using either a terminal client (putty, teraterm, etc.) or Prime Infrastructure whereby I could set up a set of commands to be run at a certain interval?
    Yes you can. 
    The easiest method is to use console.  You can knock up a script to run the command at specific intervals and log the outputs.  If you do this, you must ensure the console timeout is expanded. 
    Another option is to create a PERL script (using KRON) to telnet/SSH into the appliance and run the command and retrieve the results. 

  • How can I display summary for every 15 minutes using DATE datatype

    This is probably an easy question, but the answer eludes me...
    I am trying to write a SQL report that displays aggregate totals for every 15 minute period. I know you can do something like this to get every minute:
    select to_char(import_date,'MM-DD-YYYY HH24:MI'),
    count(*) from
    package_ingest
    group by to_char(import_date,'MM-DD-YYYY HH24:MI')
    But how can I change this query so that I get every 15 minutes?
    Any feedback is greatly apprecaited!
    Thanks,
    -ADK

    Hi,
    GROUP BY  TRUNC (SYSDATE) + FLOOR ( (import_date - TRUNC (SYSDATE))
                                          * 24
                            * 4
                            )SYSDATE is an arbitrary reference point. It doesn't matter if import_date is earlier or later (or sometimes earlier and sometimes later).
    If you want to display this in the SELECT clause, or use it in the ORDER BY clause, then repeat the expression there, or compute it once in a sub-query.
    WITH  got_i_d_15     AS
         SELECT     TRUNC (SYSDATE) + FLOOR ( (import_date - TRUNC (SYSDATE))
                                               * 24
                                 * 4
                                 ) AS i_d_15
         FROM     package_ingest
    --     WHERE     ...          -- If needed
    SELECT       TO_CHAR (i_d_15, 'MM-DD-YYYY HH24:MI')     AS import_date
    ,       COUNT (*)                               AS cnt
    FROM       got_i_d_15
    GROUP BY  i_d_15
    ORDER BY  i_d_15;

  • How to fire a cron scheduler every 70th minute using quartz?

    I need to fire a cron schedule every 70th minute. For example if one fired at 12:00pm then 2nd one should be at 1:10pm and 3rd one should be at 2:20pm and so on. How do I achieve this? Cronmaker.com suggests this, 0 0/70 * 1/1 * ? *
    But when it goes past 60 minutes, it only fires every hour. Not the specfied minute which is above 60. Please advice.
    mayooran99

    Hi Mayooran,
    Question related to Quartz, I suggest you to post your thread to the Quartz forums in order to get more help around Quartz:
    http://forums.terracotta.org/forums/forums/show/17.page
    Thanks for your understanding.
    Best regards,
    Kristin
    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.

  • Sending 'show' command outputs to console/terminal using EEM

    Hi Everyone,
    I'm new to EEM and was wondering if it would be possible to send 'show' commands  (like 'show interface' or 'show crypto ipsec sa') to the terminal/console session after every, let's say, 10 minutes using watchdog timer. I know how to send it to the flash but would like to know if something of this sort is possible.
    Any suggestions would be really appreciated!
    Regards,
    Nikhil

    Hi Nithakur,
    you can try the "action puts" from EEM
    event manager applet SHOWI
     event timer watchdog time 600
     action 1.0 cli command "enable"
     action 2.0 cli command "show int X/Y"
     action 3.0 puts "$_cli_result"
    for this to work, you would need to have "logging monitor informational" in your run and "terminal monitor" activated. The other option is to use IOS send command
    event manager applet SHOWI2
     event timer watchdog time 600
     action 1.0 cli command "enable"
     action 2.0 cli command "show int XY"
     action 3.0 set A "$_cli_result"
     action 4.0 cli command "send *" pattern "C:"
     action 5.0 cli command "$A\032" pattern "confirm"
     action 6.0 cli command "yes"
    Note that the \032 is an equivalent for CTRL+Z (^Z) so after you configure it, you will see this line as
     action 5.0 cli command "$A^Z" pattern "confirm"
    in your ruiining config.
    Regards,
    Alex

  • File adapter every 15 minutes  one file !!!

    Hello every one
    If I need to pick a file every 15 minutes using scenario file adapter to mail ..
    How can I make this works ???
    Thanks

    hey
    <b>The following are valid examples for filename:
    myFile.txt
    my*.txt
    *.txt
    File.
    File.*
    myle.</b>
    source: http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
    As you can see above there is no specific format for the sender file.if you are using wildcard you have lots of ways to make selection for the file
    Thanx
    Ahmad

  • I just downloaded the new version of Firefox and now every site I used to use such as Facebook, Twitter, and Youtube show "This Connection Is Untrusted"

    I just downloaded the new version of Firefox and now every site I used to use such as Facebook, Twitter, and Youtube show "This Connection Is Untrusted". Even when I do accept the risks the site no longer looks the way it's looked for years. Twitter doesn't even give me the option to accept the risks at all and shows this error (Error code: sec_error_unknown_issuer). I've tried resetting Firefox, I've checked the time and date, and I've removed and added Firefox to see if that would work. Nothing seems to be working so I can see the sites the way they normally would be instead of "coded". Can anybody help me please?!!! Thanks

    ok, unfortunately the fiddler2.com issuer in certificates might be a sign of unwanted software present on your pc that is intercepting secure network traffic. please go into the system control panel and uninstall programs like BrowserSafeguard, BrowserSafe, SafeGuard or other software that sounds suspicious and didn't get installed by you intentionally.
    <sub>reference: https://support.mozilla.org/en-US/questions/982532#answer-520145</sub>
    afterwards, run a full scan of your system with different security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner].
    [[Troubleshoot Firefox issues caused by malware]]

  • I cant find my pdf/ibooks on computer after backing up my iPad (they are on my iPad).   Also, I'm having issues with my Ipad turning off about every 2 minutes so I want to restore it.  Dont want to lose my files from my iPad.

    Actually I have 2 problems:  I cant find my pdf/ibooks on computer after backing up my iPad (they are on my iPad).  I looked under Ipad, I Books, PDFs, and it doesn't show them on the computer. How do I manually transfer these files?
    Also, I'm having issues with my Ipad turning off about every 2 minutes, and I want to restore it.  I want to make sure all of the files are backed up before I restore.  My trouble started when I was trying to update my IPad but it was taking too long (internet was scetchy) so I powered off...now Im having problems.  I haven't tried to update again since this problem. Any suggestions?  Should I restore? Should I update to 7.0.6?  (currently 7.0.3).
    Thanks,

    Try here:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer

  • I use apple TV to watch Netflix.  How can I stream the movie, so it doesn't stop every few minutes?

    Why does the Netflix not streaming all at once, instead of every few minutes, interrupting the movie.

    Welcome to the Apple Community.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.

  • Streaming video (using Videos-app) from MBP 13" to iPad 2 and iPhone 4S is stuttering/lagging every few minutes

    I have imported a number of movies and tv shows into my iTunes library. This library is located on an external USB 2.0 hard drive which is connected to my MacBook Pro 13" mid 2012. I use an Airport Extreme (5th gen.) as my network hub, everything is connected wirelessly through either the 5GHz or the 2.4GHz wifi signals.
    Whenever I watch these videos on my MacBook itself of my AppleTV (3rd gen.) everything works just fine, no lag or stuttering. But when I want to watch these videos on my iPad 2 (6.1.2) or iPhone 4S (6.1.3) using the standard Videos app, I get lag and/or stuttering every few minutes just like you would when an internet video isn't loading fast enough. Speedtests indicate a stable internetconnection (fiberglass) at 30Mbps up and down, and internet videos (i.e. Youtube) stream just fine, even the 1080p ones. That's why I don't think my networkconnection is the problem.
    Frankly, I don't have any idea where to look next. I checked all settings in iTunes (homesharing is enabled, any other settings seem to have no relation with this subject) and the iPad/iPhone, restarted the devices completely but not with any improvement.
    Why is this happening? I'm used to Apple products having an optimal user experience, but in this case it's just not working like it should...

    Try putting one of those movies onto your macbooks' drive and stream it and see if you have the same lag.
    It's probably not being pulled from that external drive fast enough causing the lag.
    I know you can watch it off your macbook fine, but you're pulling it onto the laptop, then pushing it out to the router and data transfer is always slower the more 'stuff' you give it to pass through.
    For example, I can pull stuff off a harddrive at a gig a minute....but if i pull it off one and write it directly to another (using the computer as the go between) i get about 75% speed.....something that should take an hour can take almost an hour and a half.
    So try streaming directly off your macbook and see if you stutter.

  • When setting the split-days to "every 15 minutes," the week and comparison views show incorrect time ranges for the day

    When I change the "split-days" interval time, under Options > Settings, to
    15, or every 15 minutes, the week and comparison views don't show the correct
    time range for the day.
    <P>
    For example, if I click View to display the calendar and then click Week to get
    a weekly view, the time range displayed is from 6:00 a.m.
    to 4:00 p.m. If I click Comparison to get a
    comparison view, the time range displayed is from 12 p.m.
    to 6:45 p.m.
    <P>
    In this example, should both of these views show the same time range, from
    9:00 a.m. to 4:00 p.m.?
    No, the two views will not necessarily show the same time range. The time
    range for the comparison view will start at the beginning prefs time only
    if you have something scheduled (on any day of the week) starting at that
    time. For example, on one of the days during your week of comparison, if you
    create an event that starts at 9:00 a.m. and then open the comparison view, the
    time range displayed will start with 9:00 a.m.
    <P>
    Additionally, view times will expand past the configured settings if events
    span past the time range. That is, if you have an event that spans from
    5:00 p.m. to 8:00 p.m., the event will be reflected in the view, even though
    your time range may be set to go only to 6:00 p.m.

    Umm yes.
    The settings are stored in ''prefs.js'', so you could swap various copies of this file in and out.
    However, the system will load ''prefs.js'', then, if present, ''user.js'' , so you can set up just your changes in ''user.js'' .
    The sort of line you need to look for is like this:
    <code>user_pref("mail.server.server14.check_time", 10);</code>
    You'll need to do some research to identify which of your accounts is which.
    Search for the account's email address:
    <code>user_pref("mail.identity.id10.useremail", "xenos&#64;example.com");</code>
    Use the id number to locate the account number:
    <code>user_pref("mail.account.account29.identities", "id10");</code>
    Use the account number to find the server number:
    <code>user_pref("mail.account.account29.server", "server14");</code>
    Finally, you can then use the server number find the account's time setting:
    <code>user_pref("mail.server.server14.check_time", 10);</code>
    This last entry may not exist, if you have never changed the setting from the default 10 minutes.
    Do be careful with your typing and copy/pasting; if the file fails the syntax parser it will silently fail.
    And make sure Thunderbird is shut down when you do the swap. If it's open, it may overwrite changes, and in any case, it only reads the settings file when it starts up.

  • Illustrator CS6 Stability Issues- crashing every 5 minutes

    Hi All,
    I've been having serious stability issues with Illustrator ever since I upgraded from CS5.5 to CS6. It crashes like every 5 minutes, mostly when I use the "nevigator" tool to pan to another area of the artboard. The windows messsage was something like "the program has stopped working".
    I am really sick and tired of that and this is seriously affecting my productivity. Furthermore, does Illustrator has any auto recovery function?
    Does anybody know what might be wrong? I am using Windows 7.
    Grateful for your help.
    Best,
    James

    I keep having the same problem. It would be half as bad if there was at least an auto recovery function.
    Also on CS6 / Windows 7.

  • Request Summary: Average Response time showing value 0 after every 5 minute

    Greeting Experts,
    We are facing a strange problem on our portal, we have been assigned with the task of monitoring system performance of portal every one hour. But at the end of every hour, the values it was giving is 0 in the request summary tab(System Administration> Monitoring> Request Summary). After monitoring we found out that the monitoring is resetting after every 5 minutes which means that every 5 minutes the values are showing 0. We need to increase the reset time in request summary so as to evaluate the real performance of the system.
    Please advice whether it is a normal case in portal, and whether the threshold can be increased in the portal.
    Thanks and Regards,
    Sarthak syal

    Increase "HungServerRecoverSecs"(default 300 seconds) in your iisproxy.ini.
    Jong
    "TejoKiran" <[email protected]> wrote:
    >
    Hi ,
    Iam using an Applet (under JRE 1.3.0).
    Iam trying to send a Http Request using URL Connection.
    It is working fine . However, if the response time of the server is more
    than
    3 minutes ,
    the Response is not coming back to the the Applet and it is in a loop
    trying to
    read from the Server.
    I have observed that the request is sent to the server and it is processed
    successfully.
    Then , I tried to call this sample JSP from the Applet.
    <CODE : delay.jsp>
    <%@ page language="java" import="java.util.*"%>
    <%
    System.out.println("<START>");
    out.println((new Date()).toString());
    System.out.println((new Date()).toString());
    long cTime;
    cTime = System.currentTimeMillis();
    long dTime = cTime;
    while(true) {
    long dif = System.currentTimeMillis() - cTime;
    if(dif > (15*60*1000))
    break;
    if((System.currentTimeMillis() - dTime) > (2*60*1000)) {
    out.println("2 Minutes");
    out.flush();
    System.out.println("2 Minutes");
    dTime = System.currentTimeMillis();
    System.out.println((new Date()).toString());
    out.println((new Date()).toString());
    System.out.println("<END>");
    %>
    </CODE>
    Because , I was flushing the data after every 2 minutes , it worked fine
    This one worked with WebLogic 5.1 when accessing the Weblogic server
    directly
    . Like
    http://IP:7001/ccls/test/applet.jsp (This JSP downloads the Applet under
    JRE1.3)

  • E4200v1 issue: resets approximately every 15 minutes

    After a recent power outage the E4200 router I use will restart itself after about every 15 minutes.  I've tried power cycling the router, as well as changing the outlet it is pluged into if ther is some issue with the power.  I'm at a loss at what else I can try to figure out what is causing this behavior.
    Between the restarts the router functions properly, I have found no issues outside of the continuos resets.  Any help or advice would be greatly appreciated.
    Solved!
    Go to Solution.

    The power outage could have caused a glitch in your network. It will help to reset and reconfigure the router. Also make sure that you have the latest FW for the device.

  • My phone keeps showing the hot temperature message every 1o minutes. What should i do?

    y phone keeps showing the hot temperature message every 1o minutes. What should i do?

    does the phone feel hot? Are you using ANY kind of phone case ?
    If NO to the above and you think it might just be a weird error, you can try resetting the device by pressing the top power button and the home button at the same time until you see an apple appear then let go. your phone will restart.
    If it keeps giving you the same error after that, call Applecare.

Maybe you are looking for

  • How can I read mail that is on my hard drive?

    Whew, this is so tough that I can't even really describe what is happening. Yet my hunch is that the solution is very easy if you know how to use a computer. (I've been using Macs/PCs for decades but am apparently clueless about certain aspects.) I u

  • Macbook mid-2007 cracked Edge

    Does Apple still replace or repair Mid-2007 Macbooks? My has been cracked and i did not know that Apple was replacing them, should had been some kind of notice or i must had missed it.

  • Should I use "Windows Forms Application" or "WPF Application" or ..... ?

    Hi everybody! I want to become a master programmer. I want to programming "Windows Desktop"   I am using Visual Studio Ultimate 2013 by language C# on  Windows 8 OS I am confusing because Should I use "Windows Forms Application" or "WPF Application"

  • Macbook Pro ejecting a dvd with data files

    Trying to get jpeg files off of a dvd but every time I put the dvd in it keeps getting ejected. Why is this happening? Thanks

  • Convert SQL (Select Statement) to Procedure

    Hi I am using a select sql for retrieving the results - Below is a sample sql select query. select TableC.DATEFIELD as QUERY_DATE, TableB.COLUMN1 PROCESS, TableC.COLUMN1 PRODUCT, sum(TableC.COLUMN4) as OPEN_INSTANCES from TableA, TableB, TableC where