Monitoring rules are used for message processing. Received messages in the target table are analyzed according to the monitoring rules. If they satisfy conditions specified by the rules, monitoring events are created or updated.
To create a monitoring rule, follow the steps below:
Monitoring rule form fields
Field | Mandatory | Description | |
---|---|---|---|
Type | Y | Specify the event type. Available options:
| |
Name | Y | Specify a name for the monitoring event rule. The name should be unique. | |
Monitoring source | Y | Specify the monitoring source whose messages will be processed by this rule. | |
Event rule | Y | Specify the event rule that will process the monitoring events created by this monitoring rule. You can only choose the event rules with the same Type. | |
Message conditions | Y | Specify the conditions that determine which messages will be processed by this rule.
| |
Event conditions | Y | Specify the conditions based on which the message will create or update events.
If there is no event with the same composite key and the Event conditions are not satisfied, then the message is not relevant for further analysis and reaction. It remains in the Target Table as a log. | |
Active | N | Select this checkbox to enable the rule. | |
Order | N | Specify the rule order for the Warning type of events. When the order is specified, the event object created by the rule with the lowest order will be available in the event response script. |
Monitoring Event records are created and updated automatically. When the monitoring rule is satisfied, the system checks the composite key value of the Target Table record with the composite key of the Monitoring Event records.
Field | Description |
---|---|
Type | The type of the event that is defined in the related monitoring rule:
|
Monitoring rule | The monitoring rule based on which the event is created. |
State | The state of the event:
|
Message count | The number of event messages that have the same composite key. |
In the Related Lists area, the Message tab contains the list of all Target Table messages that created the current event or updated the value in the Message count field. The message that deactivated the event is not included in the list. To store these messages, the Monitoring Event Messages table is created.
When Event Conditions are satisfied, the system automatically creates a record in the Monitoring Event Messages (itsm_monitoring_event_message) table. The record binds the message from the Target Table with the Monitoring Event record.