
# HPE Synergy by HTTP

## Overview

The template to monitor HPE Synergy by HTTP.
It works without any external scripts and uses the script item.

## Requirements

Zabbix version: 7.0 and higher.

## Tested versions

This template has been tested on:
- HPE Synergy 12000 Frame with API version 1200

## 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. Link template to the host.
2. Set the hostname or IP address of the host in the {$HPE.SYNERGY.API.HOST} macro and configure the username and password in the {$HPE.SYNERGY.API.USERNAME} and {$HPE.SYNERGY.API.PASSWORD} macros.
3. Change the {$HPE.SYNERGY.API.SCHEME} and {$HPE.SYNERGY.API.PORT} macros if needed.

### Macros used

|Name|Description|Default|
|----|-----------|-------|
|{$HPE.SYNERGY.API.PASSWORD}|
Specify password for API.
||
|{$HPE.SYNERGY.API.USERNAME}|
Specify user name for API.
|`zabbix`|
|{$HPE.SYNERGY.DATA.TIMEOUT}|
Response timeout for API.
|`15s`|
|{$HPE.SYNERGY.API.SCHEME}|
The API scheme (http/https).
|`https`|
|{$HPE.SYNERGY.API.HOST}|
The hostname or IP address of the API host.
||
|{$HPE.SYNERGY.API.PORT}|
The API port.
|`443`|
|{$HPE.SYNERGY.API.LOGIN_DOMAIN}|
User domain.
|`LOCAL`|

### Items

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Get data|
The JSON with the result from requests to API.
|Script|hpe.synergy.get.data|
|Get errors|
A list of errors from API requests.
|Dependent item|hpe.synergy.get.errors
**Preprocessing**

- 
JSON Path: `$.errors`

- 
Discard unchanged with heartbeat: `1h`

|
|Get enclosures data|
A list of enclosures.
|Dependent item|hpe.synergy.get.enclosures
**Preprocessing**

- 
JSON Path: `$.enclosures`

⛔️Custom on fail: Discard value

|
|Get datacenters data|
Data of the datacenters.
|Dependent item|hpe.synergy.get.datacenters
**Preprocessing**

- 
JSON Path: `$.datacenters`

⛔️Custom on fail: Discard value

|
|Get ethernet networks data|
Data of the ethernet networks.
|Dependent item|hpe.synergy.get.ethernet_networks
**Preprocessing**

- 
JSON Path: `$.["ethernet-networks"]`

⛔️Custom on fail: Discard value

|
|Get fabrics data|
Data of the fabrics.
|Dependent item|hpe.synergy.get.fabrics
**Preprocessing**

- 
JSON Path: `$.fabrics`

⛔️Custom on fail: Discard value

|
|Get FC networks data|
Data of the FC networks.
|Dependent item|hpe.synergy.get.fc_networks
**Preprocessing**

- 
JSON Path: `$.["fc-networks"]`

⛔️Custom on fail: Discard value

|
|Get hypervisor managers data|
Data of the hypervisor managers.
|Dependent item|hpe.synergy.get.hypervisor_managers
**Preprocessing**

- 
JSON Path: `$.["hypervisor-managers"]`

⛔️Custom on fail: Discard value

|
|Get interconnects data|
Data of the interconnects.
|Dependent item|hpe.synergy.get.interconnects
**Preprocessing**

- 
JSON Path: `$.interconnects`

⛔️Custom on fail: Discard value

|
|Get logical enclosures data|
Data of the logical enclosures.
|Dependent item|hpe.synergy.get.logical_enclosures
**Preprocessing**

- 
JSON Path: `$.["logical-enclosures"]`

⛔️Custom on fail: Discard value

|
|Get racks data|
Data of the racks.
|Dependent item|hpe.synergy.get.racks
**Preprocessing**

- 
JSON Path: `$.racks`

⛔️Custom on fail: Discard value

|
|Get server hardware data|
Data of the server hardware.
|Dependent item|hpe.synergy.get.server_hardware
**Preprocessing**

- 
JSON Path: `$.["server-hardware"]`

⛔️Custom on fail: Discard value

|
|Get storage pools data|
Data of the storage pools.
|Dependent item|hpe.synergy.get.storage_pools
**Preprocessing**

- 
JSON Path: `$.["storage-pools"]`

⛔️Custom on fail: Discard value

|
|Get storage systems data|
Data of the storage systems.
|Dependent item|hpe.synergy.get.storage_systems
**Preprocessing**

- 
JSON Path: `$.["storage-systems"]`

⛔️Custom on fail: Discard value

|
|Get storage volumes data|
Data of the storage volumes.
|Dependent item|hpe.synergy.get.storage_volumes
**Preprocessing**

- 
JSON Path: `$.["storage-volumes"]`

⛔️Custom on fail: Discard value

|
|Get uplink sets data|
Data of the uplink sets.
|Dependent item|hpe.synergy.get.uplink_sets
**Preprocessing**

- 
JSON Path: `$.["uplink-sets"]`

⛔️Custom on fail: Discard value

|
|Service ping|
Checks if the service is running and accepting the TCP connections.
|Simple check|net.tcp.service["{$HPE.SYNERGY.API.SCHEME}","{$HPE.SYNERGY.API.HOST}","{$HPE.SYNERGY.API.PORT}"]
**Preprocessing**

- 
Discard unchanged with heartbeat: `10m`

|

### Triggers

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: There are errors in requests to API|
Zabbix has received errors from API.
|`length(last(/HPE Synergy by HTTP/hpe.synergy.get.errors))>0`|Average|**Depends on**:

- HPE Synergy: Service is unavailable
|
|HPE Synergy: Service is unavailable||`max(/HPE Synergy by HTTP/net.tcp.service["{$HPE.SYNERGY.API.SCHEME}","{$HPE.SYNERGY.API.HOST}","{$HPE.SYNERGY.API.PORT}"],5m)=0`|High|**Manual close**: Yes|

### LLD rule Appliance bays discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Appliance bays discovery|
A list of the appliance bays in the enclosure.
|Dependent item|hpe.synergy.appliances.discovery
**Preprocessing**

- 
JSON Path: `$.members.[0].applianceBays`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Appliance bays discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Get data|
Data of the appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}].
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",data]
**Preprocessing**

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

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Model|
The model name of the appliance.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",model]
**Preprocessing**

- 
JSON Path: `$.model`

- 
Discard unchanged with heartbeat: `1d`

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Part number|
The part number of the appliance.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Powered on|
*Yes*, if the appliance is powered on; *false*, otherwise.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",powered_on]
**Preprocessing**

- 
JSON Path: `$.poweredOn`

- Boolean to decimal
- 
Discard unchanged with heartbeat: `1h`

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Power state|
The power state of the appliance bay.

*EFuse* - the power state of the bay - it has been EFused.

*Reset* - the power state of the bay - it has been reset.

*SoftReset* - the power state of the bay - it has been softly reset.

*Unknown* - the power state of the bay is unknown.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",bay_power_state]
**Preprocessing**

- 
JSON Path: `$.bayPowerState`

- 
Replace: `EFuse -> 0`

- 
Replace: `SoftReset -> 1`

- 
Replace: `Reset -> 2`

- 
Replace: `Unknown -> 3`

- 
In range: `0 -> 3`

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

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Presence|
Indicates whether an appliance is present in the bay:

*Absent* - the device slot is empty;

*PresenceNoOp* - the device slot is uninitialized;

*PresenceUnknown* - the device presence is unknown;

*Present* - the device slot has a device in it;

*Subsumed* - the device slot is configured to be part of another device slot. Not applicable for the fan or power supply bays.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence]
**Preprocessing**

- 
JSON Path: `$.devicePresence`

- 
Replace: `Absent -> 0`

- 
Replace: `PresenceNoOp -> 1`

- 
Replace: `PresenceUnknown -> 2`

- 
Replace: `Present -> 3`

- 
Replace: `Subsumed -> 4`

- 
In range: `0 -> 4`

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

- 
Discard unchanged with heartbeat: `1h`

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Serial number|
The serial number of the appliance.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Spare part number|
The spare part number of the appliance.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",spare_part_number]
**Preprocessing**

