Job Management Partner 1/Base User's Guide
Function
You can use this command to collect event service definitions.
Format
jevdef_get {-f | -e | -l [action-definition-file-for-log-file-trapping]} [-h logical-host-name]
Required execution permission
In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
In UNIX: Superuser
Command directory
- In Windows:
- installation-folder\bin\
- In UNIX:
- /opt/jp1base/bin/
Arguments
-f
Specify the -f option to collect definitions in the forwarding settings file (forward).
-e
Specify the -e option to collect definitions in the action definition file for event log trapping (ntevent.conf). This command collects definitions only when the source host is running Windows.
If the target agent is a logical host, definitions are collected from an action definition file for event log trapping. This file is on the physical host (primary host) of the target agent host.
-l [action-definition-file-name]
This argument enables you to collect definitions from an action definition file for log file trapping. If you have created an action definition file with an arbitrary name on the source host, specify the name of the file.
If the target agent is a logical host, definitions are collected from an action definition file for log file trapping. This file is on the physical host (primary host) of the target agent host.
-h logical-host-name
Specify this option when executing the command on a logical host. If you omit this option, the host name set in the environment variable JP1_HOSTNAME is assumed. If the environment variable JP1_HOSTNAME is not set, the host name is assumed to be the same as the local host.
Notes
- When the jevdef_get command is executed, the jbsplugin process (in Windows) or the jbsplugin daemon (in UNIX) must be running on source hosts.
- If the version of JP1/Base running on a source host is 06-71 or earlier, the jevdef_get command does not distribute definitions to that host, and proceeds to the next source host.
- If an error occurs on a collection source host, the command does not collect definitions from that host and proceeds to the next source host.
- The host names and error messages for source hosts that have caused an error are output to the standard error output.
- Each line of collected definition output is made up of no more than 1,023 bytes. If a line exceeds 1,023 bytes, it is not output.
Return values
0 Normal end 1 Invalid argument 2 The log-file trap management service or log-file trap management daemon is inactive. 3 An error occurred during acquisition of configuration definition information. 4 Insufficient system resource such as memory 10 Error at the collection source host 255 Other error
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.