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: Errors: triggered if an error message is generated in the component(s) logs. Inactivity: triggered if a component(s) has not processed messages in the specified time (in minutes). Queue: triggered if a component(s) queue count exceeds the threshold value set. 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 by enclosing the expression in slash characters /<regex>/ .
|