Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleMatching Rule - apply notification conditions to components using glob expression tag pattern matching techniques

Every notification rule will have a Matching Rule to assign a notification rule to components. Matching rules use Iguana supports glob expression and tag matching to apply customized rules according to your requirements(*), boolean(and/or), or regular expressions (regex) with Tags to create matching rules. To use regex, simply enclose the expression in slash characters /<regex>/.

The table below provides a set of rules an overview of example pattern matching techniques you can combine to create a matching rule.

Type

Example

Description

Wildcard

*

Apply to all components.

#dev*

Apply to components containing with #dev followed by 0 or more characters

OR

#prod #dev

Apply to components which contain with either #prod or OR #dev tags.

AND

“#prod #dev“

Apply to components which contain with both #prod and AND #dev tags.

Negation

-#prod

Apply to all components without the #prod tag.

“#prod -#dev”

Apply to all components with the #prod tag AND without #dev.

Expand
titleConditions - the notification rule which triggers a log alerts if met

Conditions are the notification rule criteria. If a condition is met, a log is generated and sent to the notifier component.

There are four types of conditions used to trigger notifications:

  1. Errors: triggered if an error message is generated in the component(s) logs.

  2. Inactivity: triggered if a component(s) has not processed messages in the specified time (in minutes).

  3. Queue: triggered if a component(s) queue count exceeds the threshold value set.

  4. Log Contains: triggered if a component(s) logs contain a matching pattern.

The Log Contains rule is the most flexible type of notification rule as you can leverage default logs generated by Iguana or custom log messages invoked from the Translator (see Custom Logging). The pattern can use strings (ex. component stopped) or regex patterns. To use regex, simply enclose the expression in slash characters /<regex>/.

Expand
titlePriority - set the notification rule to be low, medium, high based on the criticality of the alert

You can mark a notification rule as low, medium or high based on the criticality of the alert. This value can be mapped to any external incident tracking system of your choice.

...