6.3.1 Items that can be specified as execution conditions
You can specify any of the following items as a condition for executing an automated action:
-
JP1 event ID
Specify the event ID of the JP1 event that triggers the automated action. You can select All IDs or specify a particular event ID.
-
Event condition
Specify the event condition of the JP1 event that triggers the automated action. The items you can specify depend on whether you are using an automated action definition file or automatic action definition file (for compatibility).
Table 6‒3: Specifiable event conditions Attribute
Item
Event condition#1
Automated action definition file
Automatic action definition file (for compatibility)
Basic attribute
Registered reason
-
Match
-
Does not match
--
Event ID
-
Match
-
Does not match
-
Regular expression
-
Match
-
Regular expression
Source process ID
-
Regular expression
Source user ID
Source group ID
Source user name
-
Match
-
Does not match
-
Is contained
-
Is not contained
-
First characters
-
Regular expression
Source group name
Source event server name
Source IP address
Event details
Message
Registered time
-
Regular expression
-
YYYYMMDDhhmmss format (YYYY: year, MM: month, DD: day, hh: hour, mm: minute, ss: second)
-
Regular expression
-
YYYY/MM/DD hh:mm:ss format (YYYY: year, MM: month, DD: day, hh: hour, mm: minute, ss: second)
Arrived time
--
Extended attribute
Common information
Start time
-
Regular expression (specifying cumulative seconds)
-
Regular expression (specifying cumulative seconds)
End time
Product name
-
Match
-
Does not match
-
Is contained
-
Is not contained
-
First characters
-
Regular expression
-
Regular expression
Object type
Object name
Root object type
Root object name
Object ID
Occurrence
User name
Result code
Source host name#2
-
Match
-
Does not match
-
Is contained
-
Is not contained
-
First characters
-
Regular expression
--
Event level
-
Match#2
-
Regular expression
-
Match#3
-
Regular expression
Program-specific information
E.
-
Match
-
Does not match
-
Is contained
-
Is not contained
-
First characters
-
Regular expression
-
Regular expression
For compatibility
Basic event information
-
Regular expression
- Legend:
-
--: None
#1: By default, only extended regular expressions can be specified in comparison conditions. For details about regular expressions, see Appendix G. Regular Expressions. However, if you have upgraded from a previous version of JP1/IM - Manager, the information set in the previous version is carried over.
If you are using version 8 or earlier of JP1/IM - View, you can edit event conditions only if you are using the automatic action definition file (for compatibility).
#2: To specify the source host name in the automatic action definition file (for compatibility), specify E.JP1_SOURCEHOST (Event source host name) as an item of the program-specific information of the extended attributes.
#3: You can specify the following attribute values: Emergency, Alert, Critical, Error, Warning, Notice, Information, and Debug.
-
When DESC_VERSION is 4, the automated action definition file (actdef.conf) allows you to specify the following:
-
Use the aid parameter to specify an ID of the action definition to be enabled or disabled.
-
Use the valid parameter to enable or disable the action definition.