4.10.2 Conditions for displaying event guide information
Using a condition (EV_COMP), you can specify which of the issued JP1 events to target in displaying event guide information. When you specify multiple conditions, an AND condition is assumed and the guide information is displayed when all the conditions are satisfied.
EV_COMP is a JP1 event comparison condition in the format attribute-name:attribute-value. You can set a maximum of 100 such conditions.
-
attribute-name
Specify the name of a JP1 event attribute (basic or extended attribute).
For example, you can specify the event ID (B.ID), event level (E.SEVERITY), or other attribute name. If you changed the event level of a JP1 event using the function for changing the severity level, the new event level applies when the JP1 event contents are compared.
You can also specify program-specific information (provided as an extended attribute of JP1 events) for a particular JP1 product.
For example, you can specify the host that executes JP1/AJS jobs (E.C0).
Note that you cannot use a business group name for the source event server name (B.SOURCESERVER), destination event server name (B.DESTSERVER), and event source host name (E.JP1_SOURCEHOST). If you specify a business group name, it will be treated as a host name.
When specifying IPv6 addresses for the source IP address (B.SOURCEIPADDR) and destination IP address (B.DESTIPADDR), use lower case characters as follows:
0011:2233:4455:6677:8899:aabb:ccdd:eeff
You cannot use the abbreviated format of an IP address as follows:
2012:7:8::a:b
-
attribute-value
Specify the attribute value corresponding to the attribute name.
For example, to specify JP1 events whose event level (E.SEVERITY) is Error, specify E.SEVERITY:Error. To specify an event whose event ID (B.ID) is 00000111, specify B.ID:00000111:00000000.
When event guide information is displayed in JP1/IM - View, the contents of the event guide information file are referenced from the top. When an item matching the conditions is found, referencing stops and the applicable information appears in the Event Details window.
Because the Event Details window displays only the first of possibly multiple items in the event guide information file that match the conditions, bear the following in mind when setting display conditions:
-
Make sure that the comparison condition does not duplicate a comparison condition set for a different event guide item.
For example, by setting multiple conditions in a comparison condition, such as an event level or message in addition to the event ID, you can differentiate the comparison condition from that set for another event guide item.
A regular expression can be written as an attribute value, but it must require a complete match.
-
Set no more than one event guide item for one JP1 event.
To set multiple items for one JP1 event, consider writing multiple action procedures in HTML format in an event-guide message file.