esacli test
Use the esacli test command to perform test operations for the IBM® Electronic Service Agent instance.
Synopsis
esacli test {-c | -o | -p | -n | -p -s <system ID>}
Description
The esacli test command enables you to perform a test operation for the IBM Electronic Service Agent instance.
Options
- -c | --connectivity
- Specifies that a connectivity test is to be performed.
- -o | --operational
- Specifies that an operational test is to be performed.
- -p | --problem
- Specifies that creation of a test problem is to be performed on primary system.
- -n | --notification
- Specifies that a notification test is to be performed.Tip: Run the esacli notificationSettings command to enable notifications before performing a notification test. For information, see esacli notificationSettings.
- -p -s <system ID>
- Specifies that a test problem must be created in a system with the specified system ID.
Exit status
The following table contains the codes that are returned by this command.0
: The operation completed successfully.1
: IBM Electronic Service Agent instance is not running.10
: An unsupported option was specified. Option: {option}.14
: A required option was not provided. Option: {option}.18
: An option was set more than once. Option: {option}.29
: The IBM Electronic Service Agent instance has not been activated.33
: Connectivity test failed.34
: Notification test failed. Reason: {Reason}35
: Operational test failed36
: Test problem creation failed.45
: Mutually exclusive arguments used together.64
: Please provide a valid system ID.
Examples
- Connectivity test
This example illustrates running the esacli test command to perform a connectivity test.
esacli test -c Performing Connectivity Verification Test success Bulk_Data_1 www6.software.ibm.com 170.225.15.41 443 success Bulk_Data_2 www.ecurep.ibm.com 192.109.81.20 443 success Gateway_1 eccgw01.boulder.ibm.com 207.25.252.197 443 success Gateway_2 eccgw02.rochester.ibm.com 129.42.160.51 443 success Problem_Report_1 www-945.ibm.com 129.42.26.224 443 success Problem_Report_2 www-945.ibm.com 129.42.34.224 443 success Problem_Report_3 www-945.ibm.com 129.42.42.224 443 success SP_Config_1 www.ibm.com 129.42.56.216 443 success SP_Config_2 www.ibm.com 129.42.58.216 443 success SP_Config_3 www.ibm.com 129.42.60.216 443 success SP_Config_4 www-03.ibm.com 204.146.30.17 443 success SP_Config_5 www.ibm.com 129.42.56.216 80 success SP_Config_6 www.ibm.com 129.42.58.216 80 success SP_Config_7 www.ibm.com 129.42.60.216 80 success SP_Config_8 www-03.ibm.com 204.146.30.17 80 15 successes 0 failures Connectivity Verification Test Results: succeeded
- Operational test
This example illustrates running the esacli test command to perform an operational test.
esacli test -o The operational test has been completed successfully.
- Create test problem on primary system
This example illustrates running the esacli test command to create a test problem.
esacli test -p Test problem created successfully with problem ID 12ce558daaf-3d3ed62a.
- Notification test
This example illustrates running the esacli test command to create a test notification.
esacli test -n Test notification sent successfully.
- Create test problem in a system with the specified system ID
This example illustrates running the esacli test command to create a test problem in a system with the specified system ID.
esacli test -p -s e6b02337b3807f187902a2efff9586e9 Test problem created successfully with problem ID 12ce558daaf-3d3ed62a.
- Failed to create test problem in a system with an invalid system ID
This example illustrates running the esacli test command to create a test problem in a system with an invalid system ID.
esacli test -p -s abcd Please provide a valid system ID.