
# Nutanix Prism Element by HTTP

## Overview

This template is designed for the effortless deployment of Nutanix Prism Element monitoring and doesn't require any external scripts.

The templates "Nutanix Host Prism Element by HTTP" and "Nutanix Cluster Prism Element by HTTP" can be used in discovery, as well as manually linked to a host.

More details can be found in the official documentation:
- [on the Nutanix Prism Element REST API](https://www.nutanix.dev/api_reference/apis/prism_v2.html);
- [on differences between Nutanix API versions](https://www.nutanix.dev/api-versions/).

## Requirements

Zabbix version: 7.0 and higher.

## Tested versions

This template has been tested on:
- Nutanix Prism Element 6.5.5.7 (API v2.0)

## Configuration

> Zabbix should be configured according to the instructions in the [Templates out of the box](https://www.zabbix.com/documentation/7.0/manual/config/templates_out_of_the_box) section.

## Setup

1. Create a new Nutanix user and add the role "Viewer"
2. Create a new host
3. Link the template to host created earlier
4. Set the host macros (on the host or template level) required for getting data:
```text
{$NUTANIX.PRISM.ELEMENT.IP}
{$NUTANIX.PRISM.ELEMENT.PORT}
```
5. Set the host macros (on the host or template level) with the login and password of the Nutanix user created earlier:
```text
{$NUTANIX.USER}
{$NUTANIX.PASSWORD}
```

### Macros used

|Name|Description|Default|
|----|-----------|-------|
|{$NUTANIX.PRISM.ELEMENT.IP}|
Set the Nutanix API IP here.
|`<Put your IP here>`|
|{$NUTANIX.PRISM.ELEMENT.PORT}|
Set the Nutanix API port here.
|`9440`|
|{$NUTANIX.USER}|
Nutanix API username.
|`<Put your API username here>`|
|{$NUTANIX.PASSWORD}|
Nutanix API password.
|`<Put your API password here>`|
|{$NUTANIX.PROXY}|
Sets the HTTP proxy value. If this macro is empty, then no proxy is used.
||
|{$NUTANIX.CLUSTER.DISCOVERY.NAME.MATCHES}|
Filter of discoverable Nutanix clusters by name.
|`.*`|
|{$NUTANIX.CLUSTER.DISCOVERY.NAME.NOT_MATCHES}|
Filter to exclude discovered Nutanix clusters by name.
|`CHANGE_IF_NEEDED`|
|{$NUTANIX.HOST.DISCOVERY.NAME.MATCHES}|
Filter of discoverable Nutanix hosts by name.
|`.*`|
|{$NUTANIX.HOST.DISCOVERY.NAME.NOT_MATCHES}|
Filter to exclude discovered Nutanix hosts by name.
|`CHANGE_IF_NEEDED`|
|{$NUTANIX.STORAGE.CONTAINER.DISCOVERY.NAME.MATCHES}|
Filter of discoverable storage containers by name.
|`.*`|
|{$NUTANIX.STORAGE.CONTAINER.DISCOVERY.NAME.NOT_MATCHES}|
Filter to exclude discovered storage containers by name.
|`CHANGE_IF_NEEDED`|

### Items

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Get cluster|
Get the available clusters.
|Script|nutanix.cluster.get|
|Get cluster check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.cluster.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|
|Get host|
Get the available hosts.
|Script|nutanix.host.get|
|Get host check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.host.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|
|Get storage container|
Get the available storage containers.
|Script|nutanix.storage.container.get|
|Get storage container check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.storage.container.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|

### Triggers

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|Nutanix: Failed to get cluster data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Prism Element by HTTP/nutanix.cluster.get.check))>0`|High||
|Nutanix: Failed to get host data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Prism Element by HTTP/nutanix.host.get.check))>0`|High||
|Nutanix: Failed to get storage container data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Prism Element by HTTP/nutanix.storage.container.get.check))>0`|High||

### LLD rule Cluster discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Cluster discovery|
Discovery of all clusters.
|Dependent item|nutanix.cluster.discovery
**Preprocessing**

- 
JSON Path: `$.entities`

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|

### LLD rule Host discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Host discovery|
Discovery of all hosts.
|Dependent item|nutanix.host.discovery
**Preprocessing**

- 
JSON Path: `$.entities`

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|

### LLD rule Storage container discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Storage container discovery|
Discovery of all storage containers.
|Dependent item|nutanix.storage.container.discovery
**Preprocessing**

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|

### Item prototypes for Storage container discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Container [{#STORAGE.CONTAINER.NAME}]: Space: Total, bytes|
The total space of the storage container.
|Dependent item|nutanix.storage.container.capacity.bytes["{#STORAGE.CONTAINER.UUID}"]
**Preprocessing**

- 
JSON Path: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|
|Container [{#STORAGE.CONTAINER.NAME}]: Space: Free, bytes|
The free space of the storage container.
|Dependent item|nutanix.storage.container.free.bytes["{#STORAGE.CONTAINER.UUID}"]
**Preprocessing**

- 
JSON Path: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|
|Container [{#STORAGE.CONTAINER.NAME}]: Replication factor|
The replication factor of the storage container.
|Dependent item|nutanix.storage.container.replication.factor["{#STORAGE.CONTAINER.UUID}"]
**Preprocessing**

- 
JSON Path: `$.['{#STORAGE.CONTAINER.UUID}'].replication_factor`

- 
Discard unchanged with heartbeat: `1h`

|
|Container [{#STORAGE.CONTAINER.NAME}]: Space: Used, bytes|
The used space of the storage container.
|Dependent item|nutanix.storage.container.usage.bytes["{#STORAGE.CONTAINER.UUID}"]
**Preprocessing**

- 
JSON Path: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|

# Nutanix Cluster Prism Element by HTTP

## Overview

This template is designed for the effortless deployment of Nutanix Cluster Prism Element monitoring and doesn't require any external scripts.

This template can be used in discovery, as well as manually linked to a host - to do so, attach it to the host and manually set the value of the `{$NUTANIX.CLUSTER.UUID}` macro.

More details can be found in the official documentation:
- on retrieving [UUIDs](https://www.nutanixbible.com/19b-cli.html);
- on the [Nutanix Prism Element REST API](https://www.nutanix.dev/api_reference/apis/prism_v2.html);
- on differences between [Nutanix API versions](https://www.nutanix.dev/api-versions/).

## Requirements

Zabbix version: 7.0 and higher.

## Tested versions

This template has been tested on:
- Nutanix Prism Element 6.5.5.7 (API v2.0)

## Configuration

> Zabbix should be configured according to the instructions in the [Templates out of the box](https://www.zabbix.com/documentation/7.0/manual/config/templates_out_of_the_box) section.

## Setup

1. Create a new Nutanix user and add the role "Viewer"
2. Create a new host
3. Link the template to the host created earlier
4. Set the host macros (on the host or template level) required for getting data:
```text
{$NUTANIX.PRISM.ELEMENT.IP}
{$NUTANIX.PRISM.ELEMENT.PORT}
```
5. Set the host macros (on the host or template level) with the login and password of the Nutanix user created earlier:
```text
{$NUTANIX.USER}
{$NUTANIX.PASSWORD}
```
6. Set the host macros (on the host or template level) with the UUID of the Nutanix Cluster:
```text
{$NUTANIX.CLUSTER.UUID}
```

### Macros used

|Name|Description|Default|
|----|-----------|-------|
|{$NUTANIX.PRISM.ELEMENT.IP}|
Set the Nutanix API IP here.
|`<Put your IP here>`|
|{$NUTANIX.PRISM.ELEMENT.PORT}|
Set the Nutanix API port here.
|`9440`|
|{$NUTANIX.USER}|
Nutanix API username.
|`<Put your API username here>`|
|{$NUTANIX.PASSWORD}|
Nutanix API password.
|`<Put your API password here>`|
|{$NUTANIX.PROXY}|
Sets the HTTP proxy value. If this macro is empty, then no proxy is used.
||
|{$NUTANIX.CLUSTER.UUID}|
UUID of the cluster.
||
|{$NUTANIX.TIMEOUT}|
API response timeout.
|`10s`|
|{$NUTANIX.ALERT.DISCOVERY.NAME.MATCHES}|
Filter of discoverable Nutanix alerts by name.
|`.*`|
|{$NUTANIX.ALERT.DISCOVERY.NAME.NOT_MATCHES}|
Filter to exclude discovered Nutanix alerts by name.
|`CHANGE_IF_NEEDED`|
|{$NUTANIX.ALERT.DISCOVERY.STATE.MATCHES}|
Filter to exclude discovered Nutanix alerts by state. Set "1" for filtering only problem alerts or "0" for resolved ones.
|`.*`|
|{$NUTANIX.ALERT.DISCOVERY.SEVERITY.MATCHES}|
Filter to exclude discovered Nutanix alerts by severity. Set all possible severities for filtering in the range 0-2. "0" - Info, "1" - Warning, "2" - Critical.
|`.*`|

### Items

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Get metric|
Get data about basic metrics.
|Script|nutanix.cluster.metric.get|
|Get metric check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.cluster.metric.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|
|Get alert|
Get data about alerts.
|Script|nutanix.cluster.alert.get|
|Get alert check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.cluster.alert.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|
|Content Cache: Hit rate, %|
Content cache hits over all lookups.
|Dependent item|nutanix.cluster.content.cache.hit.percent
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_hit_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Content Cache: Logical memory usage, bytes|
Logical memory used to cache data without deduplication in bytes.
|Dependent item|nutanix.cluster.content.cache.logical.memory.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_logical_memory_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Logical saved memory usage, bytes|
Memory saved due to content cache deduplication in bytes.
|Dependent item|nutanix.cluster.content.cache.saved.memory.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_saved_memory_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Logical SSD usage, bytes|
Logical SSD memory used to cache data without deduplication in bytes.
|Dependent item|nutanix.cluster.content.cache.logical.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_logical_ssd_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Number of lookups|
Number of lookups on the content cache.
|Dependent item|nutanix.cluster.content.cache.lookups.num
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_num_lookups`

