Skip to content

Nutanix

ZenPacks.zenoss.Nutanix

This ZenPack provides system monitoring for Nutanix hyper-converged infrastructure.

Nutanix features include:

  • Overall Cluster Health Monitoring
  • Health Monitoring for Clusters, Hosts, and CVMs
  • Graphs for key Nutanix settings and performance metrics
  • Service Impact and root cause analysis. (Requires Zenoss Service Dynamics)
  • Incremental modeling, when changes to the cluster are detected
  • Event Management

Applications Monitored: Nutanix Hyperconverged Infrastructure

Commercial

This ZenPack is developed and supported by Zenoss Inc. Commercial ZenPacks are available to Zenoss commercial customers only. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Commercial ZenPacks.

Releases

Version 2.2.0 - Download

  • Released on 2026/11/09
  • Requires PythonCollector ZenPack, ZenPackLib ZenPack (>=2.0.8)
  • Compatible with Virtana Service Observability (formerly Zenoss Cloud), Virtana Resource Manager 6.9.0, Service Impact 5.7.2

Version 2.1.4 - Download

  • Released on 2026/08/11
  • Requires PythonCollector ZenPack, ZenPackLib ZenPack (>=2.0.8)
  • Compatible with Virtana Service Observability (formerly Zenoss Cloud), Virtana Resource Manager 6.9.0, Service Impact 5.7.2

Background

This ZenPack monitors Nutanix hyper-converged infrastructure.

Prerequisites

  • Nutanix (5.15+)
  • Nutanix API V1/V2 (Prism Element), or V4 via Prism Central (see Prism Central (v4 API) Support below)
  • Prism API credentials
  • ZenPackLib ZenPack 2.0.8+

Nutanix Overview

  • Contains the device summary, status, and list of components.

Cluster Summary

New graphs to 2.0.0 include the IO Bandwidth and IO Latency

Nutanix Component - Interfaces

  • A new component introduced in 2.0.0, is responsible for tracking network usage

Nutanix Dependencies View

  • Displays the known associations between the selected component and other components of the same device or linked devices.

Nutanix Dynamic View

  • Provides a visual representation of how the device's components are organized.

Nutanix Structure and Discovery

Objects are automatically discovered via the Nutanix API. The ZenPack class structure can be visualized in the following Diagram:

Nutanix ZP Design

Nutanix Device (NutanixEndpoint)

  • Description: The Nutanix device, can host multiple clusters.
  • Attributes: cluster_arch, cluster_external_ipaddress, cluster_uuid, device_uuid, hypervisor_types, model_name, ncc_version, prism_version, product_version, timezone
  • Relationships: nutanixClusters, nutanixSubnets, nutanixRecoveryPoints (the last two on Prism Central only)
  • Datasources:
    • events (Prism Element only)
    • alerts
    • incremental (Prism Central only; on Prism Element it is a cluster datasource)

Nutanix Clusters (NutanixCluster)

  • Description: The cluster component. Nutanix can host multiple clusters.
  • Attributes: cluster_external_ipaddress, cluster_uuid, num_hosts, operation_mode, storage_usage_percent, total_cpu, total_memory, total_storage, version; on Prism Central also cluster_arch, hypervisor_types, redundancy_factor and timezone
  • Relationships: nutanixEndpoint, nutanixCVMs, nutanixHosts, nutanixStoragePools, nutanixVMs, nutanixVdisks
  • Datapoints:
    • cluster:
      • operationMode
    • stats:
      • contentCacheHitPercent
      • controllerReadIoPercent
      • controllerWriteIoPercent
      • hypervisorCpuUsagePercent
      • hypervisorKvmCpuUsagePercent
      • hypervisorKvmMemoryUsagePercent
      • hypervisorMemoryUsagePercent
      • readIoPercent
      • writeIoPercent
      • ioBandwidthKBps
      • readIoBandwidthKBps
      • writeIoBandwidthKBps
      • hypervisorIoBandwidthKBps
      • hypervisorReadIoBandwidthKBps
      • hypervisorWriteIoBandwidthKBps
      • controllerIoBandwidthKBps
      • controllerReadIoBandwidthKBps
      • controllerWriteIoBandwidthKBps
      • replicationTransmittedBandwidthKBps
      • replicationReceivedBandwidthKBps
      • avgIoLatencyUsecs
      • hypervisorAvgIoLatencyUsecs
      • hypervisorAvgReadIoLatencyUsecs
      • hypervisorAvgWriteIoLatencyUsecs
      • controllerAvgIoLatencyUsecs
      • controllerAvgReadIoLatencyUsecs
      • controllerAvgWriteIoLatencyUsecs
    • usagestats:
      • storageCapacityBytes
      • storageFreeBytes
      • storageUsagePercent
      • storageTierDasSataCapacityBytes
      • storageTierDasSataFreeBytes
      • storageTierDasSataUsagePercent
      • storageTierSsdCapacityBytes
      • storageTierSsdFreeBytes
      • storageTierSsdUsagePercent
  • Graphs:
    • IO Bandwidth
    • IO Latency
    • IO
    • IO Cache Hit Ratio
    • Hypervisor CPU Utilization
    • Hypervisor Memory Utilization
    • Storage Utilization
    • SSD Storage
    • DAS Storage
  • Thresholds:
    • 90 Percent Storage
    • 95 Percent Storage
    • 95 Percent hypervisor memory
    • 98 Percent Controller IO
    • 98 Percent Disk IO

Hosts (NutanixHost)

  • Description: Hosts that Nutanix services run on
  • Attributes: cluster_uuid, host_uuid, hypervisor_address, service_vmexternal_ip, cpu_capacity_in_hz, memory_capacity_in_bytes, hypervisor_version, hypervisor_state, state, total_storage, cvm_uuids, vm_uuids; on Prism Central also model_name (block model), serial, cpu_model, num_cpu_sockets, num_cpu_cores, maintenance_state, node_status, is_degraded, boot_time_usecs, controller_vm_uuid
  • Relationships: nutanixCluster, nutanixHardDisks, nutanixInterfaces, nutanixVMs, nutanixCVMs
  • Datapoints:
    • host:
      • numVms
      • state
    • stats:
      • contentCacheHitPercent
      • controllerReadIoPercent
      • controllerWriteIoPercent
      • hypervisorCpuUsagePercent
      • hypervisorMemoryUsagePercent
      • readIoPercent
      • writeIoPercent
      • ioBandwidthKBps
      • readIoBandwidthKBps
      • writeIoBandwidthKBps
      • hypervisorIoBandwidthKBps
      • hypervisorReadIoBandwidthKBps
      • hypervisorWriteIoBandwidthKBps
      • controllerIoBandwidthKBps
      • controllerReadIoBandwidthKBps
      • controllerWriteIoBandwidthKBps
      • avgIoLatencyUsecs
      • hypervisorAvgIoLatencyUsecs
      • hypervisorAvgReadIoLatencyUsecs
      • hypervisorAvgWriteIoLatencyUsecs
      • controllerAvgIoLatencyUsecs
      • controllerAvgReadIoLatencyUsecs
      • controllerAvgWriteIoLatencyUsecs
    • usagestats:
      • storageCapacityBytes
      • storageFreeBytes
      • storageUsagePercent
      • storageTierDasSataCapacityBytes
      • storageTierDasSataFreeBytes
      • storageTierDasSataUsagePercent
      • storageTierSsdCapacityBytes
      • storageTierSsdFreeBytes
      • storageTierSsdUsagePercent
  • Graphs:
    • IO Bandwidth
    • IO Latency
    • IO
    • IO Cache Hit Ratio
    • Hypervisor CPU Utilization
    • Hypervisor Memory Utilization
    • Storage Utilization
    • SSD Storage
    • DAS Storage
  • Thresholds:
    • 90 Percent Storage
    • 95 Percent Storage
    • 95 Percent hypervisor cpu
    • 95 Percent hypervisor memory
    • 98 Percent Disk IO

NutanixVM/NutanixCVM

Nutanix CVMs and VMs have a very similar structure and we cover them together although they are completely distinct components.

  • Description: Virtual Machines and Controller Virtual Machines
  • Attributes: cluster_uuid, host_uuid, ipAddresses, mac_addresses, memoryCapacityInBytes, network_uuids, nonNdfsDetails, num_vcpus, vdisk_uuids, vm_uuid, power_state; on Prism Central also hypervisor_type, machine_type, is_agent_vm, secure_boot_enabled, vtpm_enabled, gpu_modes, gpu_passthrough, ngt_installed, ngt_version, project_uuid, subnet_uuids, and (VMs) recovery_points
  • Relationships: nutanixCluster, nutanixHost, nutanixVdisks, and (VMs) nutanixSubnets
  • Datapoints:
    • stats:
      • memoryUsagePercent
      • hypervisorConsumedMemoryBytes
      • hypervisorCpuUsagePercent
      • guestMemoryUsageBytes
      • guestMemoryUsagePercent
      • hypervisorIoBandwidthKBps
      • hypervisorReadIoBandwidthKBps
      • hypervisorWriteIoBandwidthKBps
      • controllerIoBandwidthKBps
      • controllerReadIoBandwidthKBps
      • controllerWriteIoBandwidthKBps
      • hypervisorAvgIoLatencyUsecs
      • hypervisorAvgReadIoLatencyUsecs
      • hypervisorAvgWriteIoLatencyUsecs
      • controllerAvgIoLatencyUsecs
      • controllerAvgReadIoLatencyUsecs
      • controllerAvgWriteIoLatencyUsecs
    • vm:
      • powerState
  • Graphs:
    • IO Bandwidth
    • IO Latency
    • Hypervisor CPU Utilization
    • Memory Utilization
  • Thresholds:
    • 98 percent of guest memory

Network Interfaces (NutanixInterface)

  • Description: Physical network interfaces associated with each host
  • Attributes: host_uuid, interface_uuid, nic_name, mac_address, ipv4_addr, ipv6_addr, link_mtu, link_capacity, description, discovery_protocol, switch, switch_port, switch_vlan_id, switch_mac_address, switch_details, link_state, driver_version, firmware_version (the last three on Prism Central only)
  • Relationships: nutanixHost
  • Datapoints:
    • nic:
      • networkTransmittedBytes
      • networkReceivedBytes
  • Graphs:
    • Network Usage

Hard Disks (NutanixHardDisk)

  • Description: Physical hard disks used for VM storage
  • Attributes: cluster_uuid, disk_uuid, host_uuid, location, model, serial_number, size, storage_tier_name
  • Relationships: nutanixHost, nutanixStoragePool
  • Datapoints:

    • disk:
      • diskStatus
      • online
    • stats:

      • readIoPercent
      • writeIoPercent
      • readIoBandwidthKBps
      • writeIoBandwidthKBps
      • avgIoLatencyUsecs
    • usagestats:

      • storageCapacityBytes
      • storageFreeBytes
      • storageUsagePercent
    • Graphs:
    • Disk IO Bandwidth
    • Disk IO Latency
    • Storage Utilization
    • Thresholds:
    • 90 Percent Storage
    • 95 Percent Storage

Storage Pools (NutanixStoragePool)

  • Description: The Nutanix logical storage objects
  • Attributes: cluster_uuid, disk_uuids, free_bytes, size, storagepool_uuid, used_bytes
  • Relationships: nutanixContainers, nutanixHardDisks
  • On Prism Central devices the v4 API has no storage-pool resource, so the pool is derived from its storage containers and has no datapoints of its own: its size is the sum of its disks, used_bytes the sum of its containers' use, and free_bytes the difference. The datapoints and graphs below are collected on Prism Element devices only.
  • Datapoints:

    • stats:

      • avgIoLatencyUsecs
      • readIoBandwidthKBps
      • writeIoBandwidthKBps
      • readIoPercent
      • writeIoPercent
    • usagestats:

      • storageCapacityBytes
      • storageFreeBytes
      • storageUsageBytes
      • storageUsagePercent
      • storageTierDasSataCapacityBytes
      • storageTierDasSataFreeBytes
      • storageTierDasSataUsageBytes
      • storageTierDasSataUsagePercent
      • storageTierSsdCapacityBytes
      • storageTierSsdFreeBytes
      • storageTierSsdUsageBytes
      • storageTierSsdUsagePercent
    • Graphs:
    • IO Bandwidth
    • IO Usage
    • Storage Utilization
    • SSD Storage
    • DAS Storage
    • Thresholds:
    • 90 Percent Storage
    • 95 Percent Storage

Nutanix Storage Containers (NutanixContainer)

  • Description: Storage containers sub-divide Nutanix storage pools.
  • Attributes: cluster_uuid, compressionEnabled, container_uuid, erasureCode, free_bytes, replicationFactor, size, storagepool_uuid, used_bytes
  • Relationships: nutanixStoragePool, nutanixVdisks
  • Datapoints:
    • stats:
      • controllerAvgReadIoSizeKbytes
      • controllerAvgWriteIoSizeKbytes
      • controllerReadIoBandwidthKBps
      • controllerWriteIoBandwidthKBps
      • controllerAvgReadIoLatencyUsecs
      • controllerAvgWriteIoLatencyUsecs
    • usagestats:
      • storageUsagePercent
      • storageUsageBytes
      • storageCapacityBytes
      • storageFreeBytes
      • storageTierDasSataUsageBytes
      • storageTierSsdUsageBytes
  • Graphs:
    • Controller IO Bandwidth
    • Controller IO Latency
    • Storage Utilization
    • SSD Usage
    • DAS Usage
  • Thresholds
    • 90 Percent Storage
    • 95 Percent Storage

Nutanix Virtual Disks (NutanixVdisk)

  • Description: Virtual disks existing inside a NutanixContainer.
  • Attributes: attached_vm_uuid, cluster_uuid, size, storage_container_uuid, vdisk_uuid; on Prism Central also disk_address and hypervisor_type
  • Relationships: nutanixCVM, nutanixCluster, nutanixContainer, nutanixVM
  • Datapoints:
    • stats:
      • controllerAvgReadIoSizeKbytes
      • controllerAvgWriteIoSizeKbytes
      • controllerReadIoBandwidthKBps
      • controllerWriteIoBandwidthKBps
      • controllerAvgReadIoLatencyUsecs
      • controllerAvgWriteIoLatencyUsecs
  • Graphs:
    • Controller IO Bandwidth
    • Controller IO Latency

Subnets (NutanixSubnet)

  • Description: The VLAN and overlay subnets a Prism Central manages. Prism Central only.
  • Attributes: subnet_uuid, subnet_type, vlan_id, ip_prefix, gateway, is_external, vpc_uuid, cluster_uuid, cluster_name, hypervisor_type
  • Relationships: nutanixEndpoint, nutanixVMs
  • No datapoints

Recovery Points (NutanixRecoveryPoint)

  • Description: Recovery points (VM snapshots). Prism Central only, modeled when zNutanixModelRecoveryPointsV4 is on.
  • Attributes: rp_uuid, recovery_point_type, recovery_point_status, creation_time, expiration_time, location_uuids, vm_uuids, vm_names, vms (the VMs it protects)
  • Relationships: nutanixEndpoint
  • No datapoints

Usage

To monitor a Prism Element cluster, you must expose the Nutanix V1 and V2 APIs on your Prism system. Once you have the username and password, you can enter the device in Virtana as follows (this dialog box adds Prism Element devices only; to add a Prism Central, see Adding a Prism Central device below):

  • Go to Infrastructure Tab
  • From the Add Device pull-down, select Add Nutanix Device
    • Enter the hostname or IP address
    • Enter the username
    • Enter the password
    • Select the correct collector
    • Finally, click on Add
  • After the modeling is complete you should see your device components
  • If modeling large numbers of components you may have to increase zCollectorClientTimeout well beyond 600 to avoid model timeout.

The Nutanix model is automatically updated as changes are detected on the cluster. New and deleted components are updated as part of the regular monitoring cycle. However, to avoid overloading, Nutanix API incremental modeling has a 30-minute delay between cycles, and with the Zenoss monitoring cycle (default 5-minute cycles), it may take a minimum of 30 minutes before the Zenoss Nutanix model synchronizes with the Nutanix Cluster.

Controlling which VMs are Modeled

By default, all Virtual Machines (VMs) managed by the Nutanix endpoint are modeled. Optionally, you may exclude certain VMs that you don't want Zenoss to model through the use of the zNutanixModelExcludeVMNames and zNutanixModelIncludeVMNames zProperties. When the modeler matches these patterns, it first checks zNutanixModelIncludeVMNames against the VMs names, and only then zNutanixModelExcludeVMNames. Therefore, a name matching zNutanixModelIncludeVMNames is always modeled, regardless of zNutanixModelExcludeVMNames. These zProperties work the same way on a Prism Central device (/Nutanix/PrismCentral) as they do on a Prism Element device (/Nutanix).

Examples:

  • To model only VMs with "prod" in their name:
    • Exclude: .*
    • Include: ^prod.*
  • To exclude a specific VM name:
  • Exclude: ^test.*
  • Include: (leave blank)

Additionally, you might want to disable the modeling of Vdisks associated with disabled VMs. Use the zNutanixModelDisableAssociatedVdisks zProperty. By default, all associated Vdisks are modeled. To disable them, set the zNutanixModelDisableAssociatedVdisks value to True.

Nutanix Batch Configuration

You can also add your devices in batch for convenience and automation.

  • Attach to the Zope container:

     serviced service attach zope
    
  • Create a text file (filename: /tmp/batch.txt) as follows:

     /Devices/Nutanix nutanix64 setManageIp='10.1.1.7', \ zNutanixUsername='username', \ zNutanixPassword='password'
    
  • Now run the zenbatchload command:

     zenbatchload /tmp/batch.txt
    
  • The device should now load and model automatically

  • For a Prism Central, use /Devices/Nutanix/PrismCentral as the device class (see Adding a Prism Central device below)

Prism Central (v4 API) Support

Nutanix is deprecating the v0.8/v1/v2 APIs used by the rest of this ZenPack in favor of a new v4 API. Only Prism Central serves the v4 API; Prism Element doesn't. Prism Central is a separate, optional management VM that fronts one or more Prism Element clusters. This ZenPack supports monitoring through Prism Central alongside the existing, unchanged Prism Element (v1/v2) support.

Requirements

  • Prism Central pc.7.6 / AOS 7.6 or later, serving the v4 API versions listed below. This release was validated against Prism Central pc.7.6 managing AHV clusters; earlier versions have not been tested.
  • An account on Prism Central, set in zNutanixUsername and zNutanixPassword. The ZenPack only reads from Prism Central: every request it sends is a GET.
  • A read-only role is enough on Prism Central, because the ZenPack only sends GET requests. The role must be able to list clusters, hosts, host NICs, CVMs, disks, storage containers, VMs, subnets, recovery points and alerts, and read their statistics.
  • Port 9440 (zNutanixPort) reachable from the collector, as for Prism Element.

v4 API namespaces and versions used:

  • clustermgmt v4.3: clusters, hosts, CVMs, disks, storage containers, and their statistics
  • vmm v4.3: AHV and ESXi VMs, VM statistics, VM disk (vdisk) statistics
  • prism v4.4: domain managers (identifies the Prism Central)
  • networking v4.4: subnets
  • dataprotection v4.4: recovery points
  • monitoring v4.0: alerts

Adding a Prism Central device

Place a Prism Central device directly under the /Nutanix/PrismCentral device class (as opposed to /Nutanix for a Prism Element device). There is no automatic detection or migration between the two device classes. The operator chooses the right one when adding the device, the same way any other device type is classified in Virtana.

The Add Nutanix Device dialog box (see Usage) always adds the device to /Nutanix, so it cannot be used for a Prism Central. Use either of these instead:

  • From the Infrastructure tab, Add Device > Add a Single Device:
    • Enter the hostname or IP address of the Prism Central
    • Select the device class /Nutanix/PrismCentral
    • Select the correct collector
    • Set zNutanixUsername and zNutanixPassword for the device (and zNutanixPort/zNutanixUseSSL if they differ from the defaults) before it is modeled
  • zenbatchload, as described in Nutanix Batch Configuration, with /Devices/Nutanix/PrismCentral as the device class line:
     /Devices/Nutanix/PrismCentral
     prismcentral01 setManageIp='10.1.1.8', \
        zNutanixUsername='username', \
        zNutanixPassword='password'
    

A device added to the wrong class is reported, not moved:

  • zNutanixAPIVersion ('auto'/'v2'/'v4', default 'auto'): a sanity check, not a switch. With the default 'auto', the modeler probes the device and raises a Warning event if it looks like the device was placed in the wrong class (for example, a Prism Central endpoint classified under plain /Nutanix). Set it to 'v2' or 'v4' to silence that warning for a device that is deliberately staying where it is (for example, a Prism Element cluster that is also registered to a Prism Central and would otherwise trip the probe).

What's modeled on a Prism Central device

  • Device (NutanixEndpoint): the Prism Central itself
  • Clusters (NutanixCluster): every Prism Element cluster Prism Central manages. Prism Central's own cluster entry is not modeled.
  • Hosts (NutanixHost), including maintenance state, node status, block model and serial, CPU model, sockets and cores
  • Host network interfaces (NutanixInterface): name, MAC address, MTU, link state and speed, driver and firmware version, and the LLDP switch they are cabled to (see the limitations below)
  • CVMs (NutanixCVM), from each cluster's CVM list
  • VMs (NutanixVM), AHV and ESXi, including power state, IP and MAC addresses, guest tools, machine type, Secure Boot, vTPM and GPU details
  • Storage containers (NutanixContainer)
  • Storage pools (NutanixStoragePool), derived from the storage containers (see the limitations below)
  • Hard disks (NutanixHardDisk), linked to their host and storage pool
  • Subnets (NutanixSubnet), linked to the VMs attached to them. Prism Central only.
  • Virtual disks (NutanixVdisk): only with zNutanixModelVdisksV4 turned on
  • Recovery points (NutanixRecoveryPoint): only with zNutanixModelRecoveryPointsV4 turned on. Prism Central only.

The zNutanixModelIncludeVMNames/zNutanixModelExcludeVMNames filters (see Controlling which VMs are Modeled) apply the same way as on a Prism Element device.

The model is updated between scheduled models by an incremental check, which requests a remodel (at most one per 30 minutes) when clusters, hosts or VMs are added or removed, a VM moves to another host, or a VM is powered on or off. A Warning event (nutanix-error) is raised while the check cannot run.

A model that could not read a collection completely leaves that collection's components as they are and raises a nutanix-model-incomplete event (see the 2.2.0 changes below).

What's monitored on a Prism Central device

  • Alerts: Prism Central alerts become /Nutanix/Alert events on the cluster, host or VM they name (one event per entity), are cleared when resolved in Prism Central, and carry Prism Central's alert details (type, creation and last-occurred times, KB articles). They are collected every zNutanixAlertsInterval seconds.
  • Clusters: hypervisor CPU and memory, controller IO bandwidth and latency, total IO bandwidth, storage capacity and usage (with the 90/95 percent storage and 95 percent hypervisor memory thresholds), and the Cluster Storage Summary on the device overview
  • Hosts: hypervisor CPU and memory (95 percent thresholds), controller IO bandwidth and latency, total IO bandwidth, storage capacity and usage (90/95 percent thresholds). A host entering maintenance mode raises a Warning event, cleared when it is back in service, and requests a remodel so the VMs moved off it show on their new host.
  • VMs: CPU, memory (98 percent threshold), hypervisor and controller IO bandwidth and latency, network traffic, and (AHV only) dropped packets
  • Storage containers: controller IO bandwidth and latency, capacity, free and used storage (90/95 percent thresholds)
  • Hard disks: IO bandwidth, latency and IO percentages, capacity and usage (90/95 percent thresholds), and a Critical event when a disk's status is not NORMAL
  • Virtual disks (when modeled): controller IO size, bandwidth and latency

Performance data is collected every zNutanixPerfInterval seconds.

Optional components: vdisks and recovery points

Both are off by default, because of their cost on a large Prism Central:

  • zNutanixModelVdisksV4 (default False): model the virtual disks of each VM. Finding them costs nothing extra (they come with the VM list), but Prism Central has no bulk statistics call for them: each vdisk's performance data is one more API call per vdisk per collection cycle. Turn it on only once the number of vdisks is known to fit in zNutanixPerfInterval without overloading Prism Central. Turning it off removes the vdisks modeled while it was on.
  • zNutanixModelRecoveryPointsV4 (default False): model recovery points (VM snapshots) as components, linked to the VMs they protect. Scheduled protection policies can keep thousands of recovery points, each one a component reconciled on every model. Recovery points are created and expire continuously, so on a busy Prism Central the list often changes while it is being read: a recovery point that has gone is then removed only when it is missing from two models in a row (see the limitations below). Turning it off removes the recovery points modeled while it was on.

If modeling a large Prism Central times out, increase zCollectorClientTimeout (see Usage). The optional collections are read last; one that would start with too little of the model run left is skipped and reported as incomplete, and a model run that exceeds zCollectorClientTimeout raises an Error nutanix-model-incomplete event.

Known limitations on Prism Central

Some come from the v4 API itself, some from what this release implements:

  • No host NIC traffic graphs. Host network interfaces (NutanixInterface) are modeled under each host: name, MAC address, MTU, link state (UP or DOWN), link speed, driver and firmware version, and the LLDP switch (name, MAC address, port and VLAN where reported) when the NIC is cabled to one. The v4.3 API has no NIC statistics, so the interfaces have no graphs. A Prism Central that does not serve the host NICs endpoint models none; a host whose NIC list cannot be read completely keeps the NICs it had and is reported in the incomplete-model event.
  • No CVM metrics. CVMs are modeled, but the v4 API offers no CVM statistics, so the CVM template is empty: no CVM graphs, thresholds or power state.
  • No storage pool metrics or names. The v4 API has no storage pool resource, only each storage container's reference to its pool. Storage pools are titled by their UUID and have no IO data or graphs; their capacity, used and free space are derived from their disks and containers (see Storage Pools above).
  • Fewer cluster and host graphs. The v4 API exposes a smaller set of cluster and host metrics than v1/v2: for example no IO percentages, cache hit ratio, or per-tier storage percentages. The cluster "Operation Mode" field has no v4 source and is empty on Prism Central.
  • No Nutanix events (audit feed). Only alerts are collected. Prism Element's v2 events (logins, configuration changes) have no counterpart in this release.
  • The incremental check sees clusters, hosts and VMs only. It detects cluster, host and VM additions and removals, VM host moves and power changes. Changes to storage containers, disks (for example a disk replacement), CVMs and VM renames wait for the next scheduled model.
  • Warning and Info alerts follow Virtana event aging. Each open Prism Central alert is sent once (and again when its severity changes), so with the default Virtana settings a Warning or Info alert is aged after the event aging interval while it is still open in Prism Central; Critical alerts stay open until resolved. To keep Warning alerts open for as long as they are open in Prism Central, set Events > Event Manager > "Don't Age This Severity and Above" to Warning.
  • Prism Element-only zProperties. zNutanixEventsInterval (there are no events to collect) and zNutanixModelDisableAssociatedVdisks have no effect on a Prism Central device. On Prism Central, vdisks follow zNutanixModelVdisksV4, and the vdisks of VMs excluded by name are still modeled when it is on.
  • Monitoring one cluster twice. A cluster monitored both as a Prism Element device and through a Prism Central device is modeled twice: its hosts, VMs and storage pools count twice toward your Managed Resource total, and its alerts appear on both devices. Monitor each cluster through one device only, or remove the Prism Element device once the Prism Central device is in place.
  • Lists that change while they are read. The v4 API pages long lists with no snapshot, so a VM created or deleted while a list is read shifts the later pages. VMs are read cluster by cluster, and a list that changed while being read is read once more. If it still changes, the VMs (or recovery points) it returned are added or updated, and a component missing from it is removed only when it is also missing from the next model: a deleted VM or recovery point can take one extra model to disappear from Virtana. An alert list that changes again on its second read raises and clears no alert events in that cycle; the next cycle reads it again.

Install and Upgrade Instructions

If this is a new, clean install, no special actions are required.

When upgrade ZenPacks.zenoss.Nutanix from a version prior to 2.0.0, the service 'zenjobs' must be stopped in order to fully complete the upgrade to the latest version! If you run the upgrade while zenjobs is running, a warning message will appear. Please stop zenjobs and rerun the installation once more.

Alternatively, you can add the install job manually. If you have previously successfully installed this version, no further action is necessary.

Upgrade to 2.2.0

  • Expire the collector configuration of Nutanix devices. On a system with the configuration cache (Virtana Service Observability, and Virtana Service Dynamics 6.x releases that have the configcache command), installing a ZenPack does not rebuild the collector configurations already cached: collectors keep using configurations built by the previous version until the device changes. Once the installation has finished and the services have restarted on 2.2.0, expire the configuration of every Nutanix device, as the zenoss user in the Zope container:

     configcache device expire <device-id> [<device-id> ...]
    

    Name each Nutanix device (Prism Element and Prism Central), or give no device to expire every device's configuration. Do it only after the restart has finished: a configuration rebuilt by a service still running the old version can leave out the new datasources. This step is part of the upgrade and is done by whoever performs it: your administrator on Virtana Service Dynamics, or Virtana on Virtana Service Observability. - VM catalog index. The 2.2.0 migrate step adds the ipAddresses index to the Nutanix VM catalogs that lack it (catalogs created before 2.1.4) and reindexes those VMs. Until then, the Kubernetes node to Nutanix VM matching could link a node to the wrong VM on such systems. - Subnet and recovery point relationships. The 2.2.0 migrate step builds them on the existing devices of the /Nutanix device class and its sub-classes. A Nutanix device kept in another device class, and existing VMs (their subnet relationship), build them when first used; no migration job runs for those.

Installed Items

Installing this ZenPack will add the following items to your Zenoss system:

Configuration and zProperties

The zProperties and default settings are as follows:

  • zNutanixAlertsInterval: Interval to collect alerts; default 60 seconds
  • zNutanixEventsInterval: Interval to collect events; default 60 seconds. Prism Element (/Nutanix) only: Prism Central devices collect no events.
  • zNutanixPerfInterval: Interval to collect metric data; default 300 seconds
  • zNutanixUsername: API username
  • zNutanixPassword: API password
  • zNutanixPort: API port; default 9440
  • zNutanixUseSSL: API SSL boolean; default True
  • zNutanixModelIncludeVMNames: List of regular expressions (matched against VM names) to control which VMs are modeled. Note that zNutanixModelIncludeVMNames takes precedence over zNutanixModelExcludeVMNames.
  • zNutanixModelExcludeVMNames: List of regular expressions (matched against VM names) to control which VMs are NOT modeled. Note that zNutanixModelIncludeVMNames takes precedence over zNutanixModelExcludeVMNames.
  • zNutanixModelDisableAssociatedVdisks: Disable modeling Vdisk associated with VMs that have been excluded by zNutanixModelExcludeVMNames, zNutanixModelIncludeVMNames, boolean; default False. Prism Element (/Nutanix) only: no effect on Prism Central devices.
  • zNutanixAPIVersion: A sanity check on the device class a device is placed in, not a selector. One of 'auto', 'v2', or 'v4'; default 'auto'. See Prism Central (v4 API) Support above.
  • zNutanixModelVdisksV4: Model virtual disks on Prism Central devices, boolean; default False. Each modeled vdisk adds one API call per collection cycle. Prism Central (/Nutanix/PrismCentral) only; Prism Element devices always model vdisks.
  • zNutanixModelRecoveryPointsV4: Model recovery points (VM snapshots) on Prism Central devices, boolean; default False. Prism Central (/Nutanix/PrismCentral) only.

Modeler Plugins

  • zenoss.Nutanix (Prism Element, device class /Nutanix)
  • zenoss.NutanixPC (Prism Central, device class /Nutanix/PrismCentral)

Known issues

Upgrade to 2.1.2

As a part of the datapoint migration to the new naming convention, historical data from legacy datapoints may not be visible on the standard graphs. To address this, deprecated graphs have been added, providing access to historical data from the previous datapoints names. Deprecated datapoints are also retained in the list to provide access to historical data collected prior to the migration to the new naming convention.

Upgrade to 2.1.0

Data for previous periods will be missed for Host, VM, CVM components due to changes in the naming of datasources.

Zenoss Analytics

The following steps are applicable only for Zenoss Analytics 5.x.x. In Analytics 6.0.0, any third-party reporting tool can be used to generate reports.

This ZenPack provides additional support for Zenoss Analytics. Perform the following steps to install extra reporting resources into Zenoss Analytics after installing the ZenPack.

  1. Copy analytics-bundle.zip from $ZENHOME/ZenPacks/ZenPacks.zenoss.Nutanix*/ZenPacks/zenoss/Nutanix/analytics/ on your Zenoss server.

  2. Navigate to Zenoss Analytics in your browser.

  3. Log in as a superuser.

  4. Remove any existing Nutanix_ZenPack folder.

    1. Choose Repository from the View menu at the top of the page.
    2. Expand Public in the list of folders.
    3. Right-click on Nutanix_ZenPack folder and choose Delete.
    4. Confirm deletion by clicking OK.
  5. Add the new Nutanix_ZenPack folder.

    1. Choose Server Settings from the ‘’Manage’ menu at the top of the page.
    2. Choose Import in the left page.
    3. Remove checks from all check boxes.
    4. Click Choose File to import a data file.
    5. Choose the analytics-bundle.zip file copied from your Zenoss server.
    6. Click Import.

You can now navigate back to the Nutanix_ZenPack folder in the repository to see the following resources added by the bundle.

Domains

  • Nutanix Domain

Domains can be used to create ad hoc views using the following steps.

  1. Choose Ad Hoc View from the Create menu.
  2. Click Domains at the top of the data chooser dialog.
  3. Expand Public then Nutanix ZenPack.
  4. Choose the Nutanix Domain domain

Service Impact and Root Cause Analysis

When combined with the Zenoss Service Dynamics product, this ZenPack adds built-in service impact and root cause analysis capabilities. The service impact relationships shown in the diagram (right) and described below are automatically added and maintained. These will be included in any services that contain one or more of the explicitly mentioned components.

The following object types would typically be added to Impact services.

  • NutanixVM
  • Linux or Windows devices associated with a NutanixVM

Impact Relationship Diagram

Internal Impact Relationships between Nutanix Components

  • NutanixEndpoint: impacts its NutanixClusters
  • NutanixCluster: impacts its NutanixHosts, NutanixStoragePools, NutanixVMs, NutanixCVMs and NutanixVdisks
  • NutanixHost: impacts its NutanixInterfaces, NutanixHardDisks, and the NutanixVMs and NutanixCVMs running on it
  • NutanixStoragePool: impacts its NutanixContainers and NutanixHardDisks
  • NutanixContainer: impacts its NutanixVdisks
  • NutanixVM and NutanixCVM: impact their NutanixVdisks

External Impact Relationships

  • NutanixVM: impacts GuestDevice (the hosted Linux or Windows system)

Managed Resource Counting

This ZenPack contributes the following to your Managed Resource (MR) count:

  • Virtual machines you're actively monitoring, including VMs whose underlying business system has been decommissioned but that are still being monitored.
  • Hosts and storage pools in your Nutanix cluster, excluding any with monitoring disabled.

Controller VMs (CVMs) are reported for information only and do not count toward your MR total.

Your Nutanix cluster connection — the connection point used to reach your Nutanix environment — does not count toward your MR total.

If a Kubernetes worker node runs as a virtual machine in this environment, it's counted once, as the Nutanix VM, not counted a second time as a separate Kubernetes node.

A Prism Central device counts the resources of every cluster it manages. A cluster also monitored as a Prism Element device is counted twice (see "Monitoring one cluster twice" under Known limitations on Prism Central).

Changes

2.2.0

New features:

  • Added Prism Central support through the Nutanix v4 API: the /Nutanix/PrismCentral device class and the zenoss.NutanixPC modeler plugin model the clusters, hosts, CVMs, VMs, storage containers, storage pools and hard disks of every cluster a Prism Central manages, collect their performance data, turn Prism Central alerts into events, and keep the model current with an incremental check (ZPS-9360, ZPS-9394)
  • Added Subnet components, and optional Recovery Point and Vdisk components, on Prism Central devices, with the new zProperties zNutanixModelRecoveryPointsV4 and zNutanixModelVdisksV4 (both off by default) (ZPS-9394)
  • Added the zNutanixAPIVersion zProperty and a Warning event when a device looks placed in the wrong device class (ZPS-9360)
  • Added nutanix-model-incomplete events, raised when a model could not read a collection completely and left its components unchanged (ZPS-9249)
  • Added host network interfaces (NutanixInterface) on Prism Central devices, with link state, speed, MAC address, driver and firmware versions and the LLDP neighbor. The v4.3 API has no NIC traffic statistics, so they have no graphs (ZPS-9394)
  • Added the host memory usage graph and its 95 percent threshold, host storage capacity, the NCC version and the cluster architecture on Prism Central devices, and VM MAC addresses, ESXi VM IP addresses and NGT status (ZPS-9394)

Fixes:

  • Modeling no longer deletes components when the API returns a partial or malformed response, or an entity it cannot map; the affected collection is left unchanged until a complete model (ZPS-9249)
  • One host's NIC request failing no longer stops interface modeling for the other hosts (ZPS-9249)
  • Fixed incremental modeling failing on a cluster without a virtual IP, and remodeling every 30 minutes a device added by an address other than its cluster virtual IP (ZPS-9394)
  • Fixed errors when incremental modeling or performance collection skipped a cycle (ZPS-9245)
  • Fixed the Cluster Storage Summary chart's truncated tooltip and its axis, including on devices with several clusters (ZPS-9241)
  • Fixed the cluster "Operation Mode" field, empty since 2.1.2 (ZPS-9394)
  • Fixed Kubernetes nodes being linked to the wrong Nutanix VM on systems whose VM catalogs predate 2.1.4: the 2.2.0 migrate step adds the missing catalog index (ZPS-9394)
  • Fixed VM and CVM power state not being collected on Prism Element devices since 2.1.2, and the Prism Element cluster state check never matching kNormalMode (ZPS-9381)
  • Fixed the Prism Central storage pool showing no capacity: its capacity is now the sum of its disks, its used space the sum of its containers' use, and its free space the difference (ZPS-9394)
  • Fixed the Prism Central cluster storage usage percentage being a whole number; it is now calculated from bytes (ZPS-9394)
  • An alert whose severity changes in Nutanix is now sent again with the new severity, and a status that is missing shows a blank instead of DEGRADED (ZPS-9394)
  • A failing disk on Prism Central raises one Critical event instead of two, and a failing incremental check raises an event instead of only logging (ZPS-9394)
  • Corrected the Managed Resource Counting section: Controller VMs (CVMs) are reported for information only and do not count toward your MR total, contrary to the 2.1.4 notes (ZPS-9390)

