Skip to main content

Nutanix

Pack Assets​

Templates​

The Centreon Monitoring Connector Nutanix brings 4 different host templates:

  • Virt-Nutanix-SNMP-custom
  • Virt-Nutanix-VM-SNMP-custom
  • Virt-Nutanix-Hypervisor-SNMP-custom
  • Virt-Nutanix-Container-SNMP-custom

It brings the following service templates:

Service AliasService TemplateService DescriptionDefaultDiscovery
Cluster-UsageVirt-Nutanix-Cluster-Usage-SNMPCheck cluster usageX
IopsVirt-Nutanix-Container-Iops-SNMPCheck Nutanix containers IOPSX
LatencyVirt-Nutanix-Container-Latency-SNMPCheck Nutanix containers latencyX
StorageVirt-Nutanix-Container-Storage-SNMPCheck Nutanix container storage usageX
Container-UsageVirt-Nutanix-Container-Usage-SNMPCheck container usageX
Disk-UsageVirt-Nutanix-Disk-Usage-SNMPCheck disk usageXX
CpuVirt-Nutanix-Hypervisor-Cpu-SNMPCheck Nutanix hypervisor CPU usageX
IopsVirt-Nutanix-Hypervisor-Iops-SNMPCheck Nutanix hypervisors IOPSX
LatencyVirt-Nutanix-Hypervisor-Latency-SNMPCheck Nutanix hypervisor latencyX
MemoryVirt-Nutanix-Hypervisor-Memory-SNMPCheck Nutanix hypervisor memory usageX
Hypervisor-UsageVirt-Nutanix-Hypervisor-Usage-SNMPCheck hypervisor usageX
Vm-countVirt-Nutanix-Hypervisor-Vm-Count-SNMPCheck hypervisor virtual machines countX
Storage-Pool-UsageVirt-Nutanix-Storage-Pool-Usage-SNMPCheck storage pool usageXX
CpuVirt-Nutanix-VM-Cpu-SNMPCheck Nutanix virtual machine CPU usageX
IopsVirt-Nutanix-VM-Iops-SNMPCheck Nutanix virtual machine IOPSX
LatencyVirt-Nutanix-VM-Latency-SNMPCheck Nutanix virtual machine latencyX
Power-StateVirt-Nutanix-VM-Power-State-SNMPCheck Nutanix virtual machine power stateX
TrafficVirt-Nutanix-VM-Traffic-SNMPCheck Nutanix virtual machine trafficX
Vm-UsageVirt-Nutanix-Vm-Usage-SNMPCheck virtual machine usageX

Discovery rules​

Rule NameDescription
Nutanix VMDiscover Nutanix virtal machines by requesting its SNMP agent
Nutanix ContainerDiscover Nutanix containers by requesting its SNMP agent
Nutanix HypervisorDiscover Nutanix hypervisors by requesting its SNMP agent

More information about discovering hosts automatically is available on the dedicated page.

Collected metrics & status​

Metric NameUnit
cluster.average.io.latency.microsecondsµs
cluster.operations.iopsiops
status
cluster.storage.space.usage.bytesbytes

Prerequisites​

SNMP Configuration​

To monitor your Nutanix system, SNMP v2 or v3 must be enabled and configured:

Network flow​

The network flows should be allowed from the Centreon poller to the Nutanix appliance over UDP port 161 (SNMP).

Setup​

  1. Install the package on every Centreon poller expected to monitor Nutanix resources:
yum install centreon-plugin-Virtualization-Nutanix-Snmp
  1. On the Centreon web interface, on page Configuration > Monitoring Connector Manager, install the Nutanix Centreon Monitoring Connector.

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Nutanix server settings.
  • Apply the Virt-Nutanix-SNMP-custom template to the host.

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

MandatoryMacroDescription
FILTERNAME
SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon poller's CLI using the centreon-engine user account (su - centreon-engine) and test the plugin by running the following command:

/usr/lib/centreon/plugins//centreon_nutanix_snmp.pl \
--plugin=cloud::nutanix::snmp::plugin \
--mode=hypervisor-usage \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--filter-name='' \
--warning-vm-count='' \
--critical-vm-count='' \
--filter-counters='' \
--verbose \
--use-new-perfdata

The expected command output is shown below:

OK: Hypervisor 'abc-123ntx1' VM Count : 2 | 'abc-123ntx1#hypervisor.vm.count'=2;;;0; 

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins//centreon_nutanix_snmp.pl \
--plugin=cloud::nutanix::snmp::plugin \
--mode=hypervisor-usage \
--help

All available modes can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins//centreon_nutanix_snmp.pl \
--plugin=cloud::nutanix::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.