⛔️Custom on fail: Discard value

|
|Content Cache: Physical memory usage, bytes|
Real memory used to cache data via the content cache in bytes.
|Dependent item|nutanix.cluster.content.cache.physical.memory.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_physical_memory_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Physical SSD usage, bytes|
Real SSD usage used to cache data via the content cache in bytes.
|Dependent item|nutanix.cluster.content.cache.physical.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_physical_ssd_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: References|
Average number of content cache references.
|Dependent item|nutanix.cluster.content.cache.dedup.ref.num
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_num_dedup_ref_count_pph`

⛔️Custom on fail: Discard value

|
|Content Cache: Saved SSD usage, bytes|
SSD usage saved due to content cache deduplication in bytes.
|Dependent item|nutanix.cluster.content.cache.saved.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_saved_ssd_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Controller: Random IO|
The number of random Input/Output operations from the controller.
|Dependent item|nutanix.cluster.controller.io.random
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_random_io`

⛔️Custom on fail: Discard value

|
|Controller: Random IO, %|
The percentage of random Input/Output from the controller.
|Dependent item|nutanix.cluster.controller.io.random.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_random_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Controller: Sequence IO|
The number of sequential Input/Output operations from the controller.
|Dependent item|nutanix.cluster.controller.io.sequence
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_seq_io`

⛔️Custom on fail: Discard value

|
|Controller: Sequence IO, %|
The percentage of sequential Input/Output from the controller.
|Dependent item|nutanix.cluster.controller.io.sequence.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_seq_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Storage Controller: Timespan, sec|
Controller timespan.
|Dependent item|nutanix.cluster.storage.controller.timespan.sec
**Preprocessing**

- 
JSON Path: `$.stats.controller_timespan_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Controller: IO total, bytes|
Total controller Input/Output size.
|Dependent item|nutanix.cluster.storage.controller.io.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: IO total, sec|
Total controller Input/Output time.
|Dependent item|nutanix.cluster.storage.controller.io.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: IO total read, bytes|
Total controller read Input/Output size.
|Dependent item|nutanix.cluster.storage.controller.io.read.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: IO total read, sec|
Total controller read Input/Output time.
|Dependent item|nutanix.cluster.storage.controller.io.read.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_read_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: Cluster operation mode|
The cluster operation mode. One of the following:

- NORMAL;

- OVERRIDE;

- READONLY;

- STANDALONE;

- SWITCH_TO_TWO_NODE;

- UNKNOWN.
|Dependent item|nutanix.cluster.cluster.operation.mode
**Preprocessing**

- 
JSON Path: `$.operation_mode`

⛔️Custom on fail: Discard value

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Current redundancy factor|
Current value of the redundancy factor on the cluster.
|Dependent item|nutanix.cluster.redundancy.factor.current
**Preprocessing**

- 
JSON Path: `$.cluster_redundancy_state.current_redundancy_factor`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|General: Desired redundancy factor|
The desired value of the redundancy factor on the cluster.
|Dependent item|nutanix.cluster.redundancy.factor.desired
**Preprocessing**

- 
JSON Path: `$.cluster_redundancy_state.desired_redundancy_factor`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|General: IO|
The number of Input/Output operations from the disk.
|Dependent item|nutanix.cluster.general.io
**Preprocessing**

- 
JSON Path: `$.stats.num_io`

⛔️Custom on fail: Discard value

|
|General: IOPS|
Input/Output operations per second from the disk.
|Dependent item|nutanix.cluster.general.iops
**Preprocessing**

- 
JSON Path: `$.stats.num_iops`

⛔️Custom on fail: Discard value

|
|General: IO, bandwidth|
Data transferred in B/sec from the disk.
|Dependent item|nutanix.cluster.general.io.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: IO, latency|
Input/Output latency from the disk.
|Dependent item|nutanix.cluster.general.io.latency
**Preprocessing**

- 
JSON Path: `$.stats.avg_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: Random IO|
The number of random Input/Output operations.
|Dependent item|nutanix.cluster.general.io.random
**Preprocessing**

- 
JSON Path: `$.stats.num_random_io`

⛔️Custom on fail: Discard value

|
|General: Random IO, %|
The percentage of random Input/Output operations.
|Dependent item|nutanix.cluster.general.io.random.percent
**Preprocessing**

- 
JSON Path: `$.stats.random_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Read IO|
Total number of Input/Output read operations.
|Dependent item|nutanix.cluster.general.io.read
**Preprocessing**

- 
JSON Path: `$.stats.num_read_io`

⛔️Custom on fail: Discard value

|
|General: Read IOPS|
Input/Output read operations per second from the disk.
|Dependent item|nutanix.cluster.general.iops.read
**Preprocessing**

- 
JSON Path: `$.stats.num_read_iops`

⛔️Custom on fail: Discard value

|
|General: Read IO, %|
The total percentage of Input/Output operations that are reads.
|Dependent item|nutanix.cluster.general.io.read.percent
**Preprocessing**

- 
JSON Path: `$.stats.read_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Read IO, bandwidth|
Read data transferred in B/sec from the disk.
|Dependent item|nutanix.cluster.general.io.read.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.read_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: Read IO, latency|
Average Input/Output read latency.
|Dependent item|nutanix.cluster.general.io.read.latency
**Preprocessing**

- 
JSON Path: `$.stats.avg_read_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: Sequence IO|
The number of sequential Input/Output operations.
|Dependent item|nutanix.cluster.general.io.sequence
**Preprocessing**

- 
JSON Path: `$.stats.num_seq_io`

⛔️Custom on fail: Discard value

|
|General: Sequence IO, %|
The percentage of sequential Input/Output.
|Dependent item|nutanix.cluster.general.io.sequence.percent
**Preprocessing**

- 
JSON Path: `$.stats.seq_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Storage capacity, bytes|
Total size of the datastores used by this system in bytes.
|Dependent item|nutanix.cluster.general.storage.capacity.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.capacity_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Storage free, bytes|
Total free space of the datastores used by this system in bytes.
|Dependent item|nutanix.cluster.general.storage.free.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.free_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Storage logical usage, bytes|
Total logical space used by the datastores of this system in bytes.
|Dependent item|nutanix.cluster.general.storage.logical.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.logical_usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Storage usage, bytes|
Total physical datastore space used by this host and all its snapshots on the datastores.
|Dependent item|nutanix.cluster.general.storage.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Timespan, sec|
Cluster timespan.
|Dependent item|nutanix.cluster.general.timespan.sec
**Preprocessing**

- 
JSON Path: `$.stats.timespan_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: IO total, sec|
Total time of Input/Output operations.
|Dependent item|nutanix.cluster.general.io.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.total_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: IO total, bytes|
Total size of Input/Output operations.
|Dependent item|nutanix.cluster.general.io.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: IO total read, sec|
Total time of Input/Output read operations.
|Dependent item|nutanix.cluster.general.io.read.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.total_read_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: IO total read, bytes|
Total size of Input/Output read operations.
|Dependent item|nutanix.cluster.general.io.read.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: Total transformed usage, bytes|
Actual usage of storage.
|Dependent item|nutanix.cluster.general.transformed.usage.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_transformed_usage_bytes`

⛔️Custom on fail: Discard value

|
|General: Total untransformed usage, bytes|
Logical usage of storage (physical usage divided by the replication factor).
|Dependent item|nutanix.cluster.general.untransformed.usage.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_untransformed_usage_bytes`

⛔️Custom on fail: Discard value

|
|General: Upgrade progress|
Indicates whether the cluster is currently in an update state.
|Dependent item|nutanix.cluster.general.upgrade.progress
**Preprocessing**

- 
JSON Path: `$.is_upgrade_in_progress`

⛔️Custom on fail: Discard value

- 
Boolean to decimal

⛔️Custom on fail: Set value to: `2`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Version|
Current software version in the cluster.
|Dependent item|nutanix.cluster.general.upgrade.version
**Preprocessing**

- 
JSON Path: `$.version`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `12h`

|
|General: Write IO|
Input/Output write operations from the disk.
|Dependent item|nutanix.cluster.general.io.write
**Preprocessing**

- 
JSON Path: `$.stats.num_write_io`

⛔️Custom on fail: Discard value

|
|General: Write IOPS|
Total number of Input/Output write operations per second.
|Dependent item|nutanix.cluster.general.iops.write
**Preprocessing**

- 
JSON Path: `$.stats.num_write_iops`

⛔️Custom on fail: Discard value

|
|General: Write IO, %|
Total percentage of Input/Output operations that are writes.
|Dependent item|nutanix.cluster.general.io.write.percent
**Preprocessing**

- 
JSON Path: `$.stats.write_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Write IO, bandwidth|
Write data transferred in B/sec from the disk.
|Dependent item|nutanix.cluster.general.io.write.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.write_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: Write IO, latency|
Average Input/Output write operation latency.
|Dependent item|nutanix.cluster.general.io.write.latency
**Preprocessing**

- 
JSON Path: `$.stats.avg_write_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: CPU usage, %|
Percentage of CPU used by the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.cpu.usage.percent
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_cpu_usage_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Hypervisor: IOPS|
Input/Output operations per second from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.iops
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_iops`

⛔️Custom on fail: Discard value

|
|Hypervisor: IO, bandwidth|
Data transferred in B/sec from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: IO, latency|
Input/Output operation latency from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.latency
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_avg_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: Memory usage, %|
Percentage of memory used by the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.memory.usage.percent
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_memory_usage_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Hypervisor: IO|
The number of Input/Output operations from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_io`

⛔️Custom on fail: Discard value

|
|Hypervisor: Read IO|
The number of Input/Output read operations from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.read
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_read_io`

⛔️Custom on fail: Discard value

|
|Hypervisor: Read IOPS|
Input/Output read operations per second from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.iops.read
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_read_iops`

⛔️Custom on fail: Discard value

|
|Hypervisor: Read IO, bandwidth|
Read data transferred in B/sec from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.read.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_read_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: Read IO, latency|
Input/Output read latency from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.read.latency
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_avg_read_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: Timespan, sec|
Hypervisor timespan.
|Dependent item|nutanix.cluster.hypervisor.timespan.sec
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_timespan_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: IO total, sec|
Total Input/Output operation time from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: IO total, bytes|
Total Input/Output operation size from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: IO total read, bytes|
Total Input/Output read operation size from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.read.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: IO total read, sec|
Total Input/Output read operation time from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.read.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_read_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: Write IOPS|
Input/Output write operations per second from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.iops.write
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_write_iops`

⛔️Custom on fail: Discard value

|
|Hypervisor: Write IO|
Input/Output write operations from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.write
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_write_io`

⛔️Custom on fail: Discard value

|
|Hypervisor: Write IO, bandwidth|
Write data transferred in B/sec from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.write.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_write_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: Write IO, latency|
Input/Output write latency from the Hypervisor.
|Dependent item|nutanix.cluster.hypervisor.io.write.latency
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_avg_write_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: IOPS|
Input/Output operations per second from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.iops
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_iops`

⛔️Custom on fail: Discard value

|
|Storage Controller: IO|
Input/Output operations from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_io`

⛔️Custom on fail: Discard value

|
|Storage Controller: IO, bandwidth|
Data transferred in B/sec from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.controller_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: IO, latency|
Input/Output latency from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.latency
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: Read IOPS|
Input/Output read operations per second from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.iops.read
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_read_iops`

⛔️Custom on fail: Discard value

|
|Storage Controller: Read IO|
Input/Output read operations from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.read
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_read_io`

⛔️Custom on fail: Discard value

|
|Storage Controller: Read IO, %|
Percentage of Input/Output operations from the Storage Controller that are reads.
|Dependent item|nutanix.cluster.storage.controller.io.read.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_read_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Storage Controller: Read IO, bandwidth|
Read data transferred in B/sec from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.read.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.controller_read_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: Read IO, latency|
Input/Output read latency from the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.read.latency
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_read_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: Read IO, bytes|
Storage controller average read Input/Output in bytes.
|Dependent item|nutanix.cluster.storage.controller.io.read.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: Total transformed usage, bytes|
Actual usage of the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.transformed.usage.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_transformed_usage_bytes`

⛔️Custom on fail: Discard value

|
|Storage Controller: Write IO|
Input/Output write operations to the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.write
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_write_io`

⛔️Custom on fail: Discard value

|
|Storage Controller: Write IOPS|
Input/Output write operations per second to the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.iops.write
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_write_iops`

⛔️Custom on fail: Discard value

|
|Storage Controller: Write IO, %|
Percentage of Input/Output operations to the Storage Controller that are writes.
|Dependent item|nutanix.cluster.storage.controller.io.write.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_write_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Storage Controller: Write IO, bandwidth|
Write data transferred in B/sec to the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.write.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.controller_write_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: Write IO, latency|
Input/Output write latency to the Storage Controller.
|Dependent item|nutanix.cluster.storage.controller.io.write.latency
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_write_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: Write IO, bytes|
Storage Controller average write Input/Output in bytes.
|Dependent item|nutanix.cluster.storage.controller.io.write.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_write_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Tier: Das-sata capacity, bytes|
The total capacity of Das-sata in bytes.
|Dependent item|nutanix.cluster.storage.controller.tier.das_sata.capacity.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.das-sata.capacity_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: Das-sata free, bytes|
The free space of Das-sata in bytes.
|Dependent item|nutanix.cluster.storage.controller.tier.das_sata.free.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.das-sata.free_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: Das-sata usage, bytes|
The used space of Das-sata in bytes.
|Dependent item|nutanix.cluster.storage.controller.tier.das_sata.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.das-sata.usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: SSD capacity, bytes|
The total capacity of SSD in bytes.
|Dependent item|nutanix.cluster.storage.controller.tier.ssd.capacity.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.ssd.capacity_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: SSD free, bytes|
The free space of SSD in bytes.
|Dependent item|nutanix.cluster.storage.controller.tier.ssd.free.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.ssd.free_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: SSD usage, bytes|
The used space of SSD in bytes.
|Dependent item|nutanix.cluster.storage.controller.tier.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.ssd.usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|

### Triggers

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|Nutanix: Failed to get metric data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Cluster Prism Element by HTTP/nutanix.cluster.metric.get.check))>0`|High||
|Nutanix: Failed to get alert data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Cluster Prism Element by HTTP/nutanix.cluster.alert.get.check))>0`|High||
|Nutanix: Redundancy factor mismatched|
Current redundancy factor does not match the desired redundancy factor.
|`last(/Nutanix Cluster Prism Element by HTTP/nutanix.cluster.redundancy.factor.current)<>last(/Nutanix Cluster Prism Element by HTTP/nutanix.cluster.redundancy.factor.desired)`|High||

### LLD rule Alert discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Alert discovery|
Discovery of all alerts.

Alerts will be grouped by title. For each alert, in addition to the basic information, the number of activation and last alert ID will be available.
|Dependent item|nutanix.cluster.alert.discovery
**Preprocessing**

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|

### Item prototypes for Alert discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Alert [{#ALERT.NAME}]: Full title|
The full title of the alert.
|Dependent item|nutanix.cluster.alert.title["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.title`

- 
Discard unchanged with heartbeat: `12h`

|
|Alert [{#ALERT.NAME}]: Create datetime|
The alert creation date and time.
|Dependent item|nutanix.cluster.alert.created["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.created`

- 
Custom multiplier: `0.000001`

- 
Discard unchanged with heartbeat: `1h`

|
|Alert [{#ALERT.NAME}]: Severity|
Alert severity. One of the following:

- Info;

- Warning;

- Critical;

- Unknown.
|Dependent item|nutanix.cluster.alert.severity["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.severity`

- 
Discard unchanged with heartbeat: `1h`

|
|Alert [{#ALERT.NAME}]: State|
Alert state. One of the following:

- OK;

- Problem.
|Dependent item|nutanix.cluster.alert.state["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.state`

- 
Discard unchanged with heartbeat: `1h`

|
|Alert [{#ALERT.NAME}]: Detailed message|
Detailed information about the current alert.
|Dependent item|nutanix.cluster.alert.message["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.message`

- 
Discard unchanged with heartbeat: `12h`

|
|Alert [{#ALERT.NAME}]: Last alert ID|
Latest ID of the alert.
|Dependent item|nutanix.cluster.alert.last_id["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.last_id`

- 
Discard unchanged with heartbeat: `12h`

|
|Alert [{#ALERT.NAME}]: Count alerts|
The number of times this alert was triggered.
|Dependent item|nutanix.cluster.alert.count["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.count`

- 
Discard unchanged with heartbeat: `1h`

|

# Nutanix Host Prism Element by HTTP

## Overview

This template is designed for the effortless deployment of Nutanix Host Prism Element monitoring and doesn't require any external scripts.

This template can be used in discovery, as well as manually linked to a host - to do so, attach it to the host and manually set the value of the `{$NUTANIX.HOST.UUID}` macro.

More details can be found in the official documentation:
- on retrieving [UUIDs](https://www.nutanixbible.com/19b-cli.html);
- on the [Nutanix Prism Element REST API](https://www.nutanix.dev/api_reference/apis/prism_v2.html);
- on differences between [Nutanix API versions](https://www.nutanix.dev/api-versions/).

## Requirements

Zabbix version: 7.0 and higher.

## Tested versions

This template has been tested on:
- Nutanix Prism Element 6.5.5.7 (API v2.0)

## Configuration

> Zabbix should be configured according to the instructions in the [Templates out of the box](https://www.zabbix.com/documentation/7.0/manual/config/templates_out_of_the_box) section.

## Setup

1. Create a new Nutanix user and add the role "Viewer"
2. Create a new host
3. Link the template to the host created earlier
4. Set the host macros (on the host or template level) required for getting data:
```text
{$NUTANIX.PRISM.ELEMENT.IP}
{$NUTANIX.PRISM.ELEMENT.PORT}
```
5. Set the host macros (on the host or template level) with the login and password of the Nutanix user created earlier:
```text
{$NUTANIX.USER}
{$NUTANIX.PASSWORD}
```
6. Set the host macros (on the host or template level) with the UUID of the Nutanix Host:
```text
{$NUTANIX.HOST.UUID}
```

### Macros used

|Name|Description|Default|
|----|-----------|-------|
|{$NUTANIX.PRISM.ELEMENT.IP}|
Set the Nutanix API IP here.
|`<Put your IP here>`|
|{$NUTANIX.PRISM.ELEMENT.PORT}|
Set the Nutanix API port here.
|`9440`|
|{$NUTANIX.USER}|
Nutanix API username.
|`<Put your API username here>`|
|{$NUTANIX.PASSWORD}|
Nutanix API password.
|`<Put your API password here>`|
|{$NUTANIX.PROXY}|
Sets the HTTP proxy value. If this macro is empty, then no proxy is used.
||
|{$NUTANIX.HOST.UUID}|
UUID of the host.
||
|{$NUTANIX.TIMEOUT}|
API response timeout.
|`10s`|
|{$NUTANIX.ALERT.DISCOVERY.NAME.MATCHES}|
Filter of discoverable Nutanix alerts by name.
|`.*`|
|{$NUTANIX.ALERT.DISCOVERY.NAME.NOT_MATCHES}|
Filter to exclude discovered Nutanix alerts by name.
|`CHANGE_IF_NEEDED`|
|{$NUTANIX.ALERT.DISCOVERY.STATE.MATCHES}|
Filter to exclude discovered Nutanix alerts by state. Set "1" for filtering only problem alerts or "0" for resolved ones.
|`.*`|
|{$NUTANIX.ALERT.DISCOVERY.SEVERITY.MATCHES}|
Filter to exclude discovered Nutanix alerts by severity. Set all possible severities for filtering in the range 0-2. "0" - Info, "1" - Warning, "2" - Critical.
|`.*`|

### Items

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Get metric|
Get data about basic metrics.
|Script|nutanix.host.metric.get|
|Get metric check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.host.metric.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|
|Get disk|
Get data about installed disks.
|Script|nutanix.host.disk.get|
|Get disk check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.host.disk.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|
|Get alert|
Get data about alerts.
|Script|nutanix.host.alert.get|
|Get alert check|
Data collection check. Check the latest values for details.
|Dependent item|nutanix.host.alert.get.check
**Preprocessing**

- 
JSON Path: `$.error`

⛔️Custom on fail: Set value to: ``</p></li><li><p>Discard unchanged with heartbeat: `3h`

|
|Content Cache: Hit rate, %|
Content cache hits over all lookups.
|Dependent item|nutanix.host.content.cache.hit.percent
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_hit_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Content Cache: Logical memory usage, bytes|
Logical memory used to cache data without deduplication in bytes.
|Dependent item|nutanix.host.content.cache.logical.memory.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_logical_memory_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Logical saved memory usage, bytes|
Memory saved due to content cache deduplication in bytes.
|Dependent item|nutanix.host.content.cache.saved.memory.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_saved_memory_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Logical SSD usage, bytes|
Logical SSD memory used to cache data without deduplication in bytes.
|Dependent item|nutanix.host.content.cache.logical.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_logical_ssd_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Number of lookups|
Number of lookups on the content cache.
|Dependent item|nutanix.host.content.cache.lookups.num
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_num_lookups`

⛔️Custom on fail: Discard value

|
|Content Cache: Physical memory usage, bytes|
Real memory used to cache data via the content cache in bytes.
|Dependent item|nutanix.host.content.cache.physical.memory.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_physical_memory_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: Physical SSD usage, bytes|
Real SSD usage used to cache data via the content cache in bytes.
|Dependent item|nutanix.host.content.cache.physical.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_physical_ssd_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Content Cache: References|
Average number of content cache references.
|Dependent item|nutanix.host.content.cache.dedup.ref.num
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_num_dedup_ref_count_pph`

⛔️Custom on fail: Discard value

|
|Content Cache: Saved SSD usage, bytes|
SSD usage saved due to content cache deduplication in bytes.
|Dependent item|nutanix.host.content.cache.saved.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.stats.content_cache_saved_ssd_usage_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Controller: Random IO|
The number of random Input/Output operations from the controller.
|Dependent item|nutanix.host.controller.io.random
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_random_io`

⛔️Custom on fail: Discard value

|
|Controller: Random IO, %|
The percentage of random Input/Output from the controller.
|Dependent item|nutanix.host.controller.io.random.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_random_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Controller: Sequence IO|
The number of sequential Input/Output operations from the controller.
|Dependent item|nutanix.host.controller.io.sequence
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_seq_io`

⛔️Custom on fail: Discard value

|
|Controller: Sequence IO, %|
The percentage of sequential Input/Output from the controller.
|Dependent item|nutanix.host.controller.io.sequence.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_seq_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Storage Controller: Timespan, sec|
Controller timespan.
|Dependent item|nutanix.host.storage.controller.timespan.sec
**Preprocessing**

- 
JSON Path: `$.stats.controller_timespan_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Controller: IO total, bytes|
Total controller Input/Output size.
|Dependent item|nutanix.host.storage.controller.io.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: IO total, sec|
Total controller Input/Output time.
|Dependent item|nutanix.host.storage.controller.io.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: IO total read, bytes|
Total controller read Input/Output size.
|Dependent item|nutanix.host.storage.controller.io.read.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: IO total read, sec|
Total controller read Input/Output time.
|Dependent item|nutanix.host.storage.controller.io.read.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_read_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: Boot time|
The last host boot time.
|Dependent item|nutanix.host.general.boot.time
**Preprocessing**

- 
JSON Path: `$.boot_time_in_usecs`

- 
Custom multiplier: `1.0E-6`

- 
Discard unchanged with heartbeat: `1h`

|
|General: CPU frequency|
The processor frequency.
|Dependent item|nutanix.host.general.cpu.frequency
**Preprocessing**

- 
JSON Path: `$.cpu_frequency_in_hz`

- 
Discard unchanged with heartbeat: `1h`

|
|General: CPU model|
The processor model.
|Dependent item|nutanix.host.general.cpu.model
**Preprocessing**

- 
JSON Path: `$.cpu_model`

- 
Discard unchanged with heartbeat: `12h`

|
|General: Host state|
Displays the host state. One of the following:

- NEW;

- NORMAL;

- MARKED_FOR_REMOVAL_BUT_NOT_DETACHABLE;

- DETACHABLE.
|Dependent item|nutanix.host.general.state
**Preprocessing**

- 
JSON Path: `$.state`

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `10m`

|
|General: Host type|
Displays the host type. One of the following:

- HYPER_CONVERGED;

- COMPUTE_ONLY.
|Dependent item|nutanix.host.general.type
**Preprocessing**

- 
JSON Path: `$.host_type`

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|
|General: IOPS|
Input/Output operations per second from the disk.
|Dependent item|nutanix.host.general.iops
**Preprocessing**

- 
JSON Path: `$.stats.num_iops`

⛔️Custom on fail: Discard value

|
|General: IO|
The number of Input/Output operations from the disk.
|Dependent item|nutanix.host.general.io
**Preprocessing**

- 
JSON Path: `$.stats.num_io`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: IO, bandwidth|
Data transferred in B/sec from the disk.
|Dependent item|nutanix.host.general.io.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: IO, latency|
Input/Output latency from the disk.
|Dependent item|nutanix.host.general.io.latency
**Preprocessing**

- 
JSON Path: `$.stats.avg_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: Degrade status|
Indicates whether the host is in a degraded state. One of the following:

- Normal;

- Degraded;

- Unknown.
|Dependent item|nutanix.host.general.degraded
**Preprocessing**

- 
JSON Path: `$.is_degraded`

- 
Boolean to decimal

⛔️Custom on fail: Set value to: `2`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Maintenance mode|
Indicates whether the host is in maintenance mode. One of the following:

- Normal;

- Maintenance;

- Unknown.
|Dependent item|nutanix.host.general.maintenance
**Preprocessing**

- 
JSON Path: `$.host_in_maintenance_mode`

- 
Boolean to decimal

⛔️Custom on fail: Set value to: `2`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Number of virtual machines|
Number of virtual machines running on this host.
|Dependent item|nutanix.host.general.vms.num
**Preprocessing**

- 
JSON Path: `$.num_vms`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Random IO|
The number of random Input/Output operations.
|Dependent item|nutanix.host.general.io.random
**Preprocessing**

- 
JSON Path: `$.stats.num_random_io`

⛔️Custom on fail: Discard value

|
|General: Random IO, %|
The percentage of random Input/Output.
|Dependent item|nutanix.host.general.io.random.percent
**Preprocessing**

- 
JSON Path: `$.stats.random_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Read IO|
Input/Output read operations from the disk.
|Dependent item|nutanix.host.general.io.read
**Preprocessing**

- 
JSON Path: `$.stats.num_read_io`

⛔️Custom on fail: Discard value

|
|General: Read IOPS|
Total number of Input/Output read operations per second.
|Dependent item|nutanix.host.general.iops.read
**Preprocessing**

- 
JSON Path: `$.stats.num_read_iops`

⛔️Custom on fail: Discard value

|
|General: Read IO, %|
The total percentage of Input/Output operations that are reads.
|Dependent item|nutanix.host.general.io.read.percent
**Preprocessing**

- 
JSON Path: `$.stats.read_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Read IO, bandwidth|
Read data transferred in B/sec from the disk.
|Dependent item|nutanix.host.general.io.read.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.read_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: Read IO, latency|
Average Input/Output read latency.
|Dependent item|nutanix.host.general.io.read.latency
**Preprocessing**

- 
JSON Path: `$.stats.avg_read_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: Reboot pending|
Indicates whether the host is pending to reboot.
|Dependent item|nutanix.host.general.reboot
**Preprocessing**

- 
JSON Path: `$.reboot_pending`

- 
Boolean to decimal

⛔️Custom on fail: Set value to: `2`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Sequence IO|
The number of sequential Input/Output operations.
|Dependent item|nutanix.host.general.io.sequence
**Preprocessing**

- 
JSON Path: `$.stats.num_seq_io`

⛔️Custom on fail: Discard value

|
|General: Sequence IO, %|
The percentage of sequential Input/Output.
|Dependent item|nutanix.host.general.io.sequence.percent
**Preprocessing**

- 
JSON Path: `$.stats.seq_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Storage capacity, bytes|
Total size of the datastores used by this system in bytes.
|Dependent item|nutanix.host.general.storage.capacity.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.capacity_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Storage free, bytes|
Total free space of all the datastores used by this system in bytes.
|Dependent item|nutanix.host.general.storage.free.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.free_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Storage logical usage, bytes|
Total logical used space by the datastores of this system in bytes.
|Dependent item|nutanix.host.general.storage.logical.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.logical_usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Storage usage, bytes|
Total physical datastore space used by this host and all its snapshots on the datastores.
|Dependent item|nutanix.host.general.storage.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage.usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|General: Timespan, sec|
Host timespan.
|Dependent item|nutanix.host.general.timespan.sec
**Preprocessing**

- 
JSON Path: `$.stats.timespan_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: Total CPU capacity|
Total host CPU capacity in Hz.
|Dependent item|nutanix.host.general.cpu.capacity.hz
**Preprocessing**

- 
JSON Path: `$.cpu_capacity_in_hz`

- 
Discard unchanged with heartbeat: `1h`

|
|General: IO total, sec|
Total time of Input/Output operations.
|Dependent item|nutanix.host.general.io.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.total_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: IO total, bytes|
Total size of Input/Output operations.
|Dependent item|nutanix.host.general.io.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: Total memory, bytes|
Total host memory in bytes.
|Dependent item|nutanix.host.general.memory.total.bytes
**Preprocessing**

- 
JSON Path: `$.memory_capacity_in_bytes`

- 
Discard unchanged with heartbeat: `1h`

|
|General: IO total read, sec|
Total time of Input/Output read operations.
|Dependent item|nutanix.host.general.io.read.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.total_read_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|General: IO total read, bytes|
Total size of Input/Output read operations.
|Dependent item|nutanix.host.general.io.read.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: Total transformed usage, bytes|
Actual usage of storage.
|Dependent item|nutanix.host.general.transformed.usage.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_transformed_usage_bytes`

⛔️Custom on fail: Discard value

|
|General: Total untransformed usage, bytes|
Logical usage of storage (physical usage divided by the replication factor).
|Dependent item|nutanix.host.general.untransformed.usage.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.total_untransformed_usage_bytes`

⛔️Custom on fail: Discard value

|
|General: Write IO|
Total number of Input/Output write operations.
|Dependent item|nutanix.host.general.io.write
**Preprocessing**

- 
JSON Path: `$.stats.num_write_io`

⛔️Custom on fail: Discard value

|
|General: Write IOPS|
Total number of Input/Output operations write per second.
|Dependent item|nutanix.host.general.iops.write
**Preprocessing**

- 
JSON Path: `$.stats.num_write_iops`

⛔️Custom on fail: Discard value

|
|General: Write IO, %|
Total percentage of Input/Output operations that are writes.
|Dependent item|nutanix.host.general.io.write.percent
**Preprocessing**

- 
JSON Path: `$.stats.write_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|General: Write IO, bandwidth|
Write data transferred in B/sec from the disk.
|Dependent item|nutanix.host.general.io.write.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.write_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|General: Write IO, latency|
Average Input/Output write operation latency.
|Dependent item|nutanix.host.general.io.write.latency
**Preprocessing**

- 
JSON Path: `$.stats.avg_write_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: CPU usage, %|
Percentage of CPU used by the Hypervisor.
|Dependent item|nutanix.host.hypervisor.cpu.usage.percent
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_cpu_usage_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Hypervisor: Full name|
Full name of the Hypervisor running on the host.
|Dependent item|nutanix.host.hypervisor.name
**Preprocessing**

- 
JSON Path: `$.hypervisor_full_name`

- 
Discard unchanged with heartbeat: `12h`

|
|Hypervisor: IOPS|
Input/Output operations per second from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.iops
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_iops`

⛔️Custom on fail: Discard value

|
|Hypervisor: IO, bandwidth|
Data transferred in B/sec from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: IO, latency|
Input/Output operation latency from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.latency
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_avg_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: Memory usage, %|
Percentage of memory used by the Hypervisor.
|Dependent item|nutanix.host.hypervisor.memory.usage.percent
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_memory_usage_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Hypervisor: IO|
The number of Input/Output operations from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_io`

⛔️Custom on fail: Discard value

|
|Hypervisor: Read IOPS|
The number of Input/Output read operations from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.iops.read
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_read_iops`

⛔️Custom on fail: Discard value

|
|Hypervisor: Read IO|
Input/Output read operations per second from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.read
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_read_io`

⛔️Custom on fail: Discard value

|
|Hypervisor: Read IO, bandwidth|
Read data transferred in B/sec from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.read.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_read_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: Read IO, latency|
Input/Output read latency from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.read.latency
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_avg_read_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: Received, bytes|
Bytes received over the network reported by the Hypervisor.
|Dependent item|nutanix.host.hypervisor.received.bytes
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_received_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Hypervisor: Timespan, sec|
Hypervisor timespan.
|Dependent item|nutanix.host.hypervisor.timespan.sec
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_timespan_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: IO total, sec|
Total Input/Output operation time from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: IO total, bytes|
Total Input/Output operation size from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: IO total read, bytes|
Total size of Input/Output read operations from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.read.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: IO total read, sec|
Total time of Input/Output read operations from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.read.total.sec
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_total_read_io_time_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: Transmitted, bytes|
Bytes transmitted over the network reported by the Hypervisor.
|Dependent item|nutanix.host.hypervisor.transmitted.bytes
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_transmitted_bytes`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Hypervisor: Write IOPS|
Input/Output write operations per second from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.iops.write
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_write_iops`

⛔️Custom on fail: Discard value

|
|Hypervisor: Write IO|
Input/Output write operations from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.write
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_num_write_io`

⛔️Custom on fail: Discard value

|
|Hypervisor: Write IO, bandwidth|
Write data transferred in B/sec from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.write.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_write_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Hypervisor: Write IO, latency|
Input/Output write latency from the Hypervisor.
|Dependent item|nutanix.host.hypervisor.io.write.latency
**Preprocessing**

- 
JSON Path: `$.stats.hypervisor_avg_write_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Hypervisor: Number of CPU cores|
The number of CPU cores.
|Dependent item|nutanix.host.hypervisor.cpu.cores.num
**Preprocessing**

- 
JSON Path: `$.num_cpu_cores`

- 
Discard unchanged with heartbeat: `12h`

|
|Hypervisor: Number of CPU sockets|
The number of CPU sockets.
|Dependent item|nutanix.host.hypervisor.cpu.sockets.num
**Preprocessing**

- 
JSON Path: `$.num_cpu_sockets`

- 
Discard unchanged with heartbeat: `12h`

|
|Hypervisor: Number of CPU threads|
The number of CPU threads.
|Dependent item|nutanix.host.hypervisor.cpu.threads.num
**Preprocessing**

- 
JSON Path: `$.num_cpu_threads`

- 
Discard unchanged with heartbeat: `12h`

|
|Storage Controller: IOPS|
Input/Output operations per second from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.iops
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_iops`

⛔️Custom on fail: Discard value

|
|Storage Controller: IO|
Input/Output operations from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_io`

⛔️Custom on fail: Discard value

|
|Storage Controller: IO, bandwidth|
Data transferred in B/sec from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.controller_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: IO, latency|
Input/Output latency from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.latency
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: Read IOPS|
Input/Output read operations per second from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.iops.read
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_read_iops`

⛔️Custom on fail: Discard value

|
|Storage Controller: Read IO|
Input/Output read operations from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.read
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_read_io`

⛔️Custom on fail: Discard value

|
|Storage Controller: Read IO, %|
Percentage of Input/Output operations from the Storage Controller that are reads.
|Dependent item|nutanix.host.storage.controller.io.read.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_read_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Storage Controller: Read IO, bandwidth|
Read data transferred in B/sec from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.read.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.controller_read_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: Read IO, latency|
Input/Output read latency from the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.read.latency
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_read_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: Read IO, bytes|
Storage Controller average read Input/Output in bytes.
|Dependent item|nutanix.host.storage.controller.io.read.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_read_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: Total transformed usage, bytes|
Actual usage of the Storage Controller.
|Dependent item|nutanix.host.storage.controller.transformed.usage.total.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_total_transformed_usage_bytes`

⛔️Custom on fail: Discard value

|
|Storage Controller: Write IO|
Input/Output write operations to the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.write
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_write_io`

⛔️Custom on fail: Discard value

|
|Storage Controller: Write IOPS|
Input/Output write operations per second to the Storage Controller.
|Dependent item|nutanix.host.storage.controller.iops.write
**Preprocessing**

- 
JSON Path: `$.stats.controller_num_write_iops`

⛔️Custom on fail: Discard value

|
|Storage Controller: Write IO, %|
Percentage of Input/Output operations to the Storage Controller that are writes.
|Dependent item|nutanix.host.storage.controller.io.write.percent
**Preprocessing**

- 
JSON Path: `$.stats.controller_write_io_ppm`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `0.0001`

|
|Storage Controller: Write IO, bandwidth|
Write data transferred in B/sec to the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.write.bandwidth
**Preprocessing**

- 
JSON Path: `$.stats.controller_write_io_bandwidth_kBps`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Controller: Write IO, latency|
Input/Output write latency to the Storage Controller.
|Dependent item|nutanix.host.storage.controller.io.write.latency
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_write_io_latency_usecs`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1.0E-6`

|
|Storage Controller: Write IO, bytes|
Storage Controller average write Input/Output in bytes.
|Dependent item|nutanix.host.storage.controller.io.write.bytes
**Preprocessing**

- 
JSON Path: `$.stats.controller_avg_write_io_size_kbytes`

⛔️Custom on fail: Discard value

- 
Custom multiplier: `1024`

|
|Storage Tier: Das-sata capacity, bytes|
The total capacity of Das-sata in bytes.
|Dependent item|nutanix.host.storage.controller.tier.das_sata.capacity.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.das-sata.capacity_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: Das-sata free, bytes|
The free space of Das-sata in bytes.
|Dependent item|nutanix.host.storage.controller.tier.das_sata.free.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.das-sata.free_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: Das-sata usage, bytes|
The used space of Das-sata in bytes.
|Dependent item|nutanix.host.storage.controller.tier.das_sata.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.das-sata.usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: SSD capacity, bytes|
The total capacity of SSD in bytes.
|Dependent item|nutanix.host.storage.controller.tier.ssd.capacity.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.ssd.capacity_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: SSD free, bytes|
The free space of SSD in bytes.
|Dependent item|nutanix.host.storage.controller.tier.ssd.free.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.ssd.free_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Storage Tier: SSD usage, bytes|
The used space of SSD in bytes.
|Dependent item|nutanix.host.storage.controller.tier.ssd.usage.bytes
**Preprocessing**

- 
JSON Path: `$.usage_stats.['storage_tier.ssd.usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|

### Triggers

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|Nutanix: Failed to get metric data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Host Prism Element by HTTP/nutanix.host.metric.get.check))>0`|High||
|Nutanix: Failed to get disk data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Host Prism Element by HTTP/nutanix.host.disk.get.check))>0`|High||
|Nutanix: Failed to get alert data from the API|
Failed to get data from the API. Check the latest values for details.
|`length(last(/Nutanix Host Prism Element by HTTP/nutanix.host.alert.get.check))>0`|High||
|Nutanix: Host is in degraded status|
Host is in a degraded status. The host may soon become unavailable.
|`last(/Nutanix Host Prism Element by HTTP/nutanix.host.general.degraded)=1`|High||

### LLD rule Disk discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Disk discovery|
Discovery of all disks.
|Dependent item|nutanix.host.disk.discovery
**Preprocessing**

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|

### Item prototypes for Disk discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Disk [{#DISK.SERIAL}]: Bandwidth|
Bandwidth of the disk in B/sec.
|Dependent item|nutanix.host.disk.io.bandwidth["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].stats.io_bandwidth_kBps`

- 
Custom multiplier: `1024`

|
|Disk [{#DISK.SERIAL}]: Space: Total, bytes|
The total disk space in bytes.
|Dependent item|nutanix.host.disk.capacity.bytes["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].usage_stats.['storage.capacity_bytes']`

- 
Discard unchanged with heartbeat: `12h`

|
|Disk [{#DISK.SERIAL}]: Space: Free, bytes|
The free disk space in bytes.
|Dependent item|nutanix.host.disk.free.bytes["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].usage_stats.['storage.free_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Disk [{#DISK.SERIAL}]: IOPS|
The number of Input/Output operations from the disk.
|Dependent item|nutanix.host.disk.iops["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].stats.num_iops`

|
|Disk [{#DISK.SERIAL}]: IO, latency|
The average Input/Output operation latency.
|Dependent item|nutanix.host.disk.io.avg.latency["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].stats.avg_io_latency_usecs`

- 
Custom multiplier: `1.0E-6`

|
|Disk [{#DISK.SERIAL}]: Space: Logical usage, bytes|
The logical used disk space in bytes.
|Dependent item|nutanix.host.disk.logical.usage.bytes["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].usage_stats.['storage.logical_usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|
|Disk [{#DISK.SERIAL}]: Online|
Indicates whether the disk is online.
|Dependent item|nutanix.host.disk.online["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].online`

- 
Boolean to decimal

⛔️Custom on fail: Set value to: `2`

- 
Discard unchanged with heartbeat: `1h`

|
|Disk [{#DISK.SERIAL}]: Status|
Current disk status. One of the following:

- NORMAL;

- DATA_MIGRATION_INITIATED;

- MARKED_FOR_REMOVAL_BUT_NOT_DETACHABLE;

- DETACHABLE.
|Dependent item|nutanix.host.disk.status["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].disk_status`

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|
|Disk [{#DISK.SERIAL}]: Space: Used, bytes|
The used disk space in bytes.
|Dependent item|nutanix.host.disk.usage.bytes["{#DISK.SERIAL}"]
**Preprocessing**

- 
JSON Path: `$.['{#DISK.ID}'].usage_stats.['storage.usage_bytes']`

- 
Discard unchanged with heartbeat: `1h`

|

### LLD rule Alert discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Alert discovery|
Discovery of all alerts.

Alerts will be grouped by title. For each alert, in addition to the basic information, the number of activation and last alert ID will be available.
|Dependent item|nutanix.host.alert.discovery
**Preprocessing**

- 
JavaScript: `The text is too long. Please see the template.`

- 
Discard unchanged with heartbeat: `1h`

|

### Item prototypes for Alert discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Alert [{#ALERT.NAME}]: Full title|
The full title of the alert.
|Dependent item|nutanix.host.alert.title["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.title`

- 
Discard unchanged with heartbeat: `12h`

|
|Alert [{#ALERT.NAME}]: Create datetime|
The alert creation date and time.
|Dependent item|nutanix.host.alert.created["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.created`

- 
Custom multiplier: `0.000001`

- 
Discard unchanged with heartbeat: `1h`

|
|Alert [{#ALERT.NAME}]: Severity|
Alert severity. One of the following:

- Info;

- Warning;

- Critical;

- Unknown.
|Dependent item|nutanix.host.alert.severity["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.severity`

- 
Discard unchanged with heartbeat: `1h`

|
|Alert [{#ALERT.NAME}]: State|
Alert state. One of the following:

- OK;

- Problem.
|Dependent item|nutanix.host.alert.state["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.state`

- 
Discard unchanged with heartbeat: `1h`

|
|Alert [{#ALERT.NAME}]: Detailed message|
Detailed information about the current alert.
|Dependent item|nutanix.host.alert.message["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.message`

- 
Discard unchanged with heartbeat: `12h`

|
|Alert [{#ALERT.NAME}]: Last alert ID|
Latest ID of the alert.
|Dependent item|nutanix.host.alert.last_id["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.last_id`

- 
Discard unchanged with heartbeat: `12h`

|
|Alert [{#ALERT.NAME}]: Count alerts|
The number of times this alert was triggered.
|Dependent item|nutanix.host.alert.count["{#ALERT.KEY}"]
**Preprocessing**

- 
JSON Path: `$.{#ALERT.KEY}.count`

- 
Discard unchanged with heartbeat: `1h`

|

## Feedback

Please report any issues with the template at [`https://support.zabbix.com`](https://support.zabbix.com)

You can also provide feedback, discuss the template, or ask for help at [`ZABBIX forums`](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback)

