If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
In the left
pane of the Console, select Diagnostics > Diagnostic
Modules.
In the
Diagnostic System Modules table, select the name
of the diagnostic system module you want to assign the REST action
to.
Select Configuration > Policies and Actions >
Actions.
Click New.
Select REST from the Type list and click
Next.
Enter a name for the REST action in the Action
Name field.
Enter the timeout period in the Timeout (in
seconds) field. The timeout period is the length of time,
in seconds, that an action has to complete execution. By default, the
timeout period is 0, which disables the action
timeout.
To enable or disable the action, select or deselect the
Enable Action box.
Click Next.
On the REST Action Properties page:
In Endpoint URL, enter the REST
endpoint URL to invoke.
In REST Invocation Method, enter the
REST invocation method for invoking the endpoint.
In Accepted Response Type, select the
response type to use to configure the Accept header of the HTTP
request to the REST endpoint.
In HTTP Authentication Mode, select
the authentication mode to use when invoking the REST endpoint
URL.
In HTTP Authentication User Name,
enter the user name to use when the REST endpoint is
secured.
In HTTP Authentication Password, enter
the password to use when the REST endpoint is secured.
In Custom Notification Properties,
enter custom notification properties to customize the JSON object
delivered to the REST endpoint.