13.2.1 Setting the local action execution definition file
First of all, you need to set the local action execution definition file.
The settings in the local action execution definition file are as follows:
-
Set up the file so that the batch file (ID999_operation.bat) that contains measures against log file overflow will execute when a JP1 event (event ID:999) indicating a log file overflows occurs.
-
An OS user with batch file execution permission needs to specify the name of the mapped JP1 user (jp1user01) in order to execute a local action.
-
To report to the manager host that an action has been executed, make sure that JP1 events are issued for the start and end of a local action, and that the events are transferred to the manager host.
An example of local action execution definition file:
# Measure of JP1 Event ID: 999
act ID999_action
cnd
B.ID IN 999
end-cnd
usr jp1user01
cmd "D:\EventOperation\ID999_operation.bat"
evt yes/yes
end-actFor details on how to enable the specified local action execution definition file, see 13.1.1 Defining a local action.