HPE Primera by HTTP
Macros used
| Name | Value |
|---|---|
| {$HPE.PRIMERA.API.PASSWORD} | - |
| {$HPE.PRIMERA.API.PORT} | 443 |
| {$HPE.PRIMERA.API.SCHEME} | https |
| {$HPE.PRIMERA.API.USERNAME} | zabbix |
| {$HPE.PRIMERA.CPG.NAME.MATCHES} | .* |
| {$HPE.PRIMERA.CPG.NAME.NOT_MATCHES} | CHANGE_IF_NEEDED |
| {$HPE.PRIMERA.DATA.TIMEOUT} | 15s |
| {$HPE.PRIMERA.LLD.FILTER.TASK.NAME.MATCHES} | CHANGE_IF_NEEDED |
| {$HPE.PRIMERA.LLD.FILTER.TASK.NAME.NOT_MATCHES} | .* |
| {$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.MATCHES} | .* |
| {$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.NOT_MATCHES} | CHANGE_IF_NEEDED |
| {$HPE.PRIMERA.VOLUME.NAME.MATCHES} | .* |
| {$HPE.PRIMERA.VOLUME.NAME.NOT_MATCHES} | ^(admin|.srdata|.mgmtdata)$ |
Items collected
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| HPE Primera: Get errors | A list of errors from WSAPI requests. | DEPENDENT | - | hpe.primera.data.errors |
| HPE Primera: Get data | The JSON with result of WSAPI requests. | SCRIPT | - | hpe.primera.data.get |
| HPE Primera: Disks total | Number of physical disks. | DEPENDENT | - | hpe.primera.disks.total |
| HPE Primera: Capacity allocated | Allocated capacity in the system. | DEPENDENT | - | hpe.primera.system.capacity.allocated |
| HPE Primera: Capacity failed | Failed capacity in the system. | DEPENDENT | - | hpe.primera.system.capacity.failed |
| HPE Primera: Capacity free | Free capacity in the system. | DEPENDENT | - | hpe.primera.system.capacity.free |
| HPE Primera: Capacity total | Total capacity in the system. | DEPENDENT | - | hpe.primera.system.capacity.total |
| HPE Primera: Chunklet size | Chunklet size. | DEPENDENT | - | hpe.primera.system.chunklet.size |
| HPE Primera: System contact | Contact of the system. | DEPENDENT | - | hpe.primera.system.contact |
| HPE Primera: System location | Location of the system. | DEPENDENT | - | hpe.primera.system.location |
| HPE Primera: Model | System model. | DEPENDENT | - | hpe.primera.system.model |
| HPE Primera: System name | System name. | DEPENDENT | - | hpe.primera.system.name |
| HPE Primera: Nodes online | Number of online nodes in the system. | DEPENDENT | - | hpe.primera.system.nodes.online |
| HPE Primera: Nodes total | Total number of nodes in the system. | DEPENDENT | - | hpe.primera.system.nodes.total |
| HPE Primera: Serial number | System serial number. | DEPENDENT | - | hpe.primera.system.serial_number |
| HPE Primera: Software version number | Storage system software version number. | DEPENDENT | - | hpe.primera.system.sw_version |
| HPE Primera: Service ping | Checks if the service is running and accepting TCP connections. | SIMPLE | - | net.tcp.service["{$HPE.PRIMERA.API.SCHEME}","{HOST.CONN}","{$HPE.PRIMERA.API.PORT}"] |
Triggers
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| HPE Primera: There are errors in requests to WSAPI | Zabbix has received errors in requests to WSAPI. | length(last(/HPE Primera by HTTP/hpe.primera.data.errors))>0 | AVERAGE ⚠ | HPE Primera: Get errors |
| HPE Primera: Service is unavailable | - | max(/HPE Primera by HTTP/net.tcp.service["{$HPE.PRIMERA.API.SCHEME}","{HOST.CONN}","{$HPE.PRIMERA.API.PORT}"],5m)=0 | HIGH ⛔ | HPE Primera: Service ping |
Discovery rule №1
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Common provisioning groups discovery | List of CPGs resources. | DEPENDENT | 0 | hpe.primera.cpg.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| CPG [{#NAME}]: Number of FPVVs | Number of FPVVs (Fully Provisioned Virtual Volumes) allocated in the CPG. | DEPENDENT | - | hpe.primera.cpg.fpvv["{#ID}",count] |
| CPG [{#NAME}]: Raw space: Free | Raw free space. | DEPENDENT | - | hpe.primera.cpg.space.raw["{#ID}",free] |
| CPG [{#NAME}]: Raw space: Shared | Raw shared space. | DEPENDENT | - | hpe.primera.cpg.space.raw["{#ID}",shared] |
| CPG [{#NAME}]: Raw space: Total | Raw total space. | DEPENDENT | - | hpe.primera.cpg.space.raw["{#ID}",total] |
| CPG [{#NAME}]: Logical disk space: Snapshot administration: Total (raw) | Total physical (raw) logical disk space in snapshot administration. | DEPENDENT | - | hpe.primera.cpg.space.sa["{#ID}",raw_total] |
| CPG [{#NAME}]: Logical disk space: Snapshot administration: Used (raw) | Amount of physical (raw) logical disk used in snapshot administration. | DEPENDENT | - | hpe.primera.cpg.space.sa["{#ID}",raw_used] |
| CPG [{#NAME}]: Logical disk space: Snapshot administration: Total | Total logical disk space in snapshot administration. | DEPENDENT | - | hpe.primera.cpg.space.sa["{#ID}",total] |
| CPG [{#NAME}]: Logical disk space: Snapshot administration: Used | Amount of logical disk used in snapshot administration. | DEPENDENT | - | hpe.primera.cpg.space.sa["{#ID}",used] |
| CPG [{#NAME}]: Logical disk space: Snapshot data: Total (raw) | Total physical (raw) logical disk space in snapshot data space. | DEPENDENT | - | hpe.primera.cpg.space.sd["{#ID}",raw_total] |
| CPG [{#NAME}]: Logical disk space: Snapshot data: Used (raw) | Amount of physical (raw) logical disk used in snapshot data space. | DEPENDENT | - | hpe.primera.cpg.space.sd["{#ID}",raw_used] |
| CPG [{#NAME}]: Logical disk space: Snapshot data: Total | Total logical disk space in snapshot data space. | DEPENDENT | - | hpe.primera.cpg.space.sd["{#ID}",total] |
| CPG [{#NAME}]: Logical disk space: Snapshot data: Used | Amount of logical disk used in snapshot data space. | DEPENDENT | - | hpe.primera.cpg.space.sd["{#ID}",used] |
| CPG [{#NAME}]: Logical disk space: User space: Total (raw) | Total physical (raw) logical disk space in user data space. | DEPENDENT | - | hpe.primera.cpg.space.usr["{#ID}",raw_total] |
| CPG [{#NAME}]: Logical disk space: User space: Used (raw) | Amount of physical (raw) logical disk used in user data space. | DEPENDENT | - | hpe.primera.cpg.space.usr["{#ID}",raw_used] |
| CPG [{#NAME}]: Logical disk space: User space: Total | Total logical disk space in user data space. | DEPENDENT | - | hpe.primera.cpg.space.usr["{#ID}",total] |
| CPG [{#NAME}]: Logical disk space: User space: Used | Amount of logical disk used in user data space. | DEPENDENT | - | hpe.primera.cpg.space.usr["{#ID}",used] |
| CPG [{#NAME}]: CPG space: Free | Free CPG space. | DEPENDENT | - | hpe.primera.cpg.space["{#ID}",free] |
| CPG [{#NAME}]: CPG space: Shared | Shared CPG space. | DEPENDENT | - | hpe.primera.cpg.space["{#ID}",shared] |
| CPG [{#NAME}]: CPG space: Total | Total CPG space. | DEPENDENT | - | hpe.primera.cpg.space["{#ID}",total] |
| CPG [{#NAME}]: Degraded state | Detailed state of the CPG: LDS_NOT_STARTED (1) - LDs not started. NOT_STARTED (2) - VV not started. NEEDS_CHECK (3) - check for consistency. NEEDS_MAINT_CHECK (4) - maintenance check is required. INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error. SNAPDATA_INVALID (6) - invalid snapshot data. PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data. STALE (8) - parts of the VV contain old data because of a copy-on-write operation. COPY_FAILED (9) - a promote or copy operation to this volume failed. DEGRADED_AVAIL (10) - degraded due to availability. DEGRADED_PERF (11) - degraded due to performance. PROMOTING (12) - volume is the current target of a promote operation. COPY_TARGET (13) - volume is the current target of a physical copy operation. RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation. TUNING (15) - volume tuning is in progress. CLOSING (16) - volume is closing. REMOVING (17) - removing the volume. REMOVING_RETRY (18) - retrying a volume removal operation. CREATING (19) - creating a volume. COPY_SOURCE (20) - copy source. IMPORTING (21) - importing a volume. CONVERTING (22) - converting a volume. INVALID (23) - invalid. EXCLUSIVE (24) - local storage system has exclusive access to the volume. CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set. STANDBY (26) - volume in standby mode. SD_META_INCONSISTENT (27) - SD Meta Inconsistent. SD_NEEDS_FIX (28) - SD needs fix. SD_META_FIXING (29) - SD meta fix. UNKNOWN (999) - unknown state. NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI. | DEPENDENT | - | hpe.primera.cpg.state["{#ID}",degraded] |
| CPG [{#NAME}]: Failed state | Detailed state of the CPG: LDS_NOT_STARTED (1) - LDs not started. NOT_STARTED (2) - VV not started. NEEDS_CHECK (3) - check for consistency. NEEDS_MAINT_CHECK (4) - maintenance check is required. INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error. SNAPDATA_INVALID (6) - invalid snapshot data. PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data. STALE (8) - parts of the VV contain old data because of a copy-on-write operation. COPY_FAILED (9) - a promote or copy operation to this volume failed. DEGRADED_AVAIL (10) - degraded due to availability. DEGRADED_PERF (11) - degraded due to performance. PROMOTING (12) - volume is the current target of a promote operation. COPY_TARGET (13) - volume is the current target of a physical copy operation. RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation. TUNING (15) - volume tuning is in progress. CLOSING (16) - volume is closing. REMOVING (17) - removing the volume. REMOVING_RETRY (18) - retrying a volume removal operation. CREATING (19) - creating a volume. COPY_SOURCE (20) - copy source. IMPORTING (21) - importing a volume. CONVERTING (22) - converting a volume. INVALID (23) - invalid. EXCLUSIVE (24) - local storage system has exclusive access to the volume. CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set. STANDBY (26) - volume in standby mode. SD_META_INCONSISTENT (27) - SD Meta Inconsistent. SD_NEEDS_FIX (28) - SD needs fix. SD_META_FIXING (29) - SD meta fix. UNKNOWN (999) - unknown state. NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI. | DEPENDENT | - | hpe.primera.cpg.state["{#ID}",failed] |
| CPG [{#NAME}]: State | Overall state of the CPG: NORMAL (1) - normal operation; DEGRADED (2) - degraded state; FAILED (3) - abnormal operation; UNKNOWN (99) - unknown state. | DEPENDENT | - | hpe.primera.cpg.state["{#ID}"] |
| CPG [{#NAME}]: Number of TDVVs | Number of TDVVs (Thinly Deduplicated Virtual Volume) created in the CPG. | DEPENDENT | - | hpe.primera.cpg.tdvv["{#ID}",count] |
| CPG [{#NAME}]: Number of TPVVs | Number of TPVVs (Thinly Provisioned Virtual Volumes) allocated in the CPG. | DEPENDENT | - | hpe.primera.cpg.tpvv["{#ID}",count] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| CPG [{#NAME}]: Degraded | CPG [{#NAME}] is in degraded state. | last(/HPE Primera by HTTP/hpe.primera.cpg.state["{#ID}"])=2 | AVERAGE ⚠ | CPG [{#NAME}]: State |
| CPG [{#NAME}]: Failed | CPG [{#NAME}] is in failed state. | last(/HPE Primera by HTTP/hpe.primera.cpg.state["{#ID}"])=3 | HIGH ⛔ | CPG [{#NAME}]: State |
Discovery rule №2
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Disks discovery | List of physical disk resources. | DEPENDENT | 0 | hpe.primera.disks.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Disk [{#POSITION}]: Free size | Physical disk free size. | DEPENDENT | - | hpe.primera.disk["{#ID}",free_size] |
| Disk [{#POSITION}]: Firmware version | Physical disk firmware version. | DEPENDENT | - | hpe.primera.disk["{#ID}",fw_version] |
| Disk [{#POSITION}]: Path A0 degraded | Indicates if this is a degraded path for the disk. | DEPENDENT | - | hpe.primera.disk["{#ID}",loop_a0_degraded] |
| Disk [{#POSITION}]: Path A1 degraded | Indicates if this is a degraded path for the disk. | DEPENDENT | - | hpe.primera.disk["{#ID}",loop_a1_degraded] |
| Disk [{#POSITION}]: Path B0 degraded | Indicates if this is a degraded path for the disk. | DEPENDENT | - | hpe.primera.disk["{#ID}",loop_b0_degraded] |
| Disk [{#POSITION}]: Path B1 degraded | Indicates if this is a degraded path for the disk. | DEPENDENT | - | hpe.primera.disk["{#ID}",loop_b1_degraded] |
| Disk [{#POSITION}]: Manufacturer | Physical disk manufacturer. | DEPENDENT | - | hpe.primera.disk["{#ID}",manufacturer] |
| Disk [{#POSITION}]: Model | Manufacturer's device ID for disk. | DEPENDENT | - | hpe.primera.disk["{#ID}",model] |
| Disk [{#POSITION}]: RPM | RPM of the physical disk. | DEPENDENT | - | hpe.primera.disk["{#ID}",rpm] |
| Disk [{#POSITION}]: Serial number | Disk drive serial number. | DEPENDENT | - | hpe.primera.disk["{#ID}",serial_number] |
| Disk [{#POSITION}]: State | State of the physical disk: Normal (1) - physical disk is in Normal state; Degraded (2) - physical disk is not operating normally; New (3) - physical disk is new, needs to be admitted; Failed (4) - physical disk has failed; Unknown (99) - physical disk state is unknown. | DEPENDENT | - | hpe.primera.disk["{#ID}",state] |
| Disk [{#POSITION}]: Total size | Physical disk total size. | DEPENDENT | - | hpe.primera.disk["{#ID}",total_size] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Disk [{#POSITION}]: Path A0 degraded | Disk [{#POSITION}] path A0 in degraded state. | last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_a0_degraded])=1 | AVERAGE ⚠ | Disk [{#POSITION}]: Path A0 degraded |
| Disk [{#POSITION}]: Path A1 degraded | Disk [{#POSITION}] path A1 in degraded state. | last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_a1_degraded])=1 | AVERAGE ⚠ | Disk [{#POSITION}]: Path A1 degraded |
| Disk [{#POSITION}]: Path B0 degraded | Disk [{#POSITION}] path B0 in degraded state. | last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_b0_degraded])=1 | AVERAGE ⚠ | Disk [{#POSITION}]: Path B0 degraded |
| Disk [{#POSITION}]: Path B1 degraded | Disk [{#POSITION}] path B1 in degraded state. | last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_b1_degraded])=1 | AVERAGE ⚠ | Disk [{#POSITION}]: Path B1 degraded |
| Disk [{#POSITION}]: Degraded | Disk [{#POSITION}] in degraded state. | last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",state])=2 | AVERAGE ⚠ | Disk [{#POSITION}]: State |
| Disk [{#POSITION}]: Failed | Disk [{#POSITION}] in failed state. | last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",state])=3 | HIGH ⛔ | Disk [{#POSITION}]: State |
| Disk [{#POSITION}]: Unknown issue | Disk [{#POSITION}] in unknown state. | last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",state])=99 | INFO 🔔 | Disk [{#POSITION}]: State |
Discovery rule №3
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Hosts discovery | List of host properties. | DEPENDENT | 0 | hpe.primera.hosts.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Host [{#NAME}]: Comment | Additional information for the host. | DEPENDENT | - | hpe.primera.host["{#ID}",comment] |
| Host [{#NAME}]: Contact | The host's owner and contact. | DEPENDENT | - | hpe.primera.host["{#ID}",contact] |
| Host [{#NAME}]: IP address | The host's IP address. | DEPENDENT | - | hpe.primera.host["{#ID}",ipaddress] |
| Host [{#NAME}]: Location | The host's location. | DEPENDENT | - | hpe.primera.host["{#ID}",location] |
| Host [{#NAME}]: Model | The host's model. | DEPENDENT | - | hpe.primera.host["{#ID}",model] |
| Host [{#NAME}]: OS | The operating system running on the host. | DEPENDENT | - | hpe.primera.host["{#ID}",os] |
Discovery rule №4
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Ports discovery | List of ports. | DEPENDENT | 0 | hpe.primera.ports.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Failover state | The state of the failover operation, shown for the two ports indicated in the N:S:P and Partner columns. The value can be one of the following: none (1) - no failover in operation; failover_pending (2) - in the process of failing over to partner; failed_over (3) - failed over to partner; active (4) - the partner port is failed over to this port; active_down (5) - the partner port is failed over to this port, but this port is down; active_failed (6) - the partner port is failed over to this port, but this port is down; failback_pending (7) - in the process of failing back from partner. | DEPENDENT | - | hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",failover_state] |
| Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Hardware type | Hardware type: FC (1) - Fibre channel HBA; ETH (2) - Ethernet NIC; iSCSI (3) - iSCSI HBA; CNA (4) - Converged network adapter; SAS (5) - SAS HBA; COMBO (6) - Combo card; NVME (7) - NVMe drive; UNKNOWN (99) - unknown hardware type. | DEPENDENT | - | hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",hw_type] |
| Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state | Port link state: CONFIG_WAIT (1) - configuration wait; ALPA_WAIT (2) - ALPA wait; LOGIN_WAIT (3) - login wait; READY (4) - link is ready; LOSS_SYNC (5) - link is loss sync; ERROR_STATE (6) - in error state; XXX (7) - xxx; NONPARTICIPATE (8) - link did not participate; COREDUMP (9) - taking coredump; OFFLINE (10) - link is offline; FWDEAD (11) - firmware is dead; IDLE_FOR_RESET (12) - link is idle for reset; DHCP_IN_PROGRESS (13) - DHCP is in progress; PENDING_RESET (14) - link reset is pending; NEW (15) - link in new. This value is applicable for only virtual ports; DISABLED (16) - link in disabled. This value is applicable for only virtual ports; DOWN (17) - link in down. This value is applicable for only virtual ports; FAILED (18) - link in failed. This value is applicable for only virtual ports; PURGING (19) - link in purging. This value is applicable for only virtual ports. | DEPENDENT | - | hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state] |
| Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Type | Port connection type: HOST (1) - FC port connected to hosts or fabric; DISK (2) - FC port connected to disks; FREE (3) - port is not connected to hosts or disks; IPORT (4) - port is in iport mode; RCFC (5) - FC port used for remote copy; PEER (6) - FC port used for data migration; RCIP (7) - IP (Ethernet) port used for remote copy; ISCSI (8) - iSCSI (Ethernet) port connected to hosts; CNA (9) - CNA port, which can be FCoE or iSCSI; FS (10) - Ethernet File Persona ports. | DEPENDENT | - | hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",type] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Failover state is {ITEM.VALUE1} | Port [{#NODE}:{#SLOT}:{#CARD.PORT}] has failover error. | last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",failover_state])<>1 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",failover_state])<>4 | AVERAGE ⚠ | Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Failover state |
| Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state is {ITEM.VALUE1} | Port [{#NODE}:{#SLOT}:{#CARD.PORT}] not in ready state. | last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>4 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>1 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>3 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>13 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>15 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>16 | HIGH ⛔ | Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state |
| Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state is {ITEM.VALUE1} | Port [{#NODE}:{#SLOT}:{#CARD.PORT}] not in ready state. | last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=1 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=3 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=13 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=15 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=16 | AVERAGE ⚠ | Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state |
Discovery rule №5
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Tasks discovery | List of tasks started within last 24 hours. | DEPENDENT | 0 | hpe.primera.tasks.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Task [{#NAME}]: Finish time | Task finish time. | DEPENDENT | - | hpe.primera.task["{#ID}",finish_time] |
| Task [{#NAME}]: Start time | Task start time. | DEPENDENT | - | hpe.primera.task["{#ID}",start_time] |
| Task [{#NAME}]: Status | Task status: DONE (1) - task is finished; ACTIVE (2) - task is in progress; CANCELLED (3) - task is canceled; FAILED (4) - task failed. | DEPENDENT | - | hpe.primera.task["{#ID}",status] |
| Task [{#NAME}]: Type | Task type: VV_COPY (1) - track the physical copy operations; PHYS_COPY_RESYNC (2) - track physical copy resynchronization operations; MOVE_REGIONS (3) - track region move operations; PROMOTE_SV (4) - track virtual-copy promotions; REMOTE_COPY_SYNC (5) - track remote copy group synchronizations; REMOTE_COPY_REVERSE (6) - track the reversal of a remote copy group; REMOTE_COPY_FAILOVER (7) - track the change-over of a secondary volume group to a primaryvolume group;REMOTE_COPY_RECOVER (8) - track synchronization start after a failover operation from originalsecondary cluster to original primary cluster; REMOTE_COPY_RESTORE (9) - tracks the restoration process for groups that have already beenrecovered; COMPACT_CPG (10) - track space consolidation in CPGs; COMPACT_IDS (11) - track space consolidation in logical disks; SNAPSHOT_ACCOUNTING (12) - track progress of snapshot space usage accounting; CHECK_VV (13) - track the progress of the check-volume operation; SCHEDULED_TASK (14) - track tasks that have been executed by the system scheduler; SYSTEM_TASK (15) - track tasks that are periodically run by the storage system; BACKGROUND_TASK (16) - track commands started using the starttask command; IMPORT_VV (17) - track tasks that migrate data to the local storage system; ONLINE_COPY (18) - track physical copy of the volume while online (createvvcopy-online command); CONVERT_VV (19) - track tasks that convert a volume from an FPVV to a TPVV, and the reverse; BACKGROUND_COMMAND (20) - track background command tasks; CLX_SYNC (21) - track CLX synchronization tasks; CLX_RECOVERY (22) - track CLX recovery tasks; TUNE_SD (23) - tune copy space; TUNE_VV (24) - tune virtual volume; TUNE_VV_ROLLBACK (25) - tune virtual volume rollback; TUNE_VV_RESTART (26) - tune virtual volume restart; SYSTEM_TUNING (27) - system tuning; NODE_RESCUE (28) - node rescue; REPAIR_SYNC (29) - remote copy repair sync; REMOTE_COPY_SWOVER (30) - remote copy switchover; DEFRAGMENTATION (31) - defragmentation; ENCRYPTION_CHANGE (32) - encryption change; REMOTE_COPY_FAILSAFE (33) - remote copy failsafe; TUNE_TPVV (34) - tune thin virtual volume; REMOTE_COPY_CHG_MODE (35) - remote copy change mode; ONLINE_PROMOTE (37) - online promote snap; RELOCATE_PD (38) - relocate PD; PERIODIC_CSS (39) - remote copy periodic CSS; TUNEVV_LARGE (40) - tune large virtual volume; SD_META_FIXER (41) - compression SD meta fixer; DEDUP_DRYRUN (42) - preview dedup ratio; COMPR_DRYRUN (43) - compression estimation; DEDUP_COMPR_DRYRUN (44) - compression and dedup estimation; UNKNOWN (99) - unknown task type. | DEPENDENT | - | hpe.primera.task["{#ID}",type] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Task [{#NAME}]: Cancelled | Task [{#NAME}] is cancelled. | last(/HPE Primera by HTTP/hpe.primera.task["{#ID}",status])=3 | INFO 🔔 | Task [{#NAME}]: Status |
| Task [{#NAME}]: Failed | Task [{#NAME}] is failed. | last(/HPE Primera by HTTP/hpe.primera.task["{#ID}",status])=4 | AVERAGE ⚠ | Task [{#NAME}]: Status |
Discovery rule №6
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Volumes discovery | List of storage volume resources. | DEPENDENT | 0 | hpe.primera.volumes.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Volume [{#NAME}]: Compaction ratio | The compaction ratio indicates the overall amount of storage space saved with thin technology. | DEPENDENT | - | hpe.primera.volume.capacity.efficiency["{#ID}",compaction] |
| Volume [{#NAME}]: Storage space saved using compression | Indicates the amount of storage space saved using compression. | DEPENDENT | - | hpe.primera.volume.capacity.efficiency["{#ID}",compression] |
| Volume [{#NAME}]: Storage space saved using deduplication | Indicates the amount of storage space saved using deduplication. | DEPENDENT | - | hpe.primera.volume.capacity.efficiency["{#ID}",deduplication] |
| Volume [{#NAME}]: Overprovisioning ratio | Overprovisioning capacity efficiency ratio. | DEPENDENT | - | hpe.primera.volume.capacity.efficiency["{#ID}",overprovisioning] |
| Volume [{#NAME}]: Storage space saved using deduplication and compression | Indicates the amount of storage space saved using deduplication and compression together. | DEPENDENT | - | hpe.primera.volume.capacity.efficiency["{#ID}",reduction] |
| Volume [{#NAME}]: Administrative space: Free | Free administrative space. | DEPENDENT | - | hpe.primera.volume.space.admin["{#ID}",free] |
| Volume [{#NAME}]: Administrative space: Raw reserved | Raw reserved administrative space. | DEPENDENT | - | hpe.primera.volume.space.admin["{#ID}",raw_reserved] |
| Volume [{#NAME}]: Administrative space: Reserved | Reserved administrative space. | DEPENDENT | - | hpe.primera.volume.space.admin["{#ID}",reserved] |
| Volume [{#NAME}]: Administrative space: Used | Used administrative space. | DEPENDENT | - | hpe.primera.volume.space.admin["{#ID}",used] |
| Volume [{#NAME}]: Snapshot space: Free | Free snapshot space. | DEPENDENT | - | hpe.primera.volume.space.snapshot["{#ID}",free] |
| Volume [{#NAME}]: Snapshot space: Raw reserved | Raw reserved snapshot space. | DEPENDENT | - | hpe.primera.volume.space.snapshot["{#ID}",raw_reserved] |
| Volume [{#NAME}]: Snapshot space: Reserved | Reserved snapshot space. | DEPENDENT | - | hpe.primera.volume.space.snapshot["{#ID}",reserved] |
| Volume [{#NAME}]: Snapshot space: Used | Used snapshot space. | DEPENDENT | - | hpe.primera.volume.space.snapshot["{#ID}",used] |
| Volume [{#NAME}]: Total reserved space | Total reserved space. | DEPENDENT | - | hpe.primera.volume.space.total["{#ID}",reserved] |
| Volume [{#NAME}]: Total space | Virtual size of volume. | DEPENDENT | - | hpe.primera.volume.space.total["{#ID}",size] |
| Volume [{#NAME}]: Total used space | Total used space. Sum of used user space and used snapshot space. | DEPENDENT | - | hpe.primera.volume.space.total["{#ID}",used] |
| Volume [{#NAME}]: User space: Free | Free user space. | DEPENDENT | - | hpe.primera.volume.space.user["{#ID}",free] |
| Volume [{#NAME}]: User space: Raw reserved | Raw reserved user space. | DEPENDENT | - | hpe.primera.volume.space.user["{#ID}",raw_reserved] |
| Volume [{#NAME}]: User space: Reserved | Reserved user space. | DEPENDENT | - | hpe.primera.volume.space.user["{#ID}",reserved] |
| Volume [{#NAME}]: User space: Used | Used user space. | DEPENDENT | - | hpe.primera.volume.space.user["{#ID}",used] |
| Volume [{#NAME}]: Compression state | Volume compression state: YES (1) - compression is enabled on the volume; NO (2) - compression is disabled on the volume; OFF (3) - compression is turned off; NA (4) - compression is not available on the volume. | DEPENDENT | - | hpe.primera.volume.state["{#ID}",compression] |
| Volume [{#NAME}]: Deduplication state | Volume deduplication state: YES (1) - enables deduplication on the volume; NO (2) - disables deduplication on the volume; NA (3) - deduplication is not available; OFF (4) - deduplication is turned off. | DEPENDENT | - | hpe.primera.volume.state["{#ID}",deduplication] |
| Volume [{#NAME}]: Degraded state | Volume detailed state: LDS_NOT_STARTED (1) - LDs not started. NOT_STARTED (2) - VV not started. NEEDS_CHECK (3) - check for consistency. NEEDS_MAINT_CHECK (4) - maintenance check is required. INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error. SNAPDATA_INVALID (6) - invalid snapshot data. PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data. STALE (8) - parts of the VV contain old data because of a copy-on-write operation. COPY_FAILED (9) - a promote or copy operation to this volume failed. DEGRADED_AVAIL (10) - degraded due to availability. DEGRADED_PERF (11) - degraded due to performance. PROMOTING (12) - volume is the current target of a promote operation. COPY_TARGET (13) - volume is the current target of a physical copy operation. RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation. TUNING (15) - volume tuning is in progress. CLOSING (16) - volume is closing. REMOVING (17) - removing the volume. REMOVING_RETRY (18) - retrying a volume removal operation. CREATING (19) - creating a volume. COPY_SOURCE (20) - copy source. IMPORTING (21) - importing a volume. CONVERTING (22) - converting a volume. INVALID (23) - invalid. EXCLUSIVE (24) -lLocal storage system has exclusive access to the volume. CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set. STANDBY (26) - volume in standby mode. SD_META_INCONSISTENT (27) - SD Meta Inconsistent. SD_NEEDS_FIX (28) - SD needs fix. SD_META_FIXING (29) - SD meta fix. UNKNOWN (999) - unknown state. NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI. | DEPENDENT | - | hpe.primera.volume.state["{#ID}",degraded] |
| Volume [{#NAME}]: Failed state | Volume detailed state: LDS_NOT_STARTED (1) - LDs not started. NOT_STARTED (2) - VV not started. NEEDS_CHECK (3) - check for consistency. NEEDS_MAINT_CHECK (4) - maintenance check is required. INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error. SNAPDATA_INVALID (6) - invalid snapshot data. PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data. STALE (8) - parts of the VV contain old data because of a copy-on-write operation. COPY_FAILED (9) - a promote or copy operation to this volume failed. DEGRADED_AVAIL (10) - degraded due to availability. DEGRADED_PERF (11) - degraded due to performance. PROMOTING (12) - volume is the current target of a promote operation. COPY_TARGET (13) - volume is the current target of a physical copy operation. RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation. TUNING (15) - volume tuning is in progress. CLOSING (16) - volume is closing. REMOVING (17) - removing the volume. REMOVING_RETRY (18) - retrying a volume removal operation. CREATING (19) - creating a volume. COPY_SOURCE (20) - copy source. IMPORTING (21) - importing a volume. CONVERTING (22) - converting a volume. INVALID (23) - invalid. EXCLUSIVE (24) - local storage system has exclusive access to the volume. CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set. STANDBY (26) - volume in standby mode. SD_META_INCONSISTENT (27) - SD Meta Inconsistent. SD_NEEDS_FIX (28) - SD needs fix. SD_META_FIXING (29) - SD meta fix. UNKNOWN (999) - unknown state. NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI. | DEPENDENT | - | hpe.primera.volume.state["{#ID}",failed] |
| Volume [{#NAME}]: State | State of the volume: NORMAL (1) - normal operation; DEGRADED (2) - degraded state; FAILED (3) - abnormal operation; UNKNOWN (99) - unknown state. | DEPENDENT | - | hpe.primera.volume.state["{#ID}"] |
| Volume [{#NAME}]: Remote copy status | Remote copy status of the volume: NONE (1) - volume is not associated with remote copy; PRIMARY (2) - volume is the primary copy; SECONDARY (3) - volume is the secondary copy; SNAP (4) - volume is the remote copy snapshot; SYNC (5) - volume is a remote copy snapshot being used for synchronization; DELETE (6) - volume is a remote copy snapshot that is marked for deletion; UNKNOWN (99) - remote copy status is unknown for this volume. | DEPENDENT | - | hpe.primera.volume.status["{#ID}",rcopy] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Volume [{#NAME}]: Degraded | Volume [{#NAME}] is in degraded state. | last(/HPE Primera by HTTP/hpe.primera.volume.state["{#ID}"])=2 | AVERAGE ⚠ | Volume [{#NAME}]: State |
| Volume [{#NAME}]: Failed | Volume [{#NAME}] is in failed state. | last(/HPE Primera by HTTP/hpe.primera.volume.state["{#ID}"])=3 | HIGH ⛔ | Volume [{#NAME}]: State |