I have one generic item which captures all Critical, Error and Warning events from a Windows Event Log (i.e. DFS Replication).
and another item that captures specific Information events that are to be used for recovery expressions.
I then have separate triggers for each event ID that I wish to generate problems for.
An example for the trigger for event ID 5014 (replication stopped) with severity of Warning, and associated recovery event ID of 5004 (replication resumed) is shown below:
Despite event 5014 and subsequent 5004 occurring, the problem is never resolved.
I understand this is because the trigger expression remains TRUE, hence recovery expression does nothing.
Is there a way to use the nodata function (or any other function) with my existing Trigger Expression, to allow the recovery expression to take effect?
Please help advise of best solution for this issue.
Thanks.
and another item that captures specific Information events that are to be used for recovery expressions.
Template: DFS Replication Events Template:
Item Name 1: DFS Replication: Critical Error and Warning Events
Key: eventlog[DFSReplication,,(Critical|Error|Warning),,,,skip]
Item Name 2: DFS Replication: Replication Resumed
Key: eventlog[DFSReplication,,"Information",,^5004$,,skip]
Item Name 1: DFS Replication: Critical Error and Warning Events
Key: eventlog[DFSReplication,,(Critical|Error|Warning),,,,skip]
Item Name 2: DFS Replication: Replication Resumed
Key: eventlog[DFSReplication,,"Information",,^5004$,,skip]
An example for the trigger for event ID 5014 (replication stopped) with severity of Warning, and associated recovery event ID of 5004 (replication resumed) is shown below:
Trigger Name: DFS Replication Event 5014: Replication Stopped
Severity: Warning
Trigger Expression:
{DFS Replication Events Template:eventlog[DFS Replication,,(Critical|Error|Warning),,,,skip].logseverity()}=2
and
{DFS Replication Events Template:eventlog[DFS Replication,,(Critical|Error|Warning),,,,skip].logeventid(^5014$)}=1
OK Event Generation: Recovery Expression
Recovery Expression:
{DFS Replication Events Template:eventlog[DFS Replication,,"Information",,^5004$,,skip].logeventid(^5004$)}=1
Problem Event Generation Mode: Single
Severity: Warning
Trigger Expression:
{DFS Replication Events Template:eventlog[DFS Replication,,(Critical|Error|Warning),,,,skip].logseverity()}=2
and
{DFS Replication Events Template:eventlog[DFS Replication,,(Critical|Error|Warning),,,,skip].logeventid(^5014$)}=1
OK Event Generation: Recovery Expression
Recovery Expression:
{DFS Replication Events Template:eventlog[DFS Replication,,"Information",,^5004$,,skip].logeventid(^5004$)}=1
Problem Event Generation Mode: Single
Despite event 5014 and subsequent 5004 occurring, the problem is never resolved.
I understand this is because the trigger expression remains TRUE, hence recovery expression does nothing.
Is there a way to use the nodata function (or any other function) with my existing Trigger Expression, to allow the recovery expression to take effect?
Please help advise of best solution for this issue.
Thanks.
Comment