esacli problemSettings

Use the esacli problemSettings command to set and display information about how frequently Electronic Service Agent attempts to call a problem home when it is not initially successful at calling home the problem.

Synopsis

esacli problemSettings [[-d [script]]

esacli problemSettings {-r true|false} {-i minutes} {-n number of re-tries}

Description

The esacli problemSettings command sets and displays information about how frequently Electronic Service Agent attempts to call a problem home when it is not initially successful at calling home the problem. This command indicates that it completed successfully with a message: This command completed successfully. When the display option is specified, the new settings will be displayed. This command will also display the current settings when run with only the display option or no option is specified.

Note: This command is not available for HMC-controlled systems.

Options

-d | --display
Specifies the setting values are to be displayed.
The optional script option generates this command containing all the current values, which can be used for updates. For example, to create an executable script file that you can use to specify problemSettings values, follow these steps:
  1. Display the current problemSettings values by running the following command:
    esacli problemSettings -d
    Tip: You can display the help for the problemSettings command by running the following command: esacli help problemSettings.
  2. Save the output of the problemSettings command to a file by running the following command:
    esacli problemSettings -d script > problems.script
  3. Edit the problems.script file to specify the wanted values.
  4. Change the problems.script file to an executable script file.
  5. Run the problems.script file to set the problemSettings values on this or other systems.
-r | --retry{true or false }
Specifies whether Electronic Service Agent should re-try action to perform when reporting a problem fails.
-i | --interval interval{integer between 15 and 720}
Specifies number of minutes to wait before retrying.
-n | --numtries{[integer | unlimited]}
Specifies number of times Electronic Service Agent should re-try to report a problem. The value can also be specified as unlimited.

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: 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}.
  • 19: An option value was not provided when required. Option: {option}.
  • 31: An integer value was not provided when required. Option: [name] Value: {value}.
  • 32: An integer value was not in the valid range. Option: {option value} Range: {min-max}.
  • 42: Invalid value {value} specified for the {option} option.

Examples

  • List problem information settings
    esacli problemSettings -d
    Problem information
    		Retry:               	true
    		Interval in minutes: 	10
    		Number of times:     	300
  • Set problem information settings
    esacli problemSettings --retry true --interval 300 --numtries 3