Nutanix Prism Central v4

After a long time i finished the first working version of the Nutanix API checks that are using v4 of the API.
This special agent is only working with Prism Central servers. The rule has also this name that it is clear “no Prism Elements” anymore.

Multi cluster setup is also working with this agent.
The prism central server only shows the alerts and the single nodes.
Every cluster gets it’s own piggyback host with the name of the cluster.
The VMs are like before. Same check description only new check plugins. That is also the reason a parallel usage of old and new agent in the same environment is not possible (double check description).
Rediscovery is needed that CMK can switch the check plugin from old to new check.

One new feature comes from SVA - that is the categories of the single VMs. I extended the host labels function with a check. There you can define what categories you expect on a machine.

prism_v4-1.1.12.mkp (24.1 KB)

This should also work in 2.4 as there is no 2.5 specific code i think.
Also the plugin is inside the “shipped” plugin folder. That is only as it was made inside the folder of the existing prism extension and i had no time to cleanup the folder and location.

For testing and feedback it should be ok.

4 Likes

We are also currently building the Nutanix v4 integration. I will forward this to our dev team as well

1 Like

Some extension with the same data that the agent already fetched :slight_smile:

This was done with some more KI support.
Testing with one larger cluster was working without problems. Some feedback would be nice if there is a specific problem.

New or extended checks:

  • Disk health flags (NTNX HW Disk …)
  • Guest tools reachability (NTNX VMTools)
  • I/O metrics. Where possible these use Checkmk’s standard metric names, so the existing graphs “Disk I/O operations”, “Disk throughput” and “Disk latency” work. The old metrics are still sent, so graph history is kept.
  • NTNX Network on each VM
  • Maintenance / HA failover │ NTNX Host : WARN if the hypervisor state isn’t ACROPOLIS_NORMAL, the node is in maintenance
  • NTNX NIC (Host)- WARN if the link runs slower than the adapter’s capacity, MTU and LLDP neighbour (switch IP, vendor, port, port description) are in the details
  • NTNX Storage Cluster: physical capacity of all disks, with the standard filesystem rule (levels, growth, trends). Logical usage in the details
  • NTNX NICs on each VM: WARN if a NIC on a running VM is disconnected. On powered-off VMs it’s only shown
  • NTNX VM State - now lets you set the service state for each power state, in addition to “Wanted VM State”

HW/SW Inventory

  • Cluster (under software.applications.nutanix.cluster): AOS and NCC version, LTS flag, nodes, redundancy factor, fault tolerance, IPs, DNS/NTP, Pulse, remote support.
  • Nodes: model and serial, CPU, memory, AHV version, and Nutanix details (block serial, CVM, hypervisor and IPMI IPs).
    • Disks table: slot, model, serial, firmware vs target firmware, size, tier.
    • NIC table: adapter, MAC, speed, driver, firmware, switch port.
  • VMs: vCPUs, memory, guest OS (only with guest tools), machine type, secure boot, vTPM, creation date, guest tools version, vDisks and NICs with IP/VLAN. Power state and host are recorded as status data, so changes show up in the inventory history.

prism_v4-1.1.13.mkp (34.9 KB)

@David-L take a look

2 Likes

Latest updates for this mkp - please test and some feedback wanted.

1.1.15 - logwatch feature for special agent - from sebastian.haeger@sva.de
1.1.16 - semi automatic API version detection
1.1.17 - host network - link speed can be configured with interface rule

https://github.com/Yogibaer75/Check_MK-Things/raw/refs/heads/master/check%20plugins%202.5/prism_v4/prism_v4-1.1.17.mkp