- 
JSON Path: `$.sparePartNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Status|
The hardware status of the appliance:

*Critical* - requires immediate attention;

*Disabled* - the resource is currently not operational;

*OK* - indicates normal/informational behavior;

*Unknown* - the health status is not yet known or cannot be determined;

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Appliance bays discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has critical status|
The appliance [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=0`|High||
|HPE Synergy: Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has warning status|
The appliance [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=4`|Warning||
|HPE Synergy: Appliance bay [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is disabled|
The appliance [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is currently not operational
|`last(/HPE Synergy by HTTP/hpe.synergy.appliance["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=1`|Info||

### LLD rule Cross bars discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Cross bars discovery|
SDX cross fabric module connects to all computing devices installed in the system enclosure and brings in the capability of hard partitioning. Crossbar details are relevant only for enclosures with type "SDX".
|Dependent item|hpe.synergy.crossbars.discovery
**Preprocessing**

- 
JSON Path: `$.members.[0].crossBars`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Cross bars discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Get data|
Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] data
|Dependent item|hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",data]
**Preprocessing**

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

|
|Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: HW version|
The hardware version.
|Dependent item|hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",hw_version]
**Preprocessing**

- 
JSON Path: `$.hwVersion`

- 
Discard unchanged with heartbeat: `1d`

|
|Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Part number|
The part number provided by the manufacturer.
|Dependent item|hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Presence|
The presence in a bay:

*Absent* - the device slot is empty;

*PresenceNoOp* - the device slot is uninitialized;

*PresenceUnknown* - the device presence is unknown;

*Present* - the device slot has a device in it;

*Subsumed* - the device slot is configured to be part of another device slot. Not applicable for the fan or power supply bays.
|Dependent item|hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence]
**Preprocessing**

- 
JSON Path: `$.presence`

- 
Replace: `Absent -> 0`

- 
Replace: `PresenceNoOp -> 1`

- 
Replace: `PresenceUnknown -> 2`

- 
Replace: `Present -> 3`

- 
Replace: `Subsumed -> 4`

- 
In range: `0 -> 4`

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

- 
Discard unchanged with heartbeat: `1h`

|
|Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Serial number|
A serial number.
|Dependent item|hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Status|
The overall health status of the crossbar:

*Critical* - requires immediate attention;

*Disabled* - the resource is currently not operational;

*OK* - indicates normal/informational behavior;

*Unknown* - the health status is not yet known or cannot be determined;

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Cross bars discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is subsumed|
The device slot is configured to be part of another device slot.
|`last(/HPE Synergy by HTTP/hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence])=4`|Average||
|HPE Synergy: Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has critical status|
The crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=0`|High||
|HPE Synergy: Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has warning status|
The crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=4`|Warning||
|HPE Synergy: Crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is disabled|
The crossbar [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.crossbar["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=1`|Info||

### LLD rule Datacenters discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Datacenters discovery|
A list of the datacenters.
|Dependent item|hpe.synergy.datacenters.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Datacenters discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Datacenter [{#NAME}]: Get data|
Data of the datacenter [{#NAME}].
|Dependent item|hpe.synergy.datacenter["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Datacenter [{#NAME}]: State|
The current state of the resource. The valid values include Adding, AddError, Configured, CredentialError, Refreshing, RefreshError, Removing, RemoveError, and Unmanaged.
|Dependent item|hpe.synergy.datacenter["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `Adding -> 0`

- 
Replace: `AddError -> 1`

- 
Replace: `Configured -> 2`

- 
Replace: `CredentialError -> 3`

- 
Replace: `Refreshing -> 4`

- 
Replace: `RefreshError -> 5`

- 
Replace: `Removing -> 6`

- 
Replace: `RemoveError -> 7`

- 
Replace: `Unmanaged -> 8`

- 
In range: `0 -> 8`

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

|
|Datacenter [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that a resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.datacenter["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Datacenters discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Datacenter [{#NAME}]: Add error|
The adding of the datacenter [{#NAME}] has failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.datacenter["{#NAME}",state])=1`|Average||
|HPE Synergy: Datacenter [{#NAME}]: Has credential error|
The datacenter [{#NAME}] has a credential error.
|`last(/HPE Synergy by HTTP/hpe.synergy.datacenter["{#NAME}",state])=3`|Average||
|HPE Synergy: Datacenter [{#NAME}]: Has refresh error|
The datacenter [{#NAME}] has a refresh error.
|`last(/HPE Synergy by HTTP/hpe.synergy.datacenter["{#NAME}",state])=5`|Average||
|HPE Synergy: Datacenter [{#NAME}]: Has remove error|
The datacenter [{#NAME}] has a remove error.
|`last(/HPE Synergy by HTTP/hpe.synergy.datacenter["{#NAME}",state])=7`|Average||
|HPE Synergy: Datacenter [{#NAME}]: Has critical status|
The datacenter [{#NAME}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.datacenter["{#NAME}",status])=0`|High||
|HPE Synergy: Datacenter [{#NAME}]: Has warning status|
The datacenter [{#NAME}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.datacenter["{#NAME}",status])=4`|Warning||
|HPE Synergy: Datacenter [{#NAME}]: Is disabled|
the datacenter [{#NAME}] currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.datacenter["{#NAME}",status])=1`|Info||

### LLD rule Devices discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Devices discovery|
A list of device bays in the enclosure.
|Dependent item|hpe.synergy.devices.discovery
**Preprocessing**

- 
JSON Path: `$.members.[0].deviceBays`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Devices discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Device [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Get data|
Data of the device [{#ENCLOSURE_NAME}:{#BAY_NUMBER}].
|Dependent item|hpe.synergy.device["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",data]
**Preprocessing**

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

|
|Device [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Model|
The model name of an unsupported device occupying the bay if available.
|Dependent item|hpe.synergy.device["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",model]
**Preprocessing**

- 
JSON Path: `$.model`

- 
Discard unchanged with heartbeat: `1d`

|
|Device [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Power allocated|
The power allocated for the enclosed blade.
|Dependent item|hpe.synergy.device["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",power_allocation]
**Preprocessing**

- 
JSON Path: `$.powerAllocationWatts`

- 
Discard unchanged with heartbeat: `1h`

|
|Device [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Presence|
Indicates whether a device is present:

*Absent* - the device slot is empty;

*PresenceNoOp* - the device slot is uninitialized;

*PresenceUnknown* - the device presence is unknown;

*Present* - the device slot has a device in it;

*Subsumed* - the device slot is configured to be part of another device slot. Not applicable for the fan or power supply bays.
|Dependent item|hpe.synergy.device["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence]
**Preprocessing**

- 
JSON Path: `$.devicePresence`

- 
Replace: `Absent -> 0`

- 
Replace: `PresenceNoOp -> 1`

- 
Replace: `PresenceUnknown -> 2`

- 
Replace: `Present -> 3`

- 
Replace: `Subsumed -> 4`

- 
In range: `0 -> 4`

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

- 
Discard unchanged with heartbeat: `1h`

|
|Device [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Serial number|
If available, the serial number of any device occupying the bay.
|Dependent item|hpe.synergy.device["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1d`

|

### Trigger prototypes for Devices discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Device [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is subsumed|
The device slot is configured to be part of another device slot.
|`last(/HPE Synergy by HTTP/hpe.synergy.device["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence])=4`|Average||

### LLD rule Enclosures discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Enclosures discovery|
A list of enclosures resources.
|Dependent item|hpe.synergy.enclosures.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Enclosures discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Enclosure [{#NAME}]: Get data|
Data of the enclosure [{#NAME}].
|Dependent item|hpe.synergy.enclosure["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Enclosure [{#NAME}]: Appliance bays count|
The number of the appliance bays in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",appliance_bay_count]
**Preprocessing**

- 
JSON Path: `$.applianceBayCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Enclosure [{#NAME}]: Device bays count|
The number of the device bays in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",device_bay_count]
**Preprocessing**

- 
JSON Path: `$.deviceBayCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Enclosure [{#NAME}]: Device bays power|
The amount of power allocated for the blades in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",device_bay_watts]
**Preprocessing**

- 
JSON Path: `$.deviceBayWatts`

|
|Enclosure [{#NAME}]: Fan bays count|
The number of the fan bays in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",fan_bay_count]
**Preprocessing**

- 
JSON Path: `$.fanBayCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Enclosure [{#NAME}]: Firmware baseline|
The name of the current firmware baseline.
|Dependent item|hpe.synergy.enclosure["{#NAME}",fw_baseline_name]
**Preprocessing**

- 
JSON Path: `$.fwBaselineName`

- 
Discard unchanged with heartbeat: `1d`

|
|Enclosure [{#NAME}]: Interconnect bays count|
The number of the interconnect bays in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",interconnect_bay_count]
**Preprocessing**

- 
JSON Path: `$.interconnectBayCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Enclosure [{#NAME}]: Interconnect bays power|
The amount of power allocated for the interconnects in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",interconnect_bay_watts]
**Preprocessing**

- 
JSON Path: `$.interconnectBayWatts`

|
|Enclosure [{#NAME}]: Min power supplies|
The minimum number of the power supplies needed.
|Dependent item|hpe.synergy.enclosure["{#NAME}",min_ps]
**Preprocessing**

- 
JSON Path: `$.minimumPowerSupplies`

- 
Discard unchanged with heartbeat: `1d`

|
|Enclosure [{#NAME}]: Min power supplies for redundant power feed|
The minimum number of the power supplies needed to fulfill the redundant line feed power mode.
|Dependent item|hpe.synergy.enclosure["{#NAME}",min_ps_redundant]
**Preprocessing**

- 
JSON Path: `$.minimumPowerSuppliesForRedundantPowerFeed`

- 
Discard unchanged with heartbeat: `1d`

|
|Enclosure [{#NAME}]: Model|
The enclosure model name, for example, "BladeSystem c7000 Enclosure G2.
|Dependent item|hpe.synergy.enclosure["{#NAME}",model]
**Preprocessing**

- 
JSON Path: `$.enclosureModel`

- 
Discard unchanged with heartbeat: `1d`

|
|Enclosure [{#NAME}]: Part number|
The part number of the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Enclosure [{#NAME}]: Power allocated for fans and management devices|
The amount of the power allocated for the fans and management devices of the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",fans_mgmt_power]
**Preprocessing**

- 
JSON Path: `$.fansAndManagementDevicesWatts`

|
|Enclosure [{#NAME}]: Power capacity|
The power capacity based on power mode.
|Dependent item|hpe.synergy.enclosure["{#NAME}",power_capacity]
**Preprocessing**

- 
JSON Path: `$.powerCapacityWatts`

|
|Enclosure [{#NAME}]: Power supply bays count|
The number of the power supply bays in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",ps_bay_count]
**Preprocessing**

- 
JSON Path: `$.powerSupplyBayCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Enclosure [{#NAME}]: Serial number|
The serial number of the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Enclosure [{#NAME}]: State|
The current resource state of the enclosure:

*Adding* - the enclosure is being added;

*Configured* - the enclosure is configured and is a part of the logical enclosure. This is the usual state for an enclosure under full management;

*Configuring* - a transient state while the enclosure is being configured for a logical enclosure;

*Interrupted* - the previous operation on the enclosure did not complete. The operation should be re-attempted;

*Monitored* - the enclosure is being monitored. It is not a part of the logical enclosure and only hardware-control operations are available;

*Pending* - there are pending operations on the enclosure. Additional operations are denied;

*RemoveFailed* - the previous operation to remove the enclosure did not succeed. The operation should be re-attempted;

*Removing* - the enclosure is being removed;

*Unmanaged* - the enclosure has been discovered, but has not yet been added for the management or monitoring;

*Unsupported* - the enclosure model or version is not currently supported by HPE OneView. It cannot be configured or monitored.
|Dependent item|hpe.synergy.enclosure["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `Adding -> 0`

- 
Replace: `Configured -> 1`

- 
Replace: `Configuring -> 2`

- 
Replace: `Interrupted -> 3`

- 
Replace: `Monitored -> 4`

- 
Replace: `Pending -> 5`

- 
Replace: `RemoveFailed -> 6`

- 
Replace: `Removing -> 7`

- 
Replace: `Unmanaged -> 8`

- 
Replace: `Unsupported -> 9`

- 
In range: `0 -> 9`

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

|
|Enclosure [{#NAME}]: State reason|
Indicates the reason why the resource in its current state:

*Missing* - the enclosure is no longer connected into the frame link topology;

*None* - no reason is available, or none applies;

*NotAdded* - the enclosure has not been added;

*NotOwner* - the enclosure reports being managed by something other than this HPE OneView;

*OperationFailed* - a prior operation was interrupted;

*Unowned* - the enclosure reports are not being under the management;

*UnsupportedFirmware* - the firmware version of the enclosure is not supported by this version of HPE OneView;

*UpdatingFirmware* - a firmware update is in progress.
|Dependent item|hpe.synergy.enclosure["{#NAME}",state_reason]
**Preprocessing**

- 
JSON Path: `$.stateReason`

- 
Replace: `Missing -> 0`

- 
Replace: `None -> 1`

- 
Replace: `NotAdded -> 2`

- 
Replace: `NotOwner -> 3`

- 
Replace: `OperationFailed -> 4`

- 
Replace: `Unowned -> 5`

- 
Replace: `UnsupportedFirmware -> 6`

- 
Replace: `UpdatingFirmware -> 7`

- 
In range: `0 -> 7`

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

|
|Enclosure [{#NAME}]: Status|
The overall health status of the enclosure.

The enclosure status reflects the hardware health of the enclosure, all the bays, and the enclosure components (e.g. the enclosure mid-plane, fans, power supplies, Synergy Frame Link Modules, and Synergy Composers). It explicitly does not include the status of the other HPE OneView resources such as the blades (server hardware), the interconnects, and the drive enclosures.

*Critical* - requires immediate attention.

*Disabled* - the resource is currently not operational.

*OK* - indicates normal/informational behavior.

*Unknown* - the health status is not yet known or cannot be determined.

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.enclosure["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|
|Enclosure [{#NAME}]: Total allocated power|
The total amount of the power allocated in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",power_total_allocated]
**Preprocessing**

- 
JSON Path: `$.powerAllocatedWatts`

|
|Enclosure [{#NAME}]: Total available power|
The amount of the unallocated power in the enclosure.
|Dependent item|hpe.synergy.enclosure["{#NAME}",power_total_available]
**Preprocessing**

- 
JSON Path: `$.powerAvailableWatts`

|
|Enclosure [{#NAME}]: Type|
The type of the enclosure, for example, "C7000" or "SY12000" or "SDX".
|Dependent item|hpe.synergy.enclosure["{#NAME}",type]
**Preprocessing**

- 
JSON Path: `$.enclosureType`

- 
Discard unchanged with heartbeat: `6h`

|

### Trigger prototypes for Enclosures discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Enclosure [{#NAME}]: Is interrupted|
The previous operation on the enclosure did not complete. The operation should be re-attempted.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state])=3 and last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state_reason])>-1`|Warning||
|HPE Synergy: Enclosure [{#NAME}]: Is unsupported|
The enclosure model or version is not currently supported by HPE OneView. It cannot be configured or monitored.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state])=9 and last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state_reason])>-1`|Average||
|HPE Synergy: Enclosure [{#NAME}]: Remove failed|
The previous operation to remove the enclosure did not succeed. The operation should be re-attempted.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state])=6 and last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state_reason])>-1`|Warning||
|HPE Synergy: Enclosure [{#NAME}]: Is missing|
The enclosure is no longer connected into the frame link topology.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state_reason])=0`|Average||
|HPE Synergy: Enclosure [{#NAME}]: Is unowned|
The enclosure reports are not being under the management.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",state_reason])=5`|Average||
|HPE Synergy: Enclosure [{#NAME}]: Has critical status|
The status of the enclosure [{#NAME}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",status])=0`|High||
|HPE Synergy: Enclosure [{#NAME}]: Has warning status|
The status of the enclosure [{#NAME}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",status])=4`|Warning||
|HPE Synergy: Enclosure [{#NAME}]: Is disabled|
The enclosure [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.enclosure["{#NAME}",status])=1`|Info||

### LLD rule Ethernet networks discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Ethernet networks discovery|
A list of the ethernet networks.
|Dependent item|hpe.synergy.ethernet.networks.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Ethernet networks discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Ethernet network [{#NAME}]: Get data|
Data of the ethernet network [{#NAME}].
|Dependent item|hpe.synergy.ethernet.network["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Ethernet network [{#NAME}]: State|
The current state of the resource.
|Dependent item|hpe.synergy.ethernet.network["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Discard unchanged with heartbeat: `1h`

|
|Ethernet network [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.ethernet.network["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Ethernet networks discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Ethernet network [{#NAME}]: Has critical status|
The ethernet network [{#NAME}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.ethernet.network["{#NAME}",status])=0`|High||
|HPE Synergy: Ethernet network [{#NAME}]: Has warning status|
The ethernet network [{#NAME}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.ethernet.network["{#NAME}",status])=4`|Warning||
|HPE Synergy: Ethernet network [{#NAME}]: Is disabled|
The ethernet network [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.ethernet.network["{#NAME}",status])=1`|Info||

### LLD rule Fabrics discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Fabrics discovery|
A list of the fabrics.
|Dependent item|hpe.synergy.fabrics.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Fabrics discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Fabric [{#NAME}]: Get data|
Data of the fabric [{#NAME}].
|Dependent item|hpe.synergy.fabric["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Fabric [{#NAME}]: State|
The current state of the resource.
|Dependent item|hpe.synergy.fabric["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Discard unchanged with heartbeat: `1h`

|
|Fabric [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.fabric["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Fabrics discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Fabric [{#NAME}]: Has critical status|
The status of the fabric [{#NAME}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.fabric["{#NAME}",status])=0`|High||
|HPE Synergy: Fabric [{#NAME}]: Has warning status|
The status of the fabric [{#NAME}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.fabric["{#NAME}",status])=4`|Warning||
|HPE Synergy: Fabric [{#NAME}]: Is disabled|
The status of the fabric [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.fabric["{#NAME}",status])=1`|Info||

### LLD rule Fans discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Fans discovery|
A list of the fan bays in the enclosure.
|Dependent item|hpe.synergy.fans.discovery
**Preprocessing**

- 
JSON Path: `$.members.[0].fanBays`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Fans discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Get data|
Data of the fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}].
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",data]
**Preprocessing**

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

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Model|
The common descriptive model of the fan.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",model]
**Preprocessing**

- 
JSON Path: `$.model`

- 
Discard unchanged with heartbeat: `1d`

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Part number|
The part number of the fan.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Presence|
Indicates whether a fan is present:

*Absent* - the device slot is empty;

*PresenceNoOp* - the device slot is uninitialized;

*PresenceUnknown* - the device presence is unknown;

*Present* - the device slot has a device in it;

*Subsumed* - the device slot is configured to be part of another device slot. Not applicable for the fan or power supply bays.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence]
**Preprocessing**

- 
JSON Path: `$.devicePresence`

- 
Replace: `Absent -> 0`

- 
Replace: `PresenceNoOp -> 1`

- 
Replace: `PresenceUnknown -> 2`

- 
Replace: `Present -> 3`

- 
Replace: `Subsumed -> 4`

- 
In range: `0 -> 4`

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

- 
Discard unchanged with heartbeat: `1h`

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Required|
Indicates whether the enclosure configuration requires a fan to be present in the bay.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",required]
**Preprocessing**

- 
JSON Path: `$.deviceRequired`

- Boolean to decimal
- 
Discard unchanged with heartbeat: `1h`

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Serial number|
The serial number of the fan.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Spare part number|
The spare part number to be used when ordering an additional or replacement fan of this type.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",spare_part_number]
**Preprocessing**

- 
JSON Path: `$.sparePartNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: State|
The current state of the fan:

*Degraded* - a fan is degraded;

*Failed* -  a fan has failed;

*Misplaced* - a fan is present, but not required in this bay, and the overall fan configuration is not compliant with the enclosure fan placement rules;

*Missing* - a fan is required, but is not present;

*OK* - a fan bay has no issues;

*Unknown* - the state of a fan is unknown.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

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

- 
Replace: `Degraded -> 0`

- 
Replace: `Failed -> 1`

- 
Replace: `Misplaced -> 2`

- 
Replace: `Missing -> 3`

- 
Replace: `OK -> 4`

- 
In range: `0 -> 4`

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

|
|Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Status|
The overall health status of the fan:

*Critical* - requires immediate attention;

*Disabled* - the resource is currently not operational;

*OK* - indicates normal/informational behavior;

*Unknown* - the health status is not yet known or cannot be determined;

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Fans discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is degraded|
The fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is in degraded state.
|`last(/HPE Synergy by HTTP/hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",state])=0`|Average||
|HPE Synergy: Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is failed|
The fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is in failed state.
|`last(/HPE Synergy by HTTP/hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",state])=1`|High||
|HPE Synergy: Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is misplaced|
The fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is misplaced.
|`last(/HPE Synergy by HTTP/hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",state])=2`|Warning||
|HPE Synergy: Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is missing|
The fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is missing.
|`last(/HPE Synergy by HTTP/hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",state])=3`|Average||
|HPE Synergy: Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has critical status|
The fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=0`|High||
|HPE Synergy: Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has warning status|
The fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=4`|Warning||
|HPE Synergy: Fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is disabled|
The fan [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.fan["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=1`|Info||

### LLD rule FC networks discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|FC networks discovery|
A list of the FC networks.
|Dependent item|hpe.synergy.fc.networks.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for FC networks discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|FC network [{#NAME}]: Get data|
Data of the FC network [{#NAME}].
|Dependent item|hpe.synergy.fc.network["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|FC network [{#NAME}]: State|
The current state of the resource.
|Dependent item|hpe.synergy.fc.network["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Discard unchanged with heartbeat: `1h`

|
|FC network [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.fc.network["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for FC networks discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: FC network [{#NAME}]: Has critical status|
The FC network [{#NAME}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.fc.network["{#NAME}",status])=0`|High||
|HPE Synergy: FC network [{#NAME}]: Has warning status|
The FC network [{#NAME}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.fc.network["{#NAME}",status])=4`|Warning||
|HPE Synergy: FC network [{#NAME}]: Is disabled|
The FC network [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.fc.network["{#NAME}",status])=1`|Info||

### LLD rule Hypervisor managers discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Hypervisor managers discovery|
A list of the hypervisor managers.
|Dependent item|hpe.synergy.hypervisor.managers.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Hypervisor managers discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Hypervisor manager [{#NAME}]: Get data|
Data of the hypervisor manager [{#NAME}].
|Dependent item|hpe.synergy.hypervisor_manager["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.displayName == "{#NAME}")].first()`

|
|Hypervisor manager [{#NAME}]: State|
The current state of the resource. The valid values include Connected, Disconnected, Configuring and Error.
|Dependent item|hpe.synergy.hypervisor_manager["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `Connected -> 0`

- 
Replace: `Disconnected -> 1`

- 
Replace: `Configuring -> 2`

- 
Replace: `Error -> 3`

- 
In range: `0 -> 3`

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

|
|Hypervisor manager [{#NAME}]: State reason|
Indicates the reason why the resource is in its current state.
|Dependent item|hpe.synergy.hypervisor_manager["{#NAME}",state_reason]
**Preprocessing**

- 
JSON Path: `$.stateReason`

- 
Discard unchanged with heartbeat: `1h`

|
|Hypervisor manager [{#NAME}]: Status|
The current status of this resource:

*Critical* - requires immediate attention;

*Disabled* - the resource is currently not operational;

*OK* - indicates normal/informational behavior;

*Unknown* - the health status is not yet known or cannot be determined;

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.hypervisor_manager["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Hypervisor managers discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Hypervisor manager [{#NAME}]: Is in error state|
The hypervisor manager [{#NAME}] has an error.
|`last(/HPE Synergy by HTTP/hpe.synergy.hypervisor_manager["{#NAME}",state])=3 and length(last(/HPE Synergy by HTTP/hpe.synergy.hypervisor_manager["{#NAME}",state_reason]))>0`|High||
|HPE Synergy: Hypervisor manager [{#NAME}]: Has critical status|
The hypervisor manager [{#NAME}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.hypervisor_manager["{#NAME}",status])=0`|High||
|HPE Synergy: Hypervisor manager [{#NAME}]: Has warning status|
The hypervisor manager [{#NAME}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.hypervisor_manager["{#NAME}",status])=4`|Warning||
|HPE Synergy: Hypervisor manager [{#NAME}]: Is disabled|
The hypervisor manager [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.hypervisor_manager["{#NAME}",status])=1`|Info||

### LLD rule Interconnects discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Interconnects discovery|
Interconnects are centrally managed by their containing logical interconnect. The interconnect provides a physical view of a detailed downlink and uplink port state and configuration, including the current link state, speed, port role (uplink, downlink, or stacking), current pluggable media, power state, and immediate connected neighbor.
|Dependent item|hpe.synergy.interconnects.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Interconnects discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Interconnect [{#NAME}]: Get data|
Data of the interconnect [{#NAME}].
|Dependent item|hpe.synergy.interconnect["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Interconnect [{#NAME}]: Hardware health|
The health status of the interconnect hardware.
|Dependent item|hpe.synergy.interconnect["{#NAME}",hw.health]
**Preprocessing**

- 
JSON Path: `$.interconnectHardwareHealth`

- 
Discard unchanged with heartbeat: `1h`

|
|Interconnect [{#NAME}]: Model|
The interconnect model.
|Dependent item|hpe.synergy.interconnect["{#NAME}",model]
**Preprocessing**

- 
JSON Path: `$.model`

- 
Discard unchanged with heartbeat: `1d`

|
|Interconnect [{#NAME}]: Part number|
The part number of the interconnect.
|Dependent item|hpe.synergy.interconnect["{#NAME}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Interconnect [{#NAME}]: Port count|
The number of ports on the interconnect.
|Dependent item|hpe.synergy.interconnect["{#NAME}",port_count]
**Preprocessing**

- 
JSON Path: `$.portCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Interconnect [{#NAME}]: Serial number|
The serial number of the interconnect.
|Dependent item|hpe.synergy.interconnect["{#NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Interconnect [{#NAME}]: Spare part number|
The spare part number of the interconnect.
|Dependent item|hpe.synergy.interconnect["{#NAME}",spare_part_number]
**Preprocessing**

- 
JSON Path: `$.sparePartNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Interconnect [{#NAME}]: State|
The current state of the resource.
|Dependent item|hpe.synergy.interconnect["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Discard unchanged with heartbeat: `1h`

|
|Interconnect [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.interconnect["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Interconnects discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Interconnect [{#NAME}]: Has critical status|
The interconnect [{#NAME}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.interconnect["{#NAME}",status])=0`|High||
|HPE Synergy: Interconnect [{#NAME}]: Has warning status|
The interconnect [{#NAME}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.interconnect["{#NAME}",status])=4`|Warning||
|HPE Synergy: Interconnect [{#NAME}]: Is disabled|
The interconnect [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.interconnect["{#NAME}",status])=1`|Info||

### LLD rule Logical enclosures discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Logical enclosures discovery|
A list of the logical enclosures.
|Dependent item|hpe.synergy.logical_enclosures.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Logical enclosures discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Logical enclosure [{#NAME}]: Get data|
Data of the logical enclosure [{#NAME}].
|Dependent item|hpe.synergy.logical_enclosure["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Logical enclosure [{#NAME}]: State|
The current resource state of the logical enclosure:

*Consistent* - this is the expected state of the logical enclosure. The logical enclosure configuration is consistent with the enclosure group, and the configuration of the hardware resources is consistent with the logical enclosure configuration;

*Creating* - the logical enclosure is being created;

*DeleteFailed* - the prior attempt to delete the logical enclosure failed. Retry the delete operation potentially with the force option. No other logical enclosure operations are allowed in this state;

*Deleting* - the logical enclosure is being deleted;

*Inconsistent* - the configuration of the logical enclosure differs from that of the enclosure group, or the configuration of the hardware resources is inconsistent with the logical enclosure configuration. Perform an Update from group, Reapply configuration, or Update firmware action as an appropriate to bring the configuration back into consistency;

*Updating* - configuration changes are being applied to the hardware configuration.
|Dependent item|hpe.synergy.logical_enclosure["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `Inconsistent -> 0`

- 
Replace: `Creating -> 1`

- 
Replace: `DeleteFailed -> 2`

- 
Replace: `Deleting -> 3`

- 
Replace: `Consistent -> 4`

- 
Replace: `Updating -> 5`

- 
In range: `0 -> 5`

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

|
|Logical enclosure [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.logical_enclosure["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Logical enclosures discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Logical enclosure [{#NAME}]: Delete failed|
Indicator that the deletion of a logical enclosure failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.logical_enclosure["{#NAME}",state])=2`|Average||
|HPE Synergy: Logical enclosure [{#NAME}]: Is inconsistent|
The configuration of the logical enclosure differs from that of the enclosure group, or the configuration of the hardware resources is inconsistent with the logical enclosure configuration. Perform an Update from group, Reapply configuration, or Update firmware action as an appropriate to bring the configuration back into consistency.
|`last(/HPE Synergy by HTTP/hpe.synergy.logical_enclosure["{#NAME}",state])=0`|Average||
|HPE Synergy: Logical enclosure [{#NAME}]: Has critical status|
The status of the logical enclosure [{#NAME}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.logical_enclosure["{#NAME}",status])=0`|High||
|HPE Synergy: Logical enclosure [{#NAME}]: Has warning status|
The status of the logical enclosure [{#NAME}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.logical_enclosure["{#NAME}",status])=4`|Warning||
|HPE Synergy: Logical enclosure [{#NAME}]: Is disabled|
The logical enclosure [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.logical_enclosure["{#NAME}",status])=1`|Info||

### LLD rule nPar discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|nPar discovery|
Electrically isolated hardware partition (nPar). Partition details are relevant only for enclosures with type "SDX".
|Dependent item|hpe.synergy.npar.discovery
**Preprocessing**

- 
JSON Path: `$.members.[0].partitions`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for nPar discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Get data|
Data of the partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}].
|Dependent item|hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",data]
**Preprocessing**

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

|
|Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Devices count|
The number of blades in the partition.
|Dependent item|hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",device_count]
**Preprocessing**

- 
JSON Path: `$.deviceCount`

- 
Discard unchanged with heartbeat: `10m`

|
|Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Health|
Indicates the health of the partition and the health of its owned resources (blades and IO bays) as reported by the firmware. If a problem is detected with one of the resources, the health of the partition is reported as Degraded. If all the resources in the partition are operating correctly, the health of the partition is reported as OK.

*NparDegrade* - one or more resources in the partition are unhealthy.

*NparHealthInvalid* - a partition health is invalid.

*NparHealthMax* - a delimiter defined by the firmware.

*NparOk* - all the resources in the partition are healthy.
|Dependent item|hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",health]
**Preprocessing**

- 
JSON Path: `$.partitionHealth`

- 
Replace: `NparDegrade -> 0`

- 
Replace: `NparHealthInvalid -> 1`

- 
Replace: `NparHealthMax -> 2`

- 
Replace: `NparOk -> 3`

- 
In range: `0 -> 3`

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

|
|Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Memory|
The total memory of the partition.
|Dependent item|hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",memory]
**Preprocessing**

- 
JSON Path: `$.memoryMb`

- 
Custom multiplier: `1048576`

- 
Discard unchanged with heartbeat: `1h`

|
|Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Processors Count|
The number of processors in the partition.
|Dependent item|hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",processor_count]
**Preprocessing**

- 
JSON Path: `$.processorCount`

- 
Discard unchanged with heartbeat: `10m`

|
|Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Status|
Indicates whether the partition has been booted and also indicates its current power state:

*ParStatusActive* - a partition is active when a 'poweron' operation is initiated on the partition and the firmware boot process is started;

*ParStatusInactive* - a partition is in an inactive state after it has been created or shut down;

*ParStatusInvalid* - a partition status is invalid;

*ParStatusManualRepair* -  a partition under manual repair;

*ParStatusMax* - a delimiter defined by the OA firmware;

*ParStatusUndefined* - partition status is undefined;

*ParStatusUnknown* - a partition might report an Unknown state after an OA restart. This state is possible when the firmware is not able to identify the correct partition state due to the internal firmware errors at an OA startup. The state is persistent and can only be cleared by force powering off of the partition from the OA. A partition in this state will not accept any partition operation except parstatus and force poweroff. Any active OS instances continue to run unhindered even when the partition is in an unknown state.
|Dependent item|hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",status]
**Preprocessing**

- 
JSON Path: `$.partitionStatus`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `ParStatusActive -> 0`

- 
Replace: `ParStatusInactive -> 1`

- 
Replace: `ParStatusInvalid -> 2`

- 
Replace: `ParStatusManualRepair -> 3`

- 
Replace: `ParStatusMax -> 4`

- 
Replace: `ParStatusUndefined -> 5`

- 
Replace: `ParStatusUnknown -> 6`

- 
In range: `0 -> 6`

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

|

### Trigger prototypes for nPar discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Health is invalid|
The partition health is invalid.
|`last(/HPE Synergy by HTTP/hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",health])=1`|Average||
|HPE Synergy: Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Health is degraded|
One or more resources in the partition are unhealthy.
|`last(/HPE Synergy by HTTP/hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",health])=0`|High||
|HPE Synergy: Partition [{#ENCLOSURE_NAME}:{#PARTITION_ID}]: Is invalid|
The partition status is invalid.
|`last(/HPE Synergy by HTTP/hpe.synergy.partition["{#PARTITION_ID}","{#ENCLOSURE_NAME}",status])=2`|Average||

### LLD rule Power supplies discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Power supplies discovery|
List of power supply bays in the enclosure.
|Dependent item|hpe.synergy.ps.discovery
**Preprocessing**

- 
JSON Path: `$.members.[0].powerSupplyBays`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Power supplies discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Get data|
Data of the power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}].
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",data]
**Preprocessing**

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

|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Model|
The common descriptive model of the power supply.
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",model]
**Preprocessing**

- 
JSON Path: `$.model`

- 
Discard unchanged with heartbeat: `1d`

|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Output capacity|
The output capacity of the power supply.
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",output_capacity]
**Preprocessing**

- 
JSON Path: `$.outputCapacityWatts`

- 
Discard unchanged with heartbeat: `1h`

|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Part number|
The part number of the power supply.
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Presence|
Indicates whether a power supply is present:

*Absent* - the device slot is empty;

*PresenceNoOp* - the device slot is uninitialized;

*PresenceUnknown* - the device presence is unknown;

*Present* - the device slot has a device in it;

*Subsumed* - the device slot is configured to be part of another device slot. Not applicable for the fan or power supply bays.
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence]
**Preprocessing**

- 
JSON Path: `$.devicePresence`

- 
Replace: `Absent -> 0`

- 
Replace: `PresenceNoOp -> 1`

- 
Replace: `PresenceUnknown -> 2`

- 
Replace: `Present -> 3`

- 
Replace: `Subsumed -> 4`

- 
In range: `0 -> 4`

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

- 
Discard unchanged with heartbeat: `1h`

|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Serial number|
The unique serial number of the power supply.
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Spare part number|
The spare part number to be used when ordering an additional or replacement power supply of this type.
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",spare_part_number]
**Preprocessing**

- 
JSON Path: `$.sparePartNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Power supplies discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has critical status|
The status of the power supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=0`|High||
|HPE Synergy: Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has warning status|
The status of the power supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=4`|Warning||
|HPE Synergy: Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is disabled|
The status of Power Supply [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.power_supply["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=1`|Info||

### LLD rule Racks discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Racks discovery|
A list of the racks.
|Dependent item|hpe.synergy.racks.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Racks discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Rack [{#NAME}]: Get data|
Data of the rack [{#NAME}].
|Dependent item|hpe.synergy.rack["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Rack [{#NAME}]: State|
The current state of the resource. the valid values include Adding, AddError, Configured, CredentialError, Refreshing, RefreshError, Removing, RemoveError, and Unmanaged.
|Dependent item|hpe.synergy.rack["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `Adding -> 0`

- 
Replace: `AddError -> 1`

- 
Replace: `Configured -> 2`

- 
Replace: `CredentialError -> 3`

- 
Replace: `Refreshing -> 4`

- 
Replace: `RefreshError -> 5`

- 
Replace: `Removing -> 6`

- 
Replace: `RemoveError -> 7`

- 
Replace: `Unmanaged -> 8`

- 
In range: `0 -> 8`

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

|
|Rack [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.rack["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Racks discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Rack [{#NAME}]: Add error|
Adding the rack [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.rack["{#NAME}",state])=1`|Average||
|HPE Synergy: Rack [{#NAME}]: Has credential error|
The rack [{#NAME}] has credential error.
|`last(/HPE Synergy by HTTP/hpe.synergy.rack["{#NAME}",state])=3`|Average||
|HPE Synergy: Rack [{#NAME}]: Has refresh error|
The rack [{#NAME}] has refresh error.
|`last(/HPE Synergy by HTTP/hpe.synergy.rack["{#NAME}",state])=5`|Average||
|HPE Synergy: Rack [{#NAME}]: Has remove error|
The rack [{#NAME}] has remove error.
|`last(/HPE Synergy by HTTP/hpe.synergy.rack["{#NAME}",state])=7`|Average||
|HPE Synergy: Rack [{#NAME}]: Has critical status|
The rack [{#NAME}] status is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.rack["{#NAME}",status])=0`|High||
|HPE Synergy: Rack [{#NAME}]: Has warning status|
The rack [{#NAME}] status is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.rack["{#NAME}",status])=4`|Warning||
|HPE Synergy: Rack [{#NAME}]: Is disabled|
The rack [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.rack["{#NAME}",status])=1`|Info||

### LLD rule Server hardware discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Server hardware discovery|
The server hardware resource is a representation of a physical server.
|Dependent item|hpe.synergy.server_hardware.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Server hardware discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Server [{#SERVER_NAME}:{#LOCATION}]: Get data|
Data of the server [{#SERVER_NAME}:{#LOCATION}].
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#LOCATION}")].first()`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Maintenance state|
The maintenance flag of the Server Hardware - disruptive maintenance operations, such as firmware update, can cause many server hardware alerts to be generated in a short period of time. Example: network connectivity is lost or the server reset is detected. When this field is set, predefined alerts for this particular device are suppressed. This field is set only when firmware update is ongoing. The alerts are processed normally once firmware update operation completes. Possible values are Maintenance and Normal.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",maintenance_state]
**Preprocessing**

- 
JSON Path: `$.maintenanceState`

⛔️Custom on fail: Discard value

- 
Replace: `Maintenance -> 0`

- 
Replace: `Normal -> 1`

- 
In range: `0 -> 1`

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

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Maintenance state reason|
This field is set to Firmware update when the server is put under maintenance.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",maintenance_state_reason]
**Preprocessing**

- 
JSON Path: `$.maintenanceStateReason`

⛔️Custom on fail: Discard value

- 
Discard unchanged with heartbeat: `1h`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Memory|
The amount of memory installed on this server hardware.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",memory]
**Preprocessing**

- 
JSON Path: `$.memoryMb`

- 
Custom multiplier: `1048576`

- 
Discard unchanged with heartbeat: `1h`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Migration state|
The state of an ongoing virtual connect manager (VCM) migration:

*Migrating* - the enclosure is in the process of migrating from VCM;

*NotApplicable* - the enclosure did not require or has already completed the migration;

*Unknown* - the migration state is unknown.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",migration_state]
**Preprocessing**

- 
JSON Path: `$.migrationState`

⛔️Custom on fail: Discard value

- 
Replace: `Migrating -> 0`

- 
Replace: `NotApplicable -> 1`

- 
Replace: `Unknown -> 2`

- 
In range: `0 -> 2`

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

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Model|
The model string of the full server hardware.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",model]
**Preprocessing**

- 
JSON Path: `$.model`

- 
Discard unchanged with heartbeat: `1d`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Part number|
The part number for this server hardware.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Power state|
The current power state of the server hardware. The values are Unknown, On, Off, PoweringOn, PoweringOff or Resetting.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",power_state]
**Preprocessing**

- 
JSON Path: `$.powerState`

- 
Replace: `PoweringOff -> 0`

- 
Replace: `PoweringOn -> 1`

- 
Replace: `Resetting -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Off -> 4`

- 
Replace: `On -> 5`

- 
In range: `0 -> 5`

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

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Processor cores count|
The number of cores available per processor.
|Dependent item|hpe.synergy.server_hardware.processor["{#LOCATION}",cores_count]
**Preprocessing**

- 
JSON Path: `$.processorCoreCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Processors count|
The number of processors installed on this server hardware.
|Dependent item|hpe.synergy.server_hardware.processor["{#LOCATION}",count]
**Preprocessing**

- 
JSON Path: `$.processorCount`

- 
Discard unchanged with heartbeat: `1h`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Processor speed|
The speed of the CPUs.
|Dependent item|hpe.synergy.server_hardware.processor["{#LOCATION}",speed]
**Preprocessing**

- 
JSON Path: `$.processorSpeedMhz`

- 
Discard unchanged with heartbeat: `1h`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Processor type|
The type of the CPU installed on this server hardware.
|Dependent item|hpe.synergy.server_hardware.processor["{#LOCATION}",type]
**Preprocessing**

- 
JSON Path: `$.processorType`

- 
Discard unchanged with heartbeat: `1d`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Serial number|
The serial number of the server hardware.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: State|
The current resource state of the server hardware. The allowable values are:

*Unknown* - not initialized;

*Adding* - a server is being added;

*NoProfileApplied* - a server successfully added;

*Monitored* - a server is being monitored;

*Unmanaged* - a discovered and supported server;

*Removing* - a server is being removed;

*RemoveFailed* - an unsuccessful server removal;

*Removed* - a server is successfully removed;

*ApplyingProfile* - a server is successfully removed;

*ProfileApplied* - a profile is successfully applied;

*RemovingProfile* - a profile is being removed;

*ProfileError* -  an Unsuccessful profile is applied or removed;

*Unsupported* - a server model or version is not currently supported by the appliance;

*UpdatingFirmware* - a server firmware update is in progress.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `Unknown -> 0`

- 
Replace: `Adding -> 1`

- 
Replace: `NoProfileApplied -> 2`

- 
Replace: `Monitored -> 3`

- 
Replace: `Unmanaged -> 4`

- 
Replace: `Removing -> 5`

- 
Replace: `RemoveFailed -> 6`

- 
Replace: `Removed -> 7`

- 
Replace: `ApplyingProfile -> 8`

- 
Replace: `ProfileApplied -> 9`

- 
Replace: `RemovingProfile -> 10`

- 
Replace: `ProfileError -> 11`

- 
Replace: `Unsupported -> 12`

- 
Replace: `UpdatingFirmware -> 13`

- 
In range: `0 -> 13`

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

|
|Server [{#SERVER_NAME}:{#LOCATION}]: State reason|
The reason for the current resource state of the server hardware. This only applies if the state is Unmanaged, otherwise it is set to NotApplicable. The allowable values are:

*Unsupported* - a server model or version is not currently supported by the appliance;

*UpdatingFirmware* - a server firmware update is in progress;

*NotApplicable* - when PhysicalServerState is anything besides Unmanaged;

*NotOwner* -  no claim on the server;

*Inventory* - a server is added by the PDU;

*Unconfigured* - the discovery data is incomplete or an iLO configuration has failed;

*UnsupportedFirmware* - an iLO firmware version is below the minimum support level;

*Interrupted* - when PhysicalServerState is a result of an operation that was terminated before completing;

*CommunicationError* - an appliance cannot communicate with an iLO or an OA.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",state_reason]
**Preprocessing**

- 
JSON Path: `$.stateReason`

- 
Discard unchanged with heartbeat: `1h`

|
|Server [{#SERVER_NAME}:{#LOCATION}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.server_hardware["{#LOCATION}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Server hardware discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Is in maintenance mode|
The disruptive maintenance operations like firmware update can cause many server hardware alerts to be generated in a short period of time. Example: Network connectivity is lost or the server reset is detected.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",maintenance_state])=0 and length(last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",maintenance_state_reason]))>0`|Info||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Has profile error|
The unsuccessful profile application or removal.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",state])=11`|Average||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Is not initialized|
The server is not initialized.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",state])=0`|Warning||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Is unsupported|
The server model or version is not currently supported by the appliance.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",state])=12`|Average||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Remove failed|
The previous operation to remove the server hardware did not succeed. The operation should be re-attempted.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",state])=6`|Average||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Is unmanaged|
Discovered a supported server.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",state])=4 and length(last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",state_reason]))>0`|Average||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Has critical status|
The status of the server [{#SERVER_NAME}:{#LOCATION}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",status])=0`|High||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Has warning status|
The status of the server [{#SERVER_NAME}:{#LOCATION}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",status])=4`|Warning||
|HPE Synergy: Server [{#SERVER_NAME}:{#LOCATION}]: Is disabled|
The server [{#SERVER_NAME}:{#LOCATION}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.server_hardware["{#LOCATION}",status])=1`|Info||

### LLD rule Storage pools discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Storage pools discovery|
A list of the storage pools.
|Dependent item|hpe.synergy.storage_pools.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Storage pools discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Storage pool [{#NAME}]: Get data|
Data of the storage pool [{#NAME}].
|Dependent item|hpe.synergy.storage.pools["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Storage pool [{#NAME}]: Capacity allocated|
The capacity allocated from the storage pool in bytes.
|Dependent item|hpe.synergy.storage.pools.capacity["{#NAME}",allocated]
**Preprocessing**

- 
JSON Path: `$.allocatedCapacity`

|
|Storage pool [{#NAME}]: Capacity free|
The free capacity available from the storage pool in bytes.
|Dependent item|hpe.synergy.storage.pools.capacity["{#NAME}",free]
**Preprocessing**

- 
JSON Path: `$.freeCapacity`

|
|Storage pool [{#NAME}]: Capacity allocated to snapshots|
The pool capacity allocated to the snapshots in bytes.
|Dependent item|hpe.synergy.storage.pools.capacity["{#NAME}",snapshot]
**Preprocessing**

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

|
|Storage pool [{#NAME}]: State|
The current state of the resource:

*AddFailed* - an attempt to add the resource failed;

*Adding* - the resource is in the process of being added;

*Configured* - the resource is configured;

*Connected* - the appliance has connected to the resource;

*Copying* - the resource is in the process of being copied;

*CreateFailed* - an attempt to create the resource failed;

*Creating* - the resource is in the process of being created;

*DeleteFailed* - an attempt to delete the resource failed;

*Deleting* - the resource is in the process of being deleted;

*Discovered* - the resource has been discovered by the appliance, but it is not managed by the appliance;

*Managed* - the resource is managed by the appliance;

*Normal* - the resource is in a normal state;

*UpdateFailed* - an attempt to update the resource failed;

*Updating* - the resource is in the process of being updated.
|Dependent item|hpe.synergy.storage.pools["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `AddFailed -> 0`

- 
Replace: `Adding -> 1`

- 
Replace: `Configured -> 2`

- 
Replace: `Connected -> 3`

- 
Replace: `Copying -> 4`

- 
Replace: `CreateFailed -> 5`

- 
Replace: `Creating -> 6`

- 
Replace: `DeleteFailed -> 7`

- 
Replace: `Deleting -> 8`

- 
Replace: `Discovered -> 9`

- 
Replace: `Managed -> 10`

- 
Replace: `Normal -> 11`

- 
Replace: `UpdateFailed -> 12`

- 
Replace: `Updating -> 13`

- 
In range: `0 -> 13`

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

|
|Storage pool [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.storage.pools["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|
|Storage pool [{#NAME}]: Capacity total|
The total capacity of the storage pool in bytes.
|Dependent item|hpe.synergy.storage.pools.capacity["{#NAME}",total]
**Preprocessing**

- 
JSON Path: `$.totalCapacity`

|

### Trigger prototypes for Storage pools discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Storage pool [{#NAME}]: Add error|
Adding of the storage pool [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.pools["{#NAME}",state])=0`|Average||
|HPE Synergy: Storage pool [{#NAME}]: Create failed|
Creating of the storage pool [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.pools["{#NAME}",state])=5`|Average||
|HPE Synergy: Storage pool [{#NAME}]: Delete failed|
Deletion of the storage pool [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.pools["{#NAME}",state])=7`|Average||
|HPE Synergy: Storage pool [{#NAME}]: Update failed|
Updating of the storage pool [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.pools["{#NAME}",state])=12`|Average||
|HPE Synergy: Storage pool [{#NAME}]: Has critical status|
The status of the storage pool [{#NAME}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.pools["{#NAME}",status])=0`|High||
|HPE Synergy: Storage pool [{#NAME}]: Has warning status|
The status of the storage pool [{#NAME}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.pools["{#NAME}",status])=4`|Warning||
|HPE Synergy: Storage pool [{#NAME}]: Is disabled|
The storage pool [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.pools["{#NAME}",status])=1`|Info||

### LLD rule Storage systems discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Storage systems discovery|
A list of the storage systems.
|Dependent item|hpe.synergy.storage_systems.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Storage systems discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Storage system [{#NAME}]: Get data|
Data of the storage system [{#NAME}].
|Dependent item|hpe.synergy.storage.system["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Storage system [{#NAME}]: Capacity allocated|
The capacity allocated in bytes.
|Dependent item|hpe.synergy.storage.system.capacity["{#NAME}",allocated]
**Preprocessing**

- 
JSON Path: `$.allocatedCapacity`

|
|Storage system [{#NAME}]: Capacity free|
The free capacity of the storage system in bytes.
|Dependent item|hpe.synergy.storage.system.capacity["{#NAME}",free]
**Preprocessing**

- 
JSON Path: `$.freeCapacity`

|
|Storage system [{#NAME}]: State|
The current state of the resource:

*AddFailed* - an attempt to add the resource failed;

*Adding* - the resource is in the process of being added;

*Configured* - the resource is configured;

*Connected* - the appliance has connected to the resource;

*Copying* - the resource is in the process of being copied;

*CreateFailed* - an attempt to create the resource failed;

*Creating* - the resource is in the process of being created;

*DeleteFailed* - an attempt to delete the resource failed;

*Deleting* - the resource is in the process of being deleted;

*Discovered* - the resource has been discovered by the appliance, but it is not managed by the appliance;

*Managed* - the resource is managed by the appliance;

*Normal* - the resource is in a normal state;

*UpdateFailed* - an attempt to update the resource failed;

*Updating* - the resource is in the process of being updated.
|Dependent item|hpe.synergy.storage.system["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `AddFailed -> 0`

- 
Replace: `Adding -> 1`

- 
Replace: `Configured -> 2`

- 
Replace: `Connected -> 3`

- 
Replace: `Copying -> 4`

- 
Replace: `CreateFailed -> 5`

- 
Replace: `Creating -> 6`

- 
Replace: `DeleteFailed -> 7`

- 
Replace: `Deleting -> 8`

- 
Replace: `Discovered -> 9`

- 
Replace: `Managed -> 10`

- 
Replace: `Normal -> 11`

- 
Replace: `UpdateFailed -> 12`

- 
Replace: `Updating -> 13`

- 
In range: `0 -> 13`

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

|
|Storage system [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.storage.system["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|
|Storage system [{#NAME}]: Capacity total|
The total capacity of the storage system in bytes.
|Dependent item|hpe.synergy.storage.system.capacity["{#NAME}",total]
**Preprocessing**

- 
JSON Path: `$.totalCapacity`

|

### Trigger prototypes for Storage systems discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Storage system [{#NAME}]: Add error|
Adding the storage system [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.system["{#NAME}",state])=0`|Average||
|HPE Synergy: Storage system [{#NAME}]: Create failed|
Creating of the storage system [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.system["{#NAME}",state])=5`|Average||
|HPE Synergy: Storage system [{#NAME}]: Delete failed|
Deletion of the storage system [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.system["{#NAME}",state])=7`|Average||
|HPE Synergy: Storage system [{#NAME}]: Update failed|
Updating of the storage system [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.system["{#NAME}",state])=12`|Average||
|HPE Synergy: Storage system [{#NAME}]: Has critical status|
The status of the storage system [{#NAME}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.system["{#NAME}",status])=0`|High||
|HPE Synergy: Storage system [{#NAME}]: Has warning status|
The status of the storage system [{#NAME}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.system["{#NAME}",status])=4`|Warning||
|HPE Synergy: Storage system [{#NAME}]: Is disabled|
The storage system [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.system["{#NAME}",status])=1`|Info||

### LLD rule Storage volumes discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Storage volumes discovery|
A list of the storage volumes.
|Dependent item|hpe.synergy.storage_volumes.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Storage volumes discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Storage volume [{#NAME}]: Get data|
Data of the storage volume [{#NAME}].
|Dependent item|hpe.synergy.storage.volumes["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Storage volume [{#NAME}]: Capacity allocated|
The capacity allocated in bytes.
|Dependent item|hpe.synergy.storage.volumes.capacity["{#NAME}",allocated]
**Preprocessing**

- 
JSON Path: `$.allocatedCapacity`

|
|Storage volume [{#NAME}]: Capacity provisioned|
The total provisioned capacity of the volume in bytes.
|Dependent item|hpe.synergy.storage.volumes.capacity["{#NAME}",provisioned]
**Preprocessing**

- 
JSON Path: `$.provisionedCapacity`

|
|Storage volume [{#NAME}]: State|
The current state of the resource:

*AddFailed* - an attempt to add the resource failed;

*Adding* - the resource is in the process of being added;

*Configured* - the resource is configured;

*Connected* - the appliance has connected to the resource;

*Copying* - the resource is in the process of being copied;

*CreateFailed* - an attempt to create the resource failed;

*Creating* - the resource is in the process of being created;

*DeleteFailed* - an attempt to delete the resource failed;

*Deleting* - the resource is in the process of being deleted;

*Discovered* - the resource has been discovered by the appliance, but it is not managed by the appliance;

*Managed* - the resource is managed by the appliance;

*Normal* - the resource is in a normal state;

*UpdateFailed* - an attempt to update the resource failed;

*Updating* - the resource is in the process of being updated.
|Dependent item|hpe.synergy.storage.volumes["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Replace: `AddFailed -> 0`

- 
Replace: `Adding -> 1`

- 
Replace: `Configured -> 2`

- 
Replace: `Connected -> 3`

- 
Replace: `Copying -> 4`

- 
Replace: `CreateFailed -> 5`

- 
Replace: `Creating -> 6`

- 
Replace: `DeleteFailed -> 7`

- 
Replace: `Deleting -> 8`

- 
Replace: `Discovered -> 9`

- 
Replace: `Managed -> 10`

- 
Replace: `Normal -> 11`

- 
Replace: `UpdateFailed -> 12`

- 
Replace: `Updating -> 13`

- 
In range: `0 -> 13`

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

|
|Storage volume [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.storage.volumes["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Storage volumes discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Storage volume [{#NAME}]: Add error|
Adding the storage volume [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.volumes["{#NAME}",state])=0`|Average||
|HPE Synergy: Storage volume [{#NAME}]: Create failed|
Creating of the storage volume [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.volumes["{#NAME}",state])=5`|Average||
|HPE Synergy: Storage volume [{#NAME}]: Delete failed|
Deletion of the storage volume [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.volumes["{#NAME}",state])=7`|Average||
|HPE Synergy: Storage volume [{#NAME}]: Update failed|
Updating of the storage volume [{#NAME}] failed.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.volumes["{#NAME}",state])=12`|Average||
|HPE Synergy: Storage volume [{#NAME}]: Has critical status|
The status of the storage volume [{#NAME}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.volumes["{#NAME}",status])=0`|High||
|HPE Synergy: Storage volume [{#NAME}]: Has warning status|
The status of the storage volume [{#NAME}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.volumes["{#NAME}",status])=4`|Warning||
|HPE Synergy: Storage volume [{#NAME}]: Is disabled|
The storage volume [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.storage.volumes["{#NAME}",status])=1`|Info||

### LLD rule Managers discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Managers discovery|
A list of the Synergy Frame Link Module bays.
|Dependent item|hpe.synergy.frame_link_modules.discovery
**Preprocessing**

- 
JSON Path: `$.members.[0].managerBays`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Managers discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Get data|
Data of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}].
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",data]
**Preprocessing**

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

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Firmware version|
The firmware version of the manager.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",fw_version]
**Preprocessing**

- 
JSON Path: `$.fwVersion`

- 
Discard unchanged with heartbeat: `1d`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Link port state|
The state of the LINK port:

*Disabled* - the port is disabled;

*Linked* - the port is linked;

*Unlinked* - the port is unlinked.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",link_port_state]
**Preprocessing**

- 
JSON Path: `$.linkPortState`

- 
Replace: `Disabled -> 0`

- 
Replace: `Linked -> 1`

- 
Replace: `Unlinked -> 2`

- 
In range: `0 -> 2`

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

- 
Discard unchanged with heartbeat: `10m`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Link port status|
The status of the LINK port:

*Critical* - requires immediate attention;

*Disabled* - the resource is currently not operational;

*OK* - indicates normal/informational behavior;

*Unknown* - the health status is not yet known or cannot be determined;

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",link_port_status]
**Preprocessing**

- 
JSON Path: `$.linkPortStatus`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: MGMT port state|
The state of the MGMT port:

*Active* - the port is in active mode;

*Disabled* - the port is in disabled mode;

*I3s* - the port is configured for the deployment of an OS network traffic.

*Other* - the port is in other mode;

*Standby* - the port is in standby mode;

*Unknown* - the mode of the port is not known.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",mgmt_port_state]
**Preprocessing**

- 
JSON Path: `$.mgmtPortState`

- 
Replace: `Active -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `I3s -> 2`

- 
Replace: `Other -> 3`

- 
Replace: `Standby -> 4`

- 
Replace: `Unknown -> 5`

- 
In range: `0 -> 5`

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

- 
Discard unchanged with heartbeat: `10m`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: MGMT port status|
The status of the MGMT port:

*Critical* - requires immediate attention;

*Disabled* - the resource is currently not operational;

*OK* - indicates normal/informational behavior;

*Unknown* - the health status is not yet known or cannot be determined;

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",mgmt_port_status]
**Preprocessing**

- 
JSON Path: `$.mgmtPortStatus`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Model|
The model of the link module.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",model]
**Preprocessing**

- 
JSON Path: `$.model`

- 
Discard unchanged with heartbeat: `1d`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Part number|
The part number of the link module.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",part_number]
**Preprocessing**

- 
JSON Path: `$.partNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Presence|
Indicates whether a manager is present in the bay:

*Absent* - the device slot is empty;

*PresenceNoOp* - the device slot is uninitialized;

*PresenceUnknown* - the device presence is unknown;

*Present* - the device slot has a device in it;

*Subsumed* - the device slot is configured to be part of another device slot. Not applicable for the fan or power supply bays.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence]
**Preprocessing**

- 
JSON Path: `$.devicePresence`

- 
Replace: `Absent -> 0`

- 
Replace: `PresenceNoOp -> 1`

- 
Replace: `PresenceUnknown -> 2`

- 
Replace: `Present -> 3`

- 
Replace: `Subsumed -> 4`

- 
In range: `0 -> 4`

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

- 
Discard unchanged with heartbeat: `1h`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Serial number|
The serial number of the link module.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",serial_number]
**Preprocessing**

- 
JSON Path: `$.serialNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Spare part number|
The spare part number of the link module.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",spare_part_number]
**Preprocessing**

- 
JSON Path: `$.sparePartNumber`

- 
Discard unchanged with heartbeat: `1d`

|
|Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Status|
The health status of the link module:

*Critical* - requires immediate attention;

*Disabled* - the resource is currently not operational;

*OK* - indicates normal/informational behavior;

*Unknown* - the health status is not yet known or cannot be determined;

*Warning* - requires attention soon.
|Dependent item|hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Managers discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Link port has critical status|
The link port status of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",link_port_status])=0`|High||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Link port has warning status|
The link port status of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",link_port_status])=4`|Warning||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Link port is disabled|
The link port of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",link_port_status])=1`|Info||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: MGMT port has critical status|
The MGMT port status of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",mgmt_port_status])=0`|High||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: MGMT port has warning status|
The MGMT port status of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",mgmt_port_status])=4`|Warning||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: MGMT port is disabled|
The MGMT port of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",mgmt_port_status])=1`|Info||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is subsumed|
The device slot is configured to be part of another device slot.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",presence])=4`|Average||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has critical status|
The status of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=0`|High||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Has warning status|
The status of the manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=4`|Warning||
|HPE Synergy: Manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}]: Is disabled|
The manager [{#ENCLOSURE_NAME}:{#BAY_NUMBER}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.manager["{#BAY_NUMBER}","{#ENCLOSURE_NAME}",status])=1`|Info||

### LLD rule Uplink sets discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Uplink sets discovery|
A list of the uplink sets.
|Dependent item|hpe.synergy.uplink_sets.discovery
**Preprocessing**

- 
JSON Path: `$.members`

- 
Discard unchanged with heartbeat: `6h`

|

### Item prototypes for Uplink sets discovery

|Name|Description|Type|Key and additional info|
|----|-----------|----|-----------------------|
|Uplink set [{#NAME}]: Get data|
Data of the uplink set [{#NAME}].
|Dependent item|hpe.synergy.uplink_set["{#NAME}",data]
**Preprocessing**

- 
JSON Path: `$.members[?(@.name == "{#NAME}")].first()`

|
|Uplink set [{#NAME}]: State|
The current state of the resource.
|Dependent item|hpe.synergy.uplink_set["{#NAME}",state]
**Preprocessing**

- 
JSON Path: `$.state`

- 
Discard unchanged with heartbeat: `1h`

|
|Uplink set [{#NAME}]: Status|
The overall health status of the resource. The following are the valid values for the status of the resource:

*OK* - indicates normal/informational behavior;

*Disabled* - indicates that the resource is not operational;

*Warning* - requires attention soon;

*Critical* - requires immediate attention;

*Unknown* - should be avoided, but there may be rare occasions when the status is unknown.
|Dependent item|hpe.synergy.uplink_set["{#NAME}",status]
**Preprocessing**

- 
JSON Path: `$.status`

- 
Discard unchanged with heartbeat: `10m`

- 
Replace: `Critical -> 0`

- 
Replace: `Disabled -> 1`

- 
Replace: `OK -> 2`

- 
Replace: `Unknown -> 3`

- 
Replace: `Warning -> 4`

- 
In range: `0 -> 4`

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

|

### Trigger prototypes for Uplink sets discovery

|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----------|--------|--------------------------------|
|HPE Synergy: Uplink set [{#NAME}]: Has critical status|
The status of the uplink set [{#NAME}] is critical. Needs immediate attention.
|`last(/HPE Synergy by HTTP/hpe.synergy.uplink_set["{#NAME}",status])=0`|High||
|HPE Synergy: Uplink set [{#NAME}]: Has warning status|
The status of the uplink set [{#NAME}] is warning. Needs attention soon.
|`last(/HPE Synergy by HTTP/hpe.synergy.uplink_set["{#NAME}",status])=4`|Warning||
|HPE Synergy: Uplink set [{#NAME}]: Is disabled|
The uplink set [{#NAME}] is currently not operational.
|`last(/HPE Synergy by HTTP/hpe.synergy.uplink_set["{#NAME}",status])=1`|Info||

## 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)

