Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

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.

Note

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.

Example:

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.

Example:

In the Ansible inventory directory, edit the inventory/hosts file to add the following:

Service groups are monitored on the Agents specified below the appformix_service_group_agents tag.

Create Service Groups

To add a service group to the Dashboard:

  1. Select Settings in the top right of the Dashboard as shown in Figure 1.
    Figure 1: Settings in Dashboard
    Settings in Dashboard
  2. Select Services Settings.
    Figure 2: Services Settings for Service Groups
    Services Settings for
Service Groups
  3. In the Services Settings panel, select the Service Groups tab and complete the necessary fields.
    Figure 3: Service Groups Tab
    Service Groups Tab
  4. Appformix supports monitoring of OpenStack endpoint URLs and regular endpoint URLs.

    To configure monitoring of OpenStack endpoint URLs:

    1. Click Add Openstack Service Group.
      Figure 4: Add OpenStack Service Group
      Add OpenStack Service Group
    2. 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.
      Figure 5: Autogenerated Service Group Name
      Autogenerated Service Group Name
    3. Enter the Username and Password for the Appformix Credentials.
    4. 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.
    5. 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:

    1. Click Add Service Group.

      Figure 6: Add Service Group
      Add Service Group
    2. Complete the indicated fields, as shown in Figure 7.

      Figure 7: Add Service Group Endpoints
      Add Service Group
Endpoints
    3. To add more endpoints, click Add Endpoint. Following is an example where three endpoints are configured for one service group.

      Figure 8: Add Three Endpoints for One Service Group
      Add Three Endpoints for One Service Group
    4. When done adding endpoints for this specific Service Group, click Setup.

  5. The Service Group will show as successfully added. It can be deleted by clicking the Trash icon.
    Figure 9: Add Service Group Successful
    Add Service Group
Successful

View Service Groups

Successfully added service groups are viewable from the Dashboard.

To view service groups from the Dashboard:

  1. Select Infrastructure > Service Groups.
  2. Select the Service Group you want to view.
  3. 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:

  1. After a service group is created, navigate to the Alarms page and click Add Rule.
    Figure 10: Creating an Alarm for Service Group
    Creating an Alarm for Service Group
  2. 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.
    Figure 11: Adding Alarm Rules for Service Group
    Adding Alarm Rules for Service Group
  3. Complete any further details and click Save to confirm.
    Figure 12: Saving Alarm Rules for Service Group
    Saving Alarm Rules for Service Group
  4. After the alarms are triggered, they are visible on the Dashboard as active or inactive based on the rules set.
    Figure 13: Service Group Triggered Alarm Visible on Dashboard
    Service Group Triggered Alarm Visible on Dashboard

Health and Risk SLA for Service Groups

To create health and risk service-level agreements (SLAs) for service groups:

  1. Select Settings in the top right of the Dashboard.
  2. In AppFormix Settings, select SLA Settings.
  3. In Health Profile, click the Service Group tab.
    Figure 14: Health Profile Service Group Tab
    Health Profile Service Group Tab
  4. 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.
    Figure 15: Delete Profile in Service Groups to Add New Profile or New SLA
    Delete Profile in Service Groups to Add New Profile
or New SLA

    When a service group is in bad health, it is reflected on the service groups Dashboard view based on the profile.

    Figure 16: Example Service Group Alert for Missed Heartbeat on Dashboard
    Example Service Group Alert for Missed Heartbeat on
Dashboard