Changes in behavior visible on existing Prism Element devices:

  • Alerts and events still open in Nutanix are no longer cleared in Virtana when the collector restarts, even when older than the Virtana event aging interval; only resolving them in Nutanix clears them (ZPS-9394)
  • An alert or event naming several entities now raises one event on each of them. It used to land only on the entity Nutanix listed last (ZPS-9394)
  • New nutanix-model-incomplete events (/Nutanix/Error): Error when clusters, hosts or storage pools could not be read completely, Warning for other collections, cleared by the next complete model (ZPS-9249)
  • Each model now also sends one request to the v4 API (prism domain-managers) to check that the device is not a Prism Central; after three failures in a row it is retried only every 20th model. A Prism Element registered to a Prism Central can raise the device class Warning (/Nutanix/Alert); set zNutanixAPIVersion to 'v2' on it to silence it (ZPS-9360)
  • New grid columns: "Power State" on the VMs and CVMs grids, "Hypervisor State" on the Hosts grid. On Prism Element devices they are filled from data already collected and updated at each model (ZPS-9394)
  • The cluster, host and VM details have new fields that only Prism Central fills (for example cluster timezone, architecture and redundancy factor, host maintenance state, VM machine type and guest tools); they stay empty on Prism Element devices (ZPS-9394)
  • A request that Nutanix answers with 429 (rate limited) is retried up to three times after a growing delay, longer if Nutanix asks for it (at most 60 seconds), and the other requests to that Nutanix wait until then (ZPS-9394)
  • Tested with Virtana Service Observability (formerly Zenoss Cloud), Virtana Resource Manager 6.9.0, Service Impact 5.7.2

2.1.4

  • Added host, storage pool, and Controller VM (CVM) counts to your Managed Resource total (ZPS-9328)
  • Your Nutanix cluster connection point is excluded from your Managed Resource total, as it is not itself a monitored resource
  • Hosts, storage pools, and CVMs with monitoring disabled are now correctly excluded from your Managed Resource total
  • Added Kubernetes node-to-VM matching so Kubernetes nodes backed by a monitored Nutanix VM aren't double-counted (ZPS-9330)
  • Tested with Virtana Service Observability (formerly Zenoss Cloud), Virtana Resource Manager 6.9.0, Service Impact 5.7.2

2.1.3

  • Fixed an authentication issue with long credentials due to incorrect base64 encoding (ZPS-9309)
  • Tested with Virtana Service Observability (formerly Zenoss Cloud), Virtana Resource Manager 6.9.0, Service Impact 5.7.2

2.1.2

  • Updated datapoint naming. Datapoint names now use camelCase instead of snake_case (ZPS-9088)
  • Fixed threshold functionality (ZPS-9088)
  • Added support for deprecated charts. Deprecated charts are displayed to maintain backward compatibility (ZPS-9169)
  • Tested with Zenoss Cloud, Zenoss Resource Manager 6.9.0, Service Impact 5.7.2 and Analytics 6.0.0

2.1.1

  • Make Nutanix ZenPack compatible with Ubuntu-based CZ 7.2.0 (ZPS-8858)
  • Tested with Zenoss Cloud, Zenoss Resource Manager 6.7.0, Service Impact 5.6.1 and Analytics 6.0.0

2.1.0

  • Added ability to specify filters and not model VMs and associated VDisks (ZPS-8253)
  • Changed names for Host, VM, CVM components to improve working with dashboards (ZPS-8471)
  • Fixed creating Aged Events from Nutanix Events Plugin (ZPS-7317)
  • Tested with Zenoss Cloud, Zenoss Resource Manager 6.7.0, Service Impact 5.6.1 and Analytics 6.0.0

2.0.1

  • Fixed pulling critical events after the original ones are aged out (ZPS-7317)
  • Fixed generation of critical events when there are no changes in the Nutanix cluster (ZPS-7525)
  • Fixed modeling of a Nutanix 5.20 instances (ZPS-7703)
  • Tested with Zenoss Cloud, Zenoss Resource Manager 6.6.0, and Service Impact 5.5.5

2.0.0

  • Updated to be compatible with Nutanix Prism 5.15 LTS
  • Added incremental modeling support (ZPS-7013)
  • Corrected the relations between hosts, CVMs, VMs, and other components (ZPS-6823)
  • Updated the callhome routine to correctly count monitored systems (ZPS-5843)
  • Added Network Interface components, contained by hosts (ZSP-5625)
  • Updated component graphs to report bandwidth and latency, similar to the Nutanix console (ZPS-7095)
  • Correctly linking VMs to their devices in Zenoss (ZPS-7128)
  • Tested with Zenoss Resource Manager 6.4.1, 6.5, Zenoss Cloud and Impact 5.5.1

1.0.3

  • Fix relationships between CVMs <-> Hosts (ZPS-6676)
  • Fix flare in UI when Storage Summary Data is wrong (ZPS-5832)
  • Fix memory leak in zenpython caused by Nutanix datasource (ZPS-4701)
  • Tested with Zenoss Resource Manager 6.4.1, Zenoss Cloud, and Impact 5.5.1

1.0.2

  • Fix minor log warnings (ZPS-5620)
  • Fix incorrect datapoint for vm/cvm memory_usage_pct (ZPS-2904)
  • Fix unhandled plugin errors while monitoring (ZPS-3428)
  • Fix modeling when cluster uuid missing from API (ZPS-4189)
  • Tested with Zenoss Cloud, Zenoss 6.3.2, and Service Impact 5.3.4 

1.0.1

  • Add debug info for modeler (ZPS-2310)
  • Guard for missing disk hw info (ZPS-2311)
  • Extend zCollectorClientTimeout to 600, optimize modeling (ZPS-2316, ZPS-2430)
  • Tested with Zenoss Resource Manager 5.3.2 & 6.0.0, Service Impact 5.2.2, Analytics 5.0.8

1.0.0

  • Initial Release
  • Tested with Zenoss Resource Manager 5.2.6 & 5.3.1, Service Impact 5.1.7, Analytics 5.0.8