Alert only fires once

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Alert only fires once

  • Creator
    Topic
  • #55657
    Shelbi Engle
    Participant

      I have Cloverleaf 6.0.

      The alert I have built only seems to fire once after I restart the Daemon.  What I’m trying to do is send an email alert out any time their has been no messages received for 2 minutes.  Shouldn’t it be polling and checking for the latency?  I never receive a second alert even if there are no messages received for over 2 minutes, and even if a new message comes in and then no messages again for over 2 minutes.

      { NAME {his_adt_input} }

      { VALUE iblat }

      { SOURCE his_adt_input }

      { WITH 0 }

      { COMP {< 0} } { FOR {nmin 2} } { WINDOW */*/*/* } { ACTION { { email { { FROM cloverleaf@infor.com }

      { TO shelbi.engle@ge.com }

      { SUBJ {TEST NCAL CPN INTERFACE ALERT} }

      { MSG {ADT FROM EPIC TO CPN MAY BE DOWN.  NOTHING RECEIVED FOR (2) MINUTES.

      CPN Reference – his_adt_input thread.

      Please do not respond to this email.} }

      { SERVER mta.xx.org }

      } }

      } }

    Viewing 2 reply threads
    • Author
      Replies
      • #86034
        Michael Hertel
        Participant

          You should probably use a last received alert.

          Inbound latency sounds to me that the timer starts when a message is received and will alert if it takes longer than x to process a message from start to finish.

          And the FOR setting means the alert needs to be true for > 2 minutes.

          From Help:

          Inbound Latency

          Specifies the inbound message latency for the specified threads.

          This is the elapsed time from when an inbound message is read by the engine to when translation is complete.

        • #86035
          Shelbi Engle
          Participant

            I changed it to last received instead of the latency, and for some reason I can’t get it to fire after the first round of alerts that go out (in this example, it is 2 repeating).  Not sure why it doesn’t trigger.

            [aler:aler:WARN/0:_hcimonitord_:03/27/2018 15:51:58] Completed Cascade Actions

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:54:01] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:54:01] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [aler:aler:WARN/0:_hcimonitord_:03/27/2018 15:55:03] Calling doActions(13, alert {{action notify} {name {default.ADT TEST}} {type lastr} {source his_adt_input} {value {{his_adt_input 66}}} {repeatcnt 0} {message {Thread last inbound message received time of his_adt_input has been more than 1 for 60 seconds, currently {his_adt_input 66} — where’s my ADT}} {gendate 1522184103} {host IWC-CPN681-2} {root D:/gehc-it/ccg/quovadx/cis6.0/integrator} {site qs_prod}})

            [aler:aler:WARN/0:_hcimonitord_:03/27/2018 15:55:03] Completed Cascade Actions

            [aler:aler:WARN/0:_hcimonitord_:03/27/2018 15:56:03] Calling doActions(13, alert {{action notify} {name {default.ADT TEST}} {type lastr} {source his_adt_input} {value {{his_adt_input 126}}} {repeatcnt 1} {message {Thread last inbound message received time of his_adt_input has been more than 1 for 120 seconds, currently {his_adt_input 126} — where’s my ADT}} {gendate 1522184163} {host IWC-CPN681-2} {root D:/gehc-it/ccg/quovadx/cis6.0/integrator} {site qs_prod}})

            [aler:aler:WARN/0:_hcimonitord_:03/27/2018 15:56:03] Completed Cascade Actions

            [aler:aler:WARN/0:_hcimonitord_:03/27/2018 15:57:03] Calling doActions(13, alert {{action notify} {name {default.ADT TEST}} {type lastr} {source his_adt_input} {value {{his_adt_input 186}}} {repeatcnt 2} {message {Thread last inbound message received time of his_adt_input has been more than 1 for 180 seconds, currently {his_adt_input 186} — where’s my ADT}} {gendate 1522184223} {host IWC-CPN681-2} {root D:/gehc-it/ccg/quovadx/cis6.0/integrator} {site qs_prod}})

            [aler:aler:WARN/0:_hcimonitord_:03/27/2018 15:57:03] Completed Cascade Actions

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:57:18] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:57:18] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:58:25] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:58:25] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:59:44] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 15:59:44] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:02:28] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:02:28] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:02:54] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:02:54] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:05:04] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:05:04] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:06:44] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:06:44] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:07:00] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:07:00] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:15:58] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:15:58] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:34:59] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:34:59] Doing ‘statusrpt’ command with args ‘his_adt_input’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:35:27] Received command: ‘statusrpt qs_xml_output’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:35:27] Doing ‘statusrpt’ command with args ‘qs_xml_output’

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:35:32] Received command: ‘statusrpt his_adt_input’ on connection 0x1f39f60

            [cmd :cmd :INFO/0:_hcimonitord_:03/27/2018 16:35:32] Doing ‘statusrpt’ command with args ‘his_adt_input’

          • #86036
            Michael Hertel
            Participant

              Can you show the setting like you did above with the iblat?

              Depending on your settings, the alert needs to reset in order to fire again.

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