Hitachi

JP1 Version 12 JP1/Operations Analytics REST API Reference Guide


1.8.5 Creating a system profile

This section describes the format of the request to be used for creating a system profile and the method for creating a request body.

Procedure

  1. Determine the type of resource (such as ESX and IP Switch) that you want to create.

  2. Acquire a system profile that has the same type as the one that you want to create, so that the acquired system profile can be used as a template. Issue a request in the following format:

    GET http://host:port/Analytics/version/objects/SystemThresholdProfiles
  3. Edit the system profile (SystemThresholdProfiles resource, SystemThresholdValue resource) that you acquired in step 2 according to the table below.

    Table 1‒7: Changes to the SystemThresholdProfiles resource

    Member to change

    Whether the change is required

    Description

    name

    Required

    Change the name to the name of the system profile that you want to create.

    You must specify a name that does not exist in the user profile or in the system profile that is already registered.

    description

    Optional

    Enter a description of the system profile that you want to create.

    profileType

    Required

    Specify User.

    thresholdValues

    Optional

    Change the threshold value or the monitoring status. Note that when creating a system profile, do not delete any values that were acquired because setting of all SystemThresholdValue is required even if there are no changes made. For the locations to be changed, see the table below.

    Table 1‒8: Changes to the SystemThresholdValue resource

    Member to change

    Whether the change is required

    Description

    monitoring

    Required

    Specify whether to monitor.

    thresholdValueOfWarning

    Optional

    Specify the threshold value for the warning. You must specify a value equal to or less than the maximum member, and a value equal to or greater than the minimum member. In addition, the value must be a multiple of the value of stepSize. If you specify a value that does not meet the above conditions, the value will be adjusted automatically.

    thresholdValueOfError

    Optional

    Specify the threshold value for an error. You must specify a value equal to or less than the maximum member, and a value equal to or greater than the minimum member. In addition, the value must be a multiple of the value of stepSize. If you specify a value that does not meet the above conditions, the value will be adjusted automatically.

  4. Issue a request in the following format. In the request body, specify the collector that you edited in step 3.

    POST http://host:port/Analytics/version/objects/SystemThresholdProfiles