Creating a KEEP ALIVE email

Hi,
I've been asked to implement a KEEPALIVE function for our MARS box which should send out an email every 15 minutes just to let us know that the box is still functioning correctly. I tried creating a KEEPALIVE rule that should trigger if a certain event is not seen for 15 minutes, but it didn't work. To implement this I defined the counter equal to zero, but I'm not sure whether its actually supported or not (the system accepts the input). Has anyone ever treid to set up something like this or creating a rule that fires after an interval of time in which an event is NOT seen?
Thank you, Joe

I'm not positive I understand what you're after. I think you mean to let you know that MARS is working correctly?
We do something similar, but we've automated it. The email is sent to a linux box where it is parsed and an alert generated if the results are not what we expect (we use this process to actually making sure that MARS has events from all the devices we think it should have events from).
I think you're on the right track by focusing on the inspection rules. What I would suggest is that you consistently generate your own events in MARS from another system. On Linux this could be as simple as using the logger command. If you automate this, you can conceivably do this as often as every 1 minute. Have the inspection rule look for that specific event.
To give you an idea how I might fully automate this...
1) on a linux system that already reports into MARS, create a cron job that runs the logger command with your custom message every 1 minute. this could be a bash script or perl or php...whatever.
2) in MARS create the inspection rule count = 1. Have a time range of 1 minute. use the keyword to only look for your custom message. have the action send an email to an account on a linux box that is only used for this purpose.
3) have a cron job(perl,shell,php,etc) on the linux server that runs every 1 minute and checks the modify or access time of the users mailbox (typically /var/spool/mail/. If it hasn't been modified/accessed within last n seconds...e-mail and/or page someone.

Similar Messages

  • SQL Developer Keep-Alive Extension Created!

    Hi All,
    I have created a keep-alive extension for SQL Developer as I have always wanted to prevent my connections from timing out. Hope this will become handy to some of you. The download file and instructions are hosted on Google Sites.
    https://sites.google.com/site/keepaliveext/
    Cheers,
    MinChen

    Hi Everyone,
    Lately I have been getting questions on whether the extension is secure enough to be used as more often than not, a database would definitely contain confidential or sensitive information hence it is absolutely crucial that security is maintained and running external extensions does not seem reassuring. Here, I would like to write a bit on how to ensure that security is maintained when running third party extensions for SQL Developer.
    The most secure approach is to scrutinize the source code of the extensions themselves if it is made available at all. If no source code is available, then it would take a different approach which is far more complex and won't to be covered here. Fortunately, extensions for SQL Developer are developed using Java and the beauty of it is that one could easily decompile the classes back into the source code. From there onwards, scrutinize the code thoroughly to ensure there is no rogue logic or any function that would "phone home" for whatever reason other than to check for updates. By practicing self code scrutiny, it would be the most reassuring. As I myself am every bit concerned about security, I do tend to extract out the source code of all the Firefox extensions I use and do a quick glance. ;)
    With this, I hope more people will embrace the extensibility of SQL Developer and create more extensions for the community. SQL Developer is a great application and thanks to the team who created it and made it available at zero charge. :D
    Cheers,
    Min Chen
    P.S. You can decompile Java classes using the free tool called JD-Gui which can be found at
    [http://java.decompiler.free.fr/?q=jdgui]

  • LDAP keep-alive connection ? (use of ldap_io_fns)

    Hi there,
    I am facing a new req. from network security guys that want to close 'idle' connections that crosses firewalls. But as I do use persistent search connection which are not very 'busy' => i.e. not enough traffic to be kept open by FireWall rule.
    Consequence my client could not 'detect' this cut of connection and do not receive any more the 'updates' through persistent search.
    I am now trying to init my connection setting optional io_fns structure changing the socket func by my socket func that do create a keep-alive socket.
    But it does not bind properly ... Init seem ok but bind never get out. LDAP receives bind and do log it but seem not able to respond properly ...
    Any idea on how to use this io_fns struct ?
    Many thanks.
    Hedi.
    .

    the problem is not that process is in foreground or background: the problem is the timeout: I need to avoid timeout, because the idea is to launch the report and then go out for lunch So I need to find a way in the code to advise the system that user has not to be logged out.
    Thanks
    Gabriele

  • How do I create a new icloud email address for my apple id?

    Hi there
    How do I create a new icloud email address for my apple id? My original email address is associated with my previous employers.
    When I send email from my Macbook, it seems as if I still work there, which is a problem.
    I would like to use the email address that I created for my iPad.
    When I login with my appleid (for my macbook) I keep getting the old company one, not the new one.
    Is there any way of resolving this? I
    Thanks
    Kelvin

    Welcome to the Apple Community.
    Providing you aren't trying to change you Apple iCloud email address you can make changes at My Apple ID

  • HFM Web Sever Configuration--Keep Alive and Session Time Out Optimal Config

    We recently implemented an HFM 9.3.1 environment. We are using Windows 2003 Enterprise SP2 servers with IIS6. We have two HFM Web servers connecting to an application cluster with two application servers in the cluster. We were getting some errors when trying to unlock HFM cells in Workspace, but we were able to perform the functions fine on the application using the WIN32 client.
    I opened a ticket with support and they recommended modifying the subcontext.properties file located in %HYPERION_HOME%\deployments\WebLogic9\servers\Workspace\webapps\workspace\conf. They recommended changing the following settings:
    #KeepAliveInterval=30
    #SessionTimeout=60
    From what I understand, these settings are for the communication between the HFM Web Servers and the application cluster servers. I'm wondering how changing these settings may affect our environment. Are there negative effects and/or trade-offs for changing these settings? Is there a recommended threshold or maximum value?

    Hi Dinesh,
    This cannot be achieved without development enhancements to some standard SAP framework component, to introduce a "keep-alive" concept. If you are using a CMS for CTI or email integration, you need to ensure it supports keeping the communications session alive also.
    Sincerely,
    Glenn
    Glenn Abel
    Covington Creative
    www.covingtoncreative.com

  • I think I have opened the sobig.f virus in my hotmail account and it keeps seding emails to my contacts. How do I stop it, and will it effect any of my other transactions like internet banking/shopping, is it safe?

    I think I have opened the sobig.f virus in my hotmail account and it keeps seding emails to my contacts. How do I stop it, and will it effect any of my other transactions like internet banking/shopping, is it safe To continue using my ipad ?

    This isn't due to malware. There is no known malware capable of infecting an iPad that has not been jailbroken (ie, hacked to allow apps from outside the App Store).
    As lizdance40 says, your Hotmail account has been hacked remotely. Change the password immediately. Hotmail accounts are popular targets, but as long as you choose a good password, and make sure that password is not the same as a password you use with any other account, you should be safe.
    I disagree with lizdance40's statement that you have to abandon the account and create a new e-mail address. If a hacker is able to get back in even after changing the password, the problem is not with the account itself. There's another vulnerability of some kind somewhere. Perhaps the account allows hackers to leave a "back door" to get back in (such as with GMail's delegation feature), in which case any such feature needs to be reviewed and have settings changed. Perhaps you are checking mail in an insecure manner while on an insecure network (ie, a wireless network that requires no password). Perhaps you are using a password on multiple accounts, and a different account has been compromised. Perhaps a hacker has used knowledge gained by prior access to your account to achieve "social hacking" (ie, convincing a tech to give him access because he has "forgotten the password"). There are many scenarios, but there's no good reason to abandon the account entirely.

  • My wife just purchased an iPhone. She has an Apple ID but it is linked to her gmail address. She wants to create her own iCloud email address but the setup tools don't let us do that.

    I have aniCloud account  apple id, linked to a MobileMe address (which I converted to an iCloud account)
    My wife just purchased an iPhone. She has her own Apple Id -- but it is linked to a gmail address.
    I wanted to create a new iCloud email address and account for her, but the Mail Setup won't let us use .icloud and keeps referring her back to log into the gmail server.
    How can we convert her gmail address to an icloud address if Mail Setup refuses to let her use icloud.com?
    One other issue: Her iTunes are linked to my account, and my wife would like her own separate account.

    Actually, I want her to have a separate iTunes account. Our marriage is fine, but our musical tastes are vastly different  That's another issue; right now want to focus on getting my wife in .icloud email address.

  • How do I keep my email password from remaining in Preferences? I want to enter it every time I get my mail. I upgraded to OS M Lion but it won't let me delete it from preferences. It's worked prior to using M. Lion. Any suggestions? Thanks!! Jen

    How do I keep my email password from remaining in Preferences? I want to enter it every time I get my mail. I upgraded to OS M Lion but it won't let me delete it from preferences (the password from Account Info). Once you enter the password, it keeps it permanently. i do not want that.  It's worked prior to using M. Lion. Any suggestions? Also, The other pressing issue i have is, I DO NOT want ANY mail showing in my inboxes when Mail starts UNTIL i enter that password for each account. Instead of creating different user accounts for the MacBook, it's just easier this way. Or is it? If this is a permanent thing, then I may switch back to Lion. I guess I shoud've waited until the kinks were out before installing (**** Mac-head!)
    Thank you all kindly for any suggestions & your time
    Regards,
    JC

    I DO NOT want ANY mail showing in my inboxes when Mail starts UNTIL i enter that password for each account.
    That is simply not possible with Mail, and never has been.  Anyone who uses your account can see all messages stored in Mail.  The only true solution is to not let other people use your account.  Let other people use the guest account, or if you share the machine with someone else, set up a separate user account for that person.  This will also solve the problem of remembering the password.  It will become a non-issue for Mail to remember your password if nobody else has access to your account.

  • Keep My Email How Does It Work With Outlook

    I have two internet service providers, Verizon and another small local DSL/Phone provider.  I have kept the Verizon for several years because neither has very good bandwidth and my household bogs down without 2 mediocre services, and for the email, which I have had for close to 10 years.  Right now the Verizon line is not even usable.  I had to call India twice and actually did get a person to repair the line 2 times.  It worked for three weeks after the line was fixed, now, barely at all.  I'm tired of spending $75.00/month for nothing.  The support is horrible.  The company could care less whether they keep you as a customer.
    That being said, I'd like to get rid of it and turn the line over to the other local ISP DSL provider or God Forbid, try Home Fusion,  and keep my email alias which I have used forever.  I don't really want to hear about how I should have a gmail account or this is my fault for not getting an email address not linked to an ISP.  This is what I am working with, and I need to keep the account.
    I manage my email locally using Outlook 2010, and I have all of the old email.  I sometimes occassionally use the web-based email, but not often.
    First, if I buy the domain before I cancel, will I get my emails addressed to the alias [email protected], because none of the parties contacting me have ever addressed anything to the real email name which is a mixture of hard to remember numbers and letters.
    Second and in particular reference to Outlook, would I be able to get and send emails from Outlook with the account currently set up for [email protected], or do I have to reconfigure Outlook to treat the name preserved under the domain purchase as a new account, and set up a new account in Outlook for the same email name after I purchase the domain to retain the alias email.  In other words can I continue to send and received without any further modification to my existing account as it is now set up in Outlook.
    By the way, Verizon has driven me to this.  I would be perfectly happy keeping the DSL if it worked, but I can't continue to support a non-working DSL line to the tune of $75.00 (phone line plus dsl service), with such absolutely horrible support.  I really would like to try the home fusion service but am not yet convinced I should due to all of the reports about the low caps, phantom data usage, and intermittent service from some.

    I was really hoping they would do it that way. I mean why have to create the <br />wheel twice. When they update ACR LR uses it just like Bridge and Photoshop <br />and Elements. And, I do mean uses the ACR plug-in, just copy it to a LR <br />folder and you are updated.<br /><br />Is this what they did? Or, do we have two things to download from Adobe when <br />they add new camera support?<br /><br />Robert<br /><br /><[email protected]> wrote in message <br />news:[email protected]..<br />>I believe that LR uses ACR for processing RAW, so as ACR is updated, so is <br />>LR.

  • Keep-alive problem in apache/weblogic

    I have a server with Weblogic 5.1 and Apache
    1.3.12 with the weblogic-plugin.
    When apache serves pages, the keep-alive works
    fine.
    When weblogic serves pages, the keep-alive works
    fine.
    When i added a handler in apache so all requests
    to apache should go to weblogic through the
    plugin, the keep-alive stopped working.
    Anyone seen this before?
    Gunnar

    send a message to [email protected] with as much info as you can. i d
    on't think they're watching the newsgroups for bug reports.
    maybe someone who frequents the newsgroups regularly could do a FAQ...
    anyone actually got time?
    "Gunnar" <[email protected]> wrote in message
    news:3a51995e$[email protected]..
    In case anyone wondered:
    I tried with sp5 and sp7 and everything worked fine. It seems sp6 is
    buggy...
    Gunnar <[email protected]> skrev i
    meldingsnyheter:3a41e618$[email protected]..
    I have a server with Weblogic 5.1 and Apache
    1.3.12 with the weblogic-plugin.
    When apache serves pages, the keep-alive works
    fine.
    When weblogic serves pages, the keep-alive works
    fine.
    When i added a handler in apache so all requests
    to apache should go to weblogic through the
    plugin, the keep-alive stopped working.
    Anyone seen this before?
    Gunnar

  • ICal keeps sending email notifications from all agenda items from the last 2 years. After laptop start up this action is repeated every hour. How can I stop these 300 emails coming in every hour?

    iCal keeps sending email notifications of all agenda items from the last 2 years (then I bought my laptop). After laptop start up this action is repeated every hour. How can I stop these >300 emails coming in every hour?

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • Need help with HTTP keep-alive

    Hi folks!
    I have this very simple web server and I would like to add keep-alive support. I've been trying to get my head around it for a while and could need some help (I found this question in the archive, but those replies didn't help)...
    This is my starting point (stripped down to the basics):
    /* A listener thread that accept incoming requests by creating new request handlers */
    public class HTTPListener implements Runnable
        private ServerSocket serverSocket;
        public HTTPListener(int port)
            // Try to create a server socket on specified port
            try
                serverSocket = new ServerSocket(port, 0);
            catch (IOException ex)
                System.err.println("Oops!");
        public void run()
            while (!Thread.interrupted())
                try
                    // Listen on server socket until a request arrives
                    Socket s = serverSocket.accept();
                    // Create handler to service request
                    RequestHandler h = new RequestHandler(s);
                    new Thread(h).start();
                // Server socket closed when listening
                catch (SocketException ex)
                    Thread.currentThread().interrupt();
                // Failed to close socket or failure during server socket accept
                catch (IOException ex)
                    System.err.println("Failed to accept request");
            try
                serverSocket.close();
            catch (IOException ex)
                System.err.println("Hmpf...");
    /* Handler that prints out requests and always answers with status 200 */
    public class RequestHandler implements Runnable
        private Socket socket;
        public RequestHandler(Socket s)
            socket = s;
        public void run()
            System.out.println(">>> New request handler");
            try
                BufferedReader reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                String str;
                while ((str = reader.readLine()) != null)
                    System.out.println(str);
                sendDummyReplyWithKeepAlive();
                reader.close();
                socket.close();
            catch (IOException ex)
                System.err.println("Crap, got an exception!");
    }When I run the server (which in reality has a little more to it) I never get more than one request printed for each ">>> New request handler", which is not surprising!
    Now, with keep-alive support I expect to get consecutive requests from the same client printed by the same handler instance. What I have to do (as I've understood from my readings) is to modify the while loop in the request handler that reads from the socket so that it spins until the connection is closed by the client (or a keep-alive timeout occurs) and blocks while there is nothing to read.
    Perhaps I'm being stupid now, but how do I actually do this?

    ejp wrote:
    and also an incorrect implementation of the timeout period. This code will still wait forever if no data arrives.You're right... actually I didn't mean to put that while loop there! What I meant was simply
    if (!reader.ready())
        wait(keepAliveTimeout);
    if (!reader.ready())
        break mainLoop;
    // If we get here there is a new request to read...and I agree that it's ugly, that's why I'm asking you guys for help!
    setSoTimeout() is of course a way to go... didn't think of that although I have kind of already added it to my code but with a different timeout. Thanks!
    Last question then is:
    does reader.readLine() block like reader.read(), or do I have to use the latter?
    I would test for myself I could, but at the moment I can't...

  • How to Create Internet user with email id as user id

    Hi All,
    I am having a requirement to create internet user taking email id as the user id, means the user id is same as the email id, to achieve this do I need to maintain some settins or is there any standard BAPI to do this.
    Is this a standard feature of CRM 2007.
    Thanks in advance,
    Mayank

    Hello Mayank,
    B2C Scenario has these options for the parameter usertype in the Application definition.
    In R/3 scenario: R3_SU05Customer_LoginEmail ISA R/3:This login configuration is the only one that is supported for ISA R/3 B2C. It cannot be chosen for the B2B and shopadmin applications. During B2C registration, SU05 users are created with type equals 'KNA1', referring to a newly created R/3 customer.
    -In CRM scenario:_ CRM_Standalone_LogonConsumer: Standard user management settings if Internet Sales is used as a standalone, the login is based on the e-mail address. The internet users must use the SU01 user concept. Consumer is the keyword here. The BP associated with the SU01 user is a Consumer.
    The B2C application is hard-wired the way it is defined above.
    Now for the B2B application
    In R/3 scenario: Only R/3 ISA provides some SU05 user possibilities. But they are not relevant to your situation
    In CRM scenario: it gives CRM Standalone or CRM Portal possibilities. In CRM Standalone, the login id uses Alias. But nothing stops you from using keeping Alias same as the User ID. In case of Portal, the login occurs via Portal. That is user log on to portal and gets into ISA using SSO. The portal offers varieties of ways to authenticate including email adress, user id etc. This is made possible by use of LDAP in portal for user authentication. They maintain a mapping between email-id and user-id and do what you are seeing now in SDN. If you have Portal in your landscape, and let external B2B users come through Portal into ISA with SSO, you can also do login using email-id in a jiffy.
    But in your case I think you are stuck with CRM Standalone
    Easwar Ram
    http://www.parxlns.com

  • Keep alive script for HTTPS service with GET method

    Hello,
    I tried to implement a keep alive to services that support HTPS connections. I’ve created a script that opens a tcp connection on port 443 and tries to do a GET of a test web page. This web page only displays “OK”.
    In a resumed form I used the following script commands:
    Socket connect host 192.168.136.134 port 443 tcp
    Socket send ${SOCKET} “GET /teste.template\n\n”
    Socket waitfor ${SOCKET}” 200 “ 2000
    Socket disconnect ${SOCKET} graceful
    I was unable to receive the expected “ 200 “response and received a message saying string not found, I used the socket inspect command to inspect the socket’s internal data buffer and the result was nothing, it seemed empty.
    I tried the same operation using a linux machine that has IP connectivity with the Webservers and I was successful.
    In the same CSS I have services configured to respond to HTTP sessions. I tried the following script and everything went well
    Socket connect host 192.168.136.151 port 80 tcp
    Socket send ${SOCKET} “HEAD /index.html\n\n”
    Socket waitfor ${SOCKET}” 200 “ 2000
    Socket disconnect ${SOCKET} graceful
    When I issued the socket inspect command I could in fact see the socket’s internal data buffer content.
    The CSS is running WebNS 5.0 build 66
    Can someone give me a help?
    Thanks,
    Ricardo Lourenço

    Hello,
    There is no direct no direct link between TCP and SSL.
    So, in spite of having success with the TCP port 443 connection the CSS will not be able to negotiate de security parameters necessary to establish the SSL session.
    This was the reason for not having success through the use of the socket commands, as i refered in my original message.
    Thanks for your collaboration,
    Ricardo Lourenço

  • Keep alive a session in CRM

    Dear CRM folks -
    I am calling CRM using BAPIs. The BAPIs are published as Web Services.
    I would like that the session between 2 BAPI calls is maintained in an optimized way so I don't make specific calls to the DB to store my session info.
    Anyone knows a way of keeping alive a session in the CRM between 2 BAPI calls?
    Thanks !

    BAPIs are just basically function modules.  Two function modules which are in the same function group are able to share information while the session is open.
    If your two BAPIs are not in the same function group(you didn't mention the names or I could have checked) then you can create a wrapper function module which has it's own variables to store the information.  Unfortunately once the RFC session/ICM Web Session is closed then you'll lose that in-memory information.
    I assume that you're making the two BAPI calls at different times which is why you're having this problem.  Like one to get user information and then one more to get some other detailed info once the user inputs something.
    Without knowing much about what you are really trying to do, my quick idea is to create a Stateful BSP in CRM which accepts all your requests.  The BSP can simply call the BAPIs(eliminate the need for the web service - unless you have some reason you need it) and then between the first and second BAPI call, the BSP will keep the state of the BAPI results in-memory.
    If you give more info, might be easier to answer your question.

Maybe you are looking for

  • HT201342 how can i change my icloud mail address. thanks

    how can i change my icloud mail address. thanks

  • Sending IDOC-xml to R/3 system

    Hi all       I am doing a bypass File to Idoc  scenario.we taking the input file as idoc xml and sending it to R/3 system for IDOC generation.Every thing is normal but in SXMB_MONI its showing Obligatory node E1EDP10 missing while that segment was pe

  • Service Item Surcharge Condition to PO Header

    Hi Leads, Whats the possibility to get service item surcharges (condition types) to appear on PO line item level or Header level. When we give values for surcharge at serive line item level, its getting added to PO gross value at header, rather than

  • I've committed the cardinal sin... apparently...

    So, I've moved and renamed my pictures from my hardrive... And I was told yesterday that that was a big no no. Now, iPhoto can't find my pictures and I can edit them or do anything other than look at them. I called apple, and basically they told me t

  • I installed upgrade tp 29.0.1 and now it won't launch.

    I did a manual upgrade from 24 to 29 (should not have had to). Had FFox still running so I closed that before install finished. Now nothing launches. The .exe file in Programs still has the old date (5/6) but items e.g. install.log have today's date.