Actions
Actions define what’s going to happen when an SLA is exceeded. You can define actions as system, mail or API call.
Defining New Actions or Deleting Old Actions
- Click Create New Action in the Events page.
In the page that opens, the properties of the event must be entered. The properties are below:
- Name: A clear name for the event.
- Description: A short description can help with administration.
- Type: The type of the event. The available types are; System Notification, E-mail, REST API Call, and SOAP API Call.
Fields about the chosen event type will appear after type is selected. These fields are listed below:
- System Notification
- Text: The text that will be in the warning message.
- Level: The color code based on the priority of the event.
- E-mail
- Text: The text that will be in the warning message.
- Level: The color code based on the priority of the event.
- E-posta Adresleri: E-email addresses separated by semicolons
;
.
- REST API Call
- Text: The text that will be in the warning message.
- Level: The color code based on the priority of the event.
- Target Address: The address of the REST API to call. Ex: HOST [ “:” PORT ] [ ABS_PATH ] :
http://localhost:8080/rest/actionService/save
- Action Type Parameter Name: Name of the parameter that will have the action type. Ex:
ActionType
- Action Text Parameter Name: Name of the parameter that will have the action text. Ex:
ActionText
- Open API Test Console: When this button is clicked, the REST API will be tested with the API test console.
- SOAP API Call
- Text: The text that will be in the warning message.
- Level: The color code based on the priority of the event.
- Target Address: The address of the SOAP API to call. Ex: HOST [ “:” PORT ] [ ABS_PATH ] :
http://localhost:8080/rest/actionService/save
- Method Name/Source Path: The method name in the SOAP API.
- Action Type Parameter Name: Name of the parameter that will have the action type. Ex:
ActionType
- Action Text Parameter Name: Name of the parameter that will have the action text. Ex:
ActionText
- Open API Test Console: When this button is clicked, the SOAP API will be tested with the API test console.
To finish, click Save Event after filling the necessary fields.
You can delete the event with the Delete Event button in the Events page.
Assigning a SLA to the Event
- In the SLAs that use the event list section, click the Show the SLAs that can use this event button.
- In the window that opens, click the Add event to SLA button that belongs to the SLA.