jcfaleltstat (Windows only)
- Organization of this page
Function
Displays the operating status of a remote monitoring event log trap.
When this command is executed, the operating status of a remote monitoring event log trap that monitors the monitored host specified as the argument is returned.
If ALL is specified in the -o option and there is no host in the remote monitoring configuration, or if the OS is not Windows, a message indicating this status appears.
Note that a maximum of five commands can be executed concurrently.
The following conditions must be satisfied to execute this command:
-
The IM Configuration Management service is running
-
There is a remotely monitored host in the remote monitoring configuration.
-
A remotely monitored host has already collected host information.
Format
jcfaleltstat {-o monitored-host-name | ALL} [-h logical-host-name]
Execution permission
Administrator permissions
Storage directory
Manager-path\bin\imcf\
Display format
When the jcfaleltstat command is executed, the output result is displayed in the format shown below.
- #
-
In this example, the line number is added at the beginning of each line for descriptive purposes:
1 message-IDmessage
2 message-IDmessage
3 host-namestatus
4 host-namestatus
5 host-namestatus
6 :
-
Line 1
A message indicating that command execution has started is displayed.
-
Line 2
A message indicating the following display scope is displayed:
-
All
-
Specified hosts
-
Specified event log traps on the specified host
-
-
Lines 3 to 6
The statuses related the event log traps on the remotely monitored hosts (Windows) for the specified scope are displayed. The following statuses are displayed:
-
START: The event log trap is running.
-
STOP: The event log trap has stopped.
-
EDIT: The action definition file for the event log trap is being edited, but the changes have not been applied.
-
FAIL: The event log trap status could not be obtained:
- The host is invalid (host information was not collected, or collection failed))
- An error occurred during WMI communication.
- An authentication error occurred
- An input/output error occurred.
- An error occurred during an attempt to obtain exclusive rights.
- An internal error occurred.
-
Arguments
- -o monitored-host-name
-
Specifies the name of the monitored host for a remote monitoring event log trap whose operating status you want to check. The OS on the monitored host must be Windows.
- ALL
-
Checks the operating status of all remote monitoring event log traps.
- -h logical-host-name
-
Specifies the name of the logical host on which you want to execute the command. If this option is omitted, the logical host name specified for the JP1_HOSTNAME environment variable is set. If no logical host name is set for JP1_HOSTNAME, the physical host name is set.
Return values
0 |
All remote monitoring event log traps are running |
1 |
Some remote monitoring event log traps are running (when the ALL option is specified) |
2 |
Partial or total failure |
4 |
Invalid argument |
6 |
Unable to connect to the server |
7 |
Invalid host information |
14 |
Invalid DB |
17 |
Invalid permission |
18 |
Input/output error |
19 |
All remote monitoring event log traps have stopped. |
21 |
Upper limit for number of concurrent executions reached |
255 |
Internal error |
Other values |
Other error |
Example
Display the operating status of a remote monitoring event log trap on host1:
jcfaleltstat -o host1