Alert Setup

  • Creator
    Topic
  • #51399
    Shibu Mathew
    Participant

      Hello Everyone,

      I am a Cloverleaf  newbie trying to setup alerts using the Alert Configurator provided in Cloverleaf 5.7. I am able  to generate the alerts but I cannot trigger the alert to go to multiple addresses. I believe it should work with comma separated and no spaces. But it is not working in my case. I have tried different options like- comma separated, space separated, semi colon separated and swapping addresses. The alert still only go to the first address in the list. My alert setting and alert log are as below.

      Setting in default.alrt:


      {ALERT

         { NAME Alert_1 }

         { VALUE pstat }

         { SOURCE fr_mt_adt }

         { WITH -1 }

         { COMP {== opening} }

         { FOR {nsec 20} }

         { WINDOW */*/*/* }

         { ACTION {

             { email {

                 { FROM vhs-cloverleaf }

                 { TO smathew4@valleyhealth.com,shibs.mathew@gmail.com,2336@valleypage.com}

                 { SUBJ {cloverleaf Notification} }

                 { MSG {fr_mt_adt in opening } }

             } }

         } }

      }

      Entry in alerts.log:


      12/04/2009 09:37:12] :  Alert Reset:

      : Alert: D:/quovadx/qdx5.7/integrator/vhsclprod1/Alerts/default.alrt|anonymous alert #1

      [12/04/2009 09:37:32] :  Alert Fired Action

      : Alert: fr_mt_adt | Alert_1

      : Message: Thread protocol status of fr_mt_adt has been opening  for 20 seconds

      : Notification #: 0

      : Action: hcialert2email  -TO smathew4@valleyhealth.com,shibs.mathew@gmail.com,2336@valleypage.com -SUBJ “cloverleaf Notification” -MSG defaultAlert_1-09988.msg -FROM vhs-cloverleaf -SERVER postoffice.valleyhealth.com -PORT 25

      I would also like to add that, I  was able to send test alert to multiple addresses (using the test tool  under options-> site options-> alert configuration) without any problem.

      Any help will be highly appreciated. Thanks in advance.

      Shibu Mathew

      Information Systems

      Valley Health System

      15 Essex Road, 4th Floor

      Paramus, NJ 07652

      Ph: 201-291-6238

    Viewing 3 reply threads
    • Author
      Replies
      • #70110
        Levy Lazarre
        Participant

          Hello, Shibu

          The way we do it at my institution is to set up an email GROUP containing all the desired email addresses, then in the alert we send the email to the GROUP. This has two benefits:

          1. Your code is cleaner and less cluttered.

          2. It makes it easier to add or delete recipients without having to touch your alert configuration.

          The way you set up the group depends on whether you are on Unix or Windows, but the same principle applies.

          I hope this helps.

        • #70111
          Shibu Mathew
          Participant

            Levy,

            Thanks for the suggestion. Before go live, I will create a group email and trigger the alerts from the prod server to the group address. On the test server, I wanted to add the addresses directly into the alert configurator for now. I believe the multiple emails should also work from within the alert configurator. I wonder if it has something to do with the OS. I am running Cloverleaf 5.7 on windows server 2003.

            Thank you,

            Shibu Mathew

            Information Systems

            Valley Health System

            15 Essex Road, 4th Floor

            Paramus, NJ 07652

            Ph: 201-291-6238

          • #70112
            Sergey Sevastyanov
            Participant

              Shibu,

              You can do it by enclosing comma separated list of emails in double quotes, so your TO statement will look like:

              Code:


              { TO {”email1@email.com,email2@email.com”} }

              I am at Cloverleaf 5.7 on Windows 2003 as well and this is working in my set up

            • #70113
              Shibu Mathew
              Participant

                Sergey,

                Wrapping the email list within double quotes did the trick.  Its working as expected now.

                Thank you !

                Shibu Mathew

                Information Systems

                Valley Health System

                15 Essex Road, 4th Floor

                Paramus, NJ 07652

                Ph: 201-291-6238

            Viewing 3 reply threads
            • The forum ‘Cloverleaf’ is closed to new topics and replies.