Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7649

Support accumulate_within and threshold

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Ansible Integration
    • None
    • NEW
    • NEW
    • ---
    • ---

      Check if a specific event occurs a number of times before triggering an action.

      example rule)

      name: Throttle example with threshold
      condition: event.code == "error"
      throttle:
         accumulate_within: 5 minutes
         threshold: 3
         group_by_attributes:
            - event.meta.hosts
            - event.code
      action:
        run_playbook:
          name: notify_outage.yml
      

      For detailed specification, see https://issues.redhat.com/browse/AAPRFE-1263

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: