Constructing the resynchronization event query
To receive resynchronization events from OMi, the probe sends an HTTP request.
The URI in the HTTP request consists of the following
data ordering flags, and data inclusion flags. These are described
in the table that follows.
Parameters in the request
The query expression is configured in the ResyncEventQuery property.
This is a running number. The first request’s
This value is configured by the PageSize property. The OMi system receives this number with the first request from the probe and uses this value as the batch size for the query results.
These parameters allow you to specify which OMi field the resynchronization events are sorted by and whether they are sorted in ascending or descending order. They are configured by the ResyncDataOrder property using the following format:
These parameters allow you to specify which of the event attributes to include in the resynchronization.
They are configured by the ResyncDataInclusion property. For details about how to format the ResyncDataInclusion property see Including and ordering data in the resynchronization query.
Validating and formatting the resynchronization event query expression
The FormatEventQuery property controls whether the expression specified in the ResyncEventQuery property will be validated and formatted for use in the resynchronization request sent to the OMi system.
When FormatEventQuery is set to true, the probe processes the ResyncEventQuery expression in the following order: validation and formatting.
query expression can consist of multiple filter query statements joined
by the symbols:
Each filter query must comply with the OMi standard.
Validation: The probe checks the syntax of the entire query expression.
- It does not recognize the syntax
"<field> IN (value1, value2,…)"as valid.
- It does not accept the characters
( ) | ^in quoted value, for example
id="(abc)"will be declared an error.
Formatting: The probe converts
(pipe) symbols to
and encodes the query expression with URL escape characters where
If FormatEventQuery is set to true, you can write more readable filter expressions without having to manually replace characters with URL escape codes.
The ResyncEventQuery property’s default value is: 'time_changed GE ++LAST_TIMESTAMP++ ^ time_changed LT ++CURRENT_TIME++’.
special tokens recognized by the probe’s query expression parser.
formatting query expressions, the probe encodes certain characters
to URL escape codes and replaces
The resultant expression is:
date-time format is:
+hh:mm is timezone offset from GMT,
When ResyncEventQuery is left blank, the probe will receive all open events from OMi.
you want to send an event query to OMi without the probe performing
syntax validation and URL encoding, set FormatEventQuery to false.
If you do this, you must ensure that the expression is syntactically
correct and contains URL escape codes. Take care to escape the
in the property configuration, for example, if the query in URI is:
the ResyncEventQuery property should be set to: