OpenStack monitoring with Topologix
Infrastructure & Networking
OpenStack read like vCenter and Nutanix: one integration is one Keystone endpoint and one region; every service URL — Nova, Placement, Cinder, Neutron, Glance, Octavia — comes from the token's service catalogue. On Infrastructure → Hypervisors each availability zone is a cluster: its hypervisors (the nova-compute service state, a disabled host with its reason, host aggregates as tags), the allocated vCPU / memory / disk from Placement — (total − reserved) × allocation_ratio, labelled “allocated”, never shown as measured load — N+1 on that allocated capacity, the Cinder pools (a Ceph backend named so) and the region's projects with their quota use. The VMs (all projects with the admin role) reach the Servers page, the per-VM history, right-sizing and Top VMs; their fixed and floating IPs name the flows to them. Findings: a compute service down or disabled, a Cinder service down, a VM in ERROR, a project at 90 % of a quota. Neutron (read every 10 minutes): the networks and routers reach the Topology with each VM's ports on them, every VM carries its floating IPs (aliases of the VM — a flow, a CDN origin or a load-balancer member on one resolves to it) and its security groups (the bot answers “is 5432 on X open from Y”); findings: a Neutron agent down, an admin port (SSH, RDP, a database port) open to the internet — or port security off — behind a floating IP. Instance actions (read every 5 minutes): who created, deleted, started, stopped, resized, rebuilt, migrated or evacuated which VM — the AI's what_changed, search_events and vm_placement answer from them, and the VM, hypervisor and availability-zone rows on the Hypervisors page show them as a timeline (a migration names both hypervisors).
Requirements
- A proxy agent (1.347.0 or later) on the network that reaches Keystone and the service endpoints — OpenStack APIs are almost always on a private network.
- A credential: an application credential (recommended — revocable, not tied to a password:
openstack application credential create topologix-ro) or a user + password with its user domain, project and project domain. - The role decides what is read. With the admin role on the credential's project: the whole cloud (hypervisors, compute services, every project, Cinder pools, Neutron agents). With member or reader: that project's VMs, volumes and quotas only — the rest is shown as “needs the admin role”, never as empty. Application credentials are always project-scoped.
- Nova API microversion 2.53 or later (OpenStack Pike or newer). Topologix asks for 2.88 and uses the cloud's maximum when it is lower.
- The endpoints read (all GET, except Gnocchi's read-only aggregates query): Nova
os-hypervisors/detail,os-services,os-availability-zone/detail,os-aggregates,servers/detail?all_tenants=1(paged),servers/{id}/diagnostics,os-quota-sets/{project}/detail; Placementresource_providers/{uuid}/inventoriesand/usages; Cinderscheduler-stats/get_pools?detail=true,os-services,volumes/detail,os-quota-sets/{project}?usage=true; Gnocchi (when the catalogue lists ametricservice)POST /v1/aggregates. Everything above except a project's own VMs, volumes and quotas needs the admin role. - Instance actions (proxy 1.348.0 or later): every 5 minutes
servers/detail?all_tenants=1&changes-since=…(deleted servers included), then for each changed serverservers/{id}/os-instance-actions?changes-since=…and oneos-instance-actions/{request_id}per action for its events; the user's name from Keystone/v3/users/{id}(cached an hour; without the admin role the user id is shown). Only completed actions are stored (every event finished); a running one is read again once it finishes, and an action whose event never finishes is never stored. Attaching or detaching a volume or an interface does not always change the server'supdated_at, so each pass also re-reads a rotating slice of every known server (one whose attached volumes changed since the last VM read goes first) — within the same per-pass limit and 60-second budget, so every server is re-read every few passes (the coverage line says how often); after a server restart the first round reads each server's last 24 hours (already stored actions are not stored twice). At most 25 actions per server are read per window; more are named in the coverage. At most Admin → Settings → Background workers → Hypervisors: OpenStack instance actions — servers per pass changed servers a pass (200 by default;hvOpenstackActionsPerPass) within 60 seconds — the rest are read by the next pass, nothing is skipped. A migration's from / to hypervisor needs the admin role and Nova 2.62 or later (the events' host); otherwise the VM's current hypervisor is shown and the answer says “from / to not readable”. A member / reader credential reads its own project's actions; a refused read is shown as partial coverage, never as “no changes”. Limits: no migration-storm finding for OpenStack (vCenter only), and the catalogue's service timeline joins a VM's actions, not its hypervisor's. - Volumes per VM: from the same Cinder
/volumes/detailread (all projects, else the credential's own project). For each VM: device, size, type, status, bootable, pool (os-vol-host-attr:host), backend / protocol / vendor (scheduler-stats/get_pools). A boot-from-image root or an ephemeral disk is shown as a local disk on the hypervisor. Up to 26 volumes per VM, plus a count of the rest. - The pool and backend need the admin role on the credential's project; a project reader sees “pool not visible: needs the admin role”.
- The volume lists are stored only after a complete volume read. A truncated or refused read keeps each VM's last list, and the coverage says why. Each VM shows the age of its list (re-stamped at most every 6 hours when unchanged).
- The AI's vm_storage_path answers OpenStack VMs from this stored path, with no live read: disk → volume → pool → backend → the cinder-volume service and its state. With several VMs it ranks the shared pool / backend / hypervisor. OpenStack keeps no disk latency (Gnocchi / Nova diagnostics give IOPS and throughput only), so name the slow VMs; without a list the busier half is compared and the answer says it is load, not slowness. A Ceph backend shows its RBD pool only.
- Not covered: storage_health for OpenStack; the array volume behind a Cinder backend; Ceph OSD / PG health.
- Per-VM figures: Gnocchi when deployed (cpu, memory.usage, the
instance_disk/instance_network_interfacecounters — rate:mean, or the raw means diffed); otherwise Nova diagnostics (admin; up to Admin → Settings → Background workers → Hypervisors: OpenStack VM diagnostics per pass VMs a 5-minute pass — 100 by default — within 40 seconds, rotating; rates from the counters between two passes, so a VM's first pass has none). The coverage line on the Hypervisors page names the source. Gnocchi'srate:meanis a delta per bucket of the archive policy's finest granularity: Topologix divides it by the gap to the previous bucket (never by the granularity alone), so a Ceilometer polling interval longer than the granularity (empty buckets) does not inflate the rate.
1 · Set up the integration
- Open the Integrations pageClick Integrations and pick OpenStack from the catalogue (Infrastructure & Networking).
- Enter Keystone and the regionKeystone auth URL (e.g.
https://keystone.example.lan:5000/v3— the/v3is added when absent), the Region (empty = the first region that has the service) and the Endpoint interface (internal by default; public when the proxy only reaches the public endpoints). - Pick the authenticationApplication credential: its id and secret. User + password: the username, password, user domain (Default), project (name or id) and project domain (Default). The secret / password is sealed at rest.
- TLS and scopePaste the cloud's CA bundle (PEM) for a private CA, or tick Skip TLS verification for a self-signed lab cloud. The optional Project filter narrows the reads to named projects. The In effect box shows every value and whether it comes from this integration or the default. Pick the Default proxy.
- Create, then TestClick Create, reopen the integration and click Test. It names the region and interface, the project, the services found, the Nova microversion pinned (and the cloud's maximum) and whether the credential has the admin reads.
2 · Add it to a flow
- Add a metric node, pick this integration and a Target: an Availability zone (hypervisors up / disabled, allocated vCPU / memory / disk), a Server (status, power, flavor, IPs, Gnocchi figures), a Project quota (cores, RAM, instances, volumes in use of the quota) or Alerts (the derived alerts — they drive the node's health dot).
- Each canvas source on an Availability zone or Alerts target does its own region read (hypervisors, services, zones, aggregates; Placement and quotas cached 5 minutes) every time it is polled — prefer one per zone and a longer interval on a large cloud.
Good to know
- Tokens are reused until 5 minutes before they expire and renewed once when a service refuses one; a refused login is reported as an authentication failure, a refused read (HTTP 403) as “access denied by policy” — the credential is fine, its role is not.
- No error text ever carries the token, the password or the application-credential secret.
- A credential without the admin role is never shown as an empty cloud: the coverage is “partial” and names each read that was refused (“needs the admin role on the credential's project”); its own project's VMs and quotas are still read.
- Licensing: OpenStack counts its VMs and its hypervisors — each powered-on VM like a vCenter or Nutanix VM, and each Nova hypervisor the last region read listed as one monitored host (by its host IP, else its hostname; one that is also an ESXi host, a host-agent server or a device on that address is counted once). A credential without the admin role reads no hypervisor, so only its VMs count; a powered-off VM never counts.
- Octavia load balancers are a separate integration, OpenStack Octavia, that uses this integration's credential.
- Neutron endpoints read (GET only):
/v2.0/networks,subnets,routers,ports,floatingips,security-groups,security-group-rules,agents(agents need the admin role). A read that does not come back whole is named in the coverage and never removes what an earlier read found: a network, router or VM port disappears only after a complete read no longer lists it.
More Infrastructure & Networking integrations
See it on your own infrastructure
Book a demo and we will walk you through Topologix with your systems in mind: on our cloud, or self-hosted in your own network.