Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ExcerptAbiquo supports collectdAbiquo supports collectd ( https://collectd.org/) with an integration in the multi-cloud platform to enable you to easily work with custom VM monitoring and metrics in public cloud providers, including Amazon, Azure, and Google Cloud, as well as VMware vCenter.

In the Abiquo multi-cloud platform you can create alerts and automationcreate alerts (see Manage alerts) and automation (see Manage action plans ) based on your custom metrics.
For example, you can automatically can automatically scale out your VMs  based VMs based on your application metrics.  See Manage scaling groups

After you configure collectd and the Abiquo collectd plugin, the plugin will automatically push the values from collectd to the the Abiquo API (see https://wiki.abiquo.com/api/latest/) using the Abiquo API endpoints for collectd.
For example, for a VM, or a group of VMs in a VAppvirtual appliance, or for a scaling group.
The Abiquo API then pushes the collectd metrics to the Abiquo Monitoring ServerConfigure VM monitoring and metrics . Users can then display metrics through the UI or use them for automation.

...

How to install and configure collected for VMs in Abiquo

...

  1. In Abiquo, create an OAuth application in Abiquo for collectd. See Add an application for OAuth  

    1. Assign the privilege to  “Allow Allow user to push own metrics”metrics

  2. Install collectd on your VM

  3. Install the Abiquo collectd plugin ( from source (or using automation an automation similar to the example shown in the Abiquo Chef cookbook).

    1. Configure the Abiquo API path to push the metrics to the VM in Abiquo. Check the correct format of the API path in the Abiquo API documentation

  4. Configure your metrics in collectd

...

  1. Edit your VM and go to Monitoring

  2. Select Fetch metrics data. 

  3. Optionally select the monitoring level on providers that support it, e.g. AWS 

  4. Select the metrics to display from the custom metrics and the built-in metrics of the cloud provider or hypervisor

    Edit a VM and Select VM metrics to displayImage RemovedEdit a VM and Select VM metrics to displayImage Added
  5. Save your changes to the VM. Optionally, define a scaling group to increase the number of VMs running your application automatic scaling actions. See Define a Manage scaling groupgroups  

  6. If your VM is not running, deploy to launch the VM. Wait several minutes for the server to return metrics

  7. On the VM icon near the top right corner, click the metrics symbol.
    Or in the Virtual appliance, go to MonitoringVirtual machines 

    VM icon with metrics chart symbolImage RemovedVM icon with metrics chart symbolImage Added
  8. Configure the metrics to display the required statistic, frequency, dimensions, and so on.

    Display VM metrics and configure the displayImage RemovedDisplay VM metrics and configure the displayImage Added

    The platform will display the configured metrics.

     Display of VM metrics for the VMs in a virtual applianceImage Removed Display of VM metrics for the VMs in a virtual applianceImage Added
  9. Create alarms to set metric thresholds and alerts on groups of alarms, to notify or respond to changing application conditions with automation using action plans. See Cloud VM automation guide

...

Automate the install of collectd using Chef

This is an example use case with Chef using the Abiquo Chef cookbook.

  1. In Abiquo, the administrator creates an OAuth application in Abiquo for collectd. See Add an application for OAuth  

    1. Assign the privilege to  “Allow user to push own metrics”

  2. On the Chef server, the administrator creates a role with the following:

    1. The monitoring recipes to install the Abiquo collectd plugin

    2. The OAuth tokens for the application configured

  3. In Abiquo, users edit the VM and go to Chef, then select the appropriate collectd role.

...

...

Example collectd data object

...

Insert excerpt
Configure VM monitoring and metrics
Configure VM monitoring and metrics
nameCustom metrics display in the UI
nopaneltrue

...

Display custom

...

metrics for a virtual appliance

Abiquo can display custom metrics for your virtual appliance and metrics for the group of VMs in the virtual appliance.

...