Endpoint Monitoring with Service Groups
Service group is a logical collection of URL endpoints that can be monitored as a single entity. This feature performs continuous monitoring of all endpoints, monitors their reachability, and collects corresponding latency metrics. AppFormix supports charting of metrics collected for each endpoint.
Based on your system setup the REST calls being made can
take more time. Use
appformix_agent_timeout_rest_client in the
inventory>group_vars >all file
to set a timeout value suitable to your system. The default value
is two (2) seconds.
Monitoring Service Groups on User-Specified Agents
By default, service groups are monitored from the Appformix controller nodes. You can monitor service groups on specific Appformix Agents by specifying them in the Ansible inventory.
In the Ansible inventory directory, edit the
inventory/hosts file to add the following:
[appformix_service_group_agents] 172.16.70.220 172.16.70.221
Service groups are monitored on the Agents specified below the
Create Service Groups
To add a service group to the Dashboard:
- Select Settings in the top right of the Dashboard as shown in Figure 1.
- Select Services Settings.
- In the Services Settings panel, select the Service Groups tab and complete the necessary fields.
- Appformix supports monitoring of OpenStack endpoint URLs
and regular endpoint URLs.
To configure monitoring of OpenStack endpoint URLs:
- Click Add Openstack Service Group.
- From the drop- down menu, select the type of OpenStack service endpoint that needs to be monitored. This will autogenerate a service group name, which you can modify, if needed.
- Enter the Username and Password for the Appformix Credentials.
- Enter the OpenStack endpoint you want to monitor in the URL field, the interval at which it needs to be monitored, and the type of REST call that needs to be made.
- Click Add Endpoint when done configuring the endpoint. Multiple endpoints can be monitored under a single service group.
To configure monitoring of regular endpoint URLs:
Click Add Service Group.
Complete the indicated fields, as shown in Figure 7.
To add more endpoints, click Add Endpoint. Following is an example where three endpoints are configured for one service group.
When done adding endpoints for this specific Service Group, click Setup.
- The Service Group will show as successfully added. It can be deleted by clicking the Trash icon.
View Service Groups
Successfully added service groups are viewable from the Dashboard.
To view service groups from the Dashboard:
- Select Infrastructure > Service Groups.
- Select the Service Group you want to view.
- Click Charts to view data being collected for
this Service Group's endpoints.
Select Charts to view the Charts display and endpoint details.
Create Alarms for Service Groups
To create alarms for service groups:
- After a service group is created, navigate to the Alarms page and click Add Rule.
- For Scope, select Service Group and for Metric, select service_group.heartbeat (default). For Alarm Rule Type, both static and dynamic alarms are supported for service groups.
- Complete any further details and click Save to confirm.
- After the alarms are triggered, they are visible on the Dashboard as active or inactive based on the rules set.
Health and Risk SLA for Service Groups
To create health and risk service-level agreements (SLAs) for service groups:
- Select Settings in the top right of the Dashboard.
- In AppFormix Settings, select SLA Settings.
- In Health Profile, click the Service Group tab.
- By default, Appformix has a Health/Risk profile created
for all the service groups. Click Delete Profile to add
new profiles and set up a new SLA.
When a service group is in bad health, it is reflected on the service groups Dashboard view based on the profile.