Skip to content

Latest commit

 

History

History
109 lines (84 loc) · 6.2 KB

collectd-openstack.md

File metadata and controls

109 lines (84 loc) · 6.2 KB

collectd/openstack

Monitors Openstack by using the Openstack collectd Python plugin, which collects metrics from Openstack instances

monitors:
- type: collectd/openstack
  authURL: "http://192.168.11.111/identity/v3"
  username: "admin"
  password: "secret"

Monitor Type: collectd/openstack

Monitor Source Code

Accepts Endpoints: No

Multiple Instances Allowed: Yes

Configuration

Config option Required Type Description
authURL yes string Keystone authentication URL/endpoint for the OpenStack cloud
username yes string Username to authenticate with keystone identity
password yes string Password to authenticate with keystone identity
projectName no string Specify the name of Project to be monitored (default:"demo")
projectDomainID no string The project domain (default:"default")
userDomainID no string The user domain id (default:"default")

Metrics

The following table lists the metrics available for this monitor. Metrics that are marked as Included are standard metrics and are monitored by default.

Name Type Included Description
counter.openstack.nova.server.cpu_time counter Virtual CPU time consumed in nanoseconds
counter.openstack.nova.server.rx counter Size of network packet received in bytes
counter.openstack.nova.server.rx_packets counter Received packets at an instance
counter.openstack.nova.server.tx counter Size of network packet transmitted in bytes
counter.openstack.nova.server.tx_packets counter Transmitted packets at an instance
gauge.openstack.cinder.limit.maxTotalVolumeGigabytes gauge Total available block storage at cinder component for project
gauge.openstack.cinder.limit.maxTotalVolumes gauge Maximum volume resources available at cinder component for project
gauge.openstack.cinder.limit.totalGigabytesUsed gauge Total block storage used at cinder component for project
gauge.openstack.cinder.limit.totalVolumesUsed gauge Volume resources used at cinder component for project
gauge.openstack.neutron.floatingip.count gauge Overall floating IPs used across projects
gauge.openstack.neutron.network.count gauge Overall Network resources used across projects
gauge.openstack.neutron.router.count gauge Overall router resources used across projects
gauge.openstack.neutron.securitygroup.count gauge Overall securitygroup resources used across projects
gauge.openstack.neutron.subnet.count gauge Overall subnet resources used in all projects
gauge.openstack.nova.hypervisor.disk_available_least gauge Minimum free disk space available in Gigabyte
gauge.openstack.nova.hypervisor.free_disk_gb gauge Maximum free disk space available in Gigabyte
gauge.openstack.nova.hypervisor.load_average gauge Average CPU load on the hypervisor
gauge.openstack.nova.hypervisor.local_gb gauge Maximum available local disk space in Gigabyte
gauge.openstack.nova.hypervisor.local_gb_used gauge Total disk space used in Gigabyte
gauge.openstack.nova.hypervisor.memory_mb gauge Maximum available memory in MB at hypervisor
gauge.openstack.nova.hypervisor.memory_mb_used gauge Total memory used in MB at hypervisor
gauge.openstack.nova.hypervisor.running_vms gauge Total running VMs at hypervisor
gauge.openstack.nova.hypervisor.vcpus gauge Available physical cores at hypervisor
gauge.openstack.nova.hypervisor.vcpus_used gauge Used virtual CPUs used
gauge.openstack.nova.limit.maxSecurityGroups gauge Maximum available security groups for project
gauge.openstack.nova.limit.maxTotalCores gauge Maximum available VCPUs in project
gauge.openstack.nova.limit.maxTotalFloatingIps gauge Maximum available floating IPs for project
gauge.openstack.nova.limit.maxTotalInstances gauge Maximum available instances in project
gauge.openstack.nova.limit.maxTotalRAMSize gauge Maximum available RAM size for project
gauge.openstack.nova.limit.totalCoresUsed gauge Total cores used in the project
gauge.openstack.nova.limit.totalInstancesUsed gauge Total instances used in the project
gauge.openstack.nova.limit.totalRAMUsed gauge Total RAM used in the project
gauge.openstack.nova.server.memory gauge Memory provisioned at an instance
gauge.openstack.nova.server.memory-actual gauge Actual memory used at an instance
gauge.openstack.nova.server.memory-rss gauge Memory used not including disk pages at an instance
gauge.openstack.nova.server.vda_read gauge Size of virtual disk read requests in bytes
gauge.openstack.nova.server.vda_read_req gauge Virtual disk read requests from an instance
gauge.openstack.nova.server.vda_write gauge Size of virtual disk write requests in bytes
gauge.openstack.nova.server.vda_write_req gauge Virtual disk write requests from an instance

To specify custom metrics you want to monitor, add a metricsToInclude filter to the agent configuration, as shown in the code snippet below. The snippet lists all available custom metrics. You can copy and paste the snippet into your configuration file, then delete any custom metrics that you do not want sent.

Note that some of the custom metrics require you to set a flag as well as add them to the list. Check the monitor configuration file to see if a flag is required for gathering additional metrics.

metricsToInclude:
  - metricNames:
    - counter.openstack.nova.server.cpu_time
    - gauge.openstack.nova.hypervisor.load_average
    monitorType: collectd/openstack