Job Management Partner 1/Automatic Job Management System 3 Command Reference 2
This paragraph explains how to specify a definition for a Windows event-log monitoring job.
The following gives the format of, and the parameters for a Windows event-log monitoring job definition.
- Format
[ntlgt={sys|sec|app|dns|dir|frs};] [ntevt=[i[: w[: e[: s[: f]]]]];] [ntnsr={y|n};] [ntsrc="source";] [ntncl={y|n};] [ntcls="class";] [ntnei={y|n};] [nteid=event-ID;] [ntdis="explanation";] [jpoif=?macro-variable-name?:take-over-information-name;] [etm=n;] [fd=time-required-for-execution;] [ex="execution-agent-name";] [ha={y|n};] [eu={ent|def};] [ets={kl|nr|wr|an};]
- Parameters
- ntlgt={sys|sec|app|dns|dir|frs};
- Define a log type. The default is sys.
- sys: Monitors a system log.
- sec: Monitors a security log.
- app: Monitors an application log.
- dns: Monitors the DNS Server log.#
- dir: Monitors the Directory Service log.#
- frs: Monitors the file reproduction service log.#
- #
- This type can be defined only for Windows 2000.
- ntevt=[i[:w[:e[:s[:f]]]]];
- Define an event type. By default, all the types are assumed.
- i: Monitors an information event.
- w: Monitors a warning event.
- e: Monitors an error event.
- s: Monitors a success audit event.
- f: Monitors a failure audit event.
- ntnsr={y|n};
- Define judgment conditions for a source to be monitored. The default is y.
- y: Monitors a specified source.
- n: Monitored the sources other than a specified one. This is equivalent to NOT.
- ntsrc="source";
- Define a source to be monitored.
- You can set a character string of 1 to 255 bytes.
- If you want to use a double quotation mark (") or a number sign (#) as a character, prefix the character by #. That is, use #" instead of " and use ## instead of #.
- ntncl={y|n};
- Defines judgment conditions for an event class to be monitored. The default is y.
- y: Monitors a specified class.
- n: Monitors the classes other than a specified one. This is equivalent to NOT.
- ntcls="class";
- Define an event class to be monitored.
- You can set a character string of 1 to 255 bytes.
- If the system cannot identify the class of a Windows event, the Windows event viewer displays Others. If you want to monitor such an unclassified event, specify None instead of Others. Even if you specify a character string of Others, no monitoring conditions are applied.
- ntnei={y|n};
- Define judgment conditions for an event ID to be monitored. The default is y.
- y: Monitors a specified event ID.
- n: Monitors the IDs other than a specified event ID.
- nteid=event-ID;
- Define the event ID of an event to be monitored.
- You can set 0 to 4,294,967,295.
- ntdis="explanation";
- To monitor the explanation of a specified event, define a character string for comparison.
- You can set a character string of 1 to 1,024 bytes.
- If you want to use a double quotation mark (") or a number sign (#) as a character, prefix the character by #. That is, use #" instead of " and use ## instead of #.
- Note that you can use a regular expression to specify the explanation.
- jpoif=?macro-variable-name?:take-over-information-name;
- Define a macro variable name in the ?AJS2xxxxxxxxx? format. That is, the character string xxxxxxxxx is preceded by AJS2 and it is entirely enclosed in a pair of question marks (?). Note that only uppercase alphabetic and numeric characters and periods (.) can be used in the xxxxxxxxx part.
- You can set a character string of 1 to 64 bytes as the macro variable name, which corresponds to the ?AJS2xxxxxxxxx? part.
- This parameter can contain up to 2,048 bytes in the "jpoif=?macro-variable-name?:take-over-information-name;".
- This parameter makes it possible to take over event information of subsequent Unix jobs, PC jobs, and action jobs.
- etm=n;
- Define the time-out period using the relative minutes from the start time. You can set 1 to 1,440 minutes. This parameter is invalid for a job within the start condition.
- fd=time-required-for-execution;
- Define the time-required-for-execution within which the job is expected to be terminated.
- You can specify a decimal value between 1 and 1,440 (minutes).
- ex="execution-agent-name";
- Define the name of the execution agent that is used to execute jobs. You can set a character string of 1 to 255 bytes.
- ha={y|n};
- Define whether to suspend job execution. The default is n. This parameter is invalid for a job within the start condition.
- y: Suspends jobnet execution.
- n: Does not suspend jobnet execution.
- eu={ent|def};
- Define the JP1 user who executes the job. The default is ent. This parameter is ignored in an event job.
- ent: The JP1 user who registered the jobnet executes the job.
- def: The JP1 user who owns the job executes the job.
- ets={kl|nr|wr|an};
- Define the state of the event job after the execution time-out period elapses. The default is kl. This parameter is invalid for a job within the start condition.
- kl: Killed
- nr: Ended normally
- wr: Ended with warning
- an: Ended abnormally
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.