From 769997961268253a9d719a5fd0654b9ee522fecd Mon Sep 17 00:00:00 2001 From: Denis Rasihov Date: Tue, 31 May 2022 17:56:35 +0300 Subject: .........T [ZBXNEXT-7630] fixed FRU discovery, added port to TCP checks --- templates/san/hpe_msa2060_http/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/san/hpe_msa2060_http/README.md') diff --git a/templates/san/hpe_msa2060_http/README.md b/templates/san/hpe_msa2060_http/README.md index a553c46c294..632ee342ac7 100644 --- a/templates/san/hpe_msa2060_http/README.md +++ b/templates/san/hpe_msa2060_http/README.md @@ -72,7 +72,7 @@ There are no template links in this template. |HPE |System name |

The name of the storage system.

|DEPENDENT |hpe.msa.system.name

**Preprocessing**:

- JSONPATH: `$.system[0].['system-name']`

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |HPE |Vendor name |

The vendor name.

|DEPENDENT |hpe.msa.system.vendor_name

**Preprocessing**:

- JSONPATH: `$.system[0].['vendor-name']`

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |HPE |System health |

System health status.

|DEPENDENT |hpe.msa.system.health

**Preprocessing**:

- JSONPATH: `$.system[0].['health-numeric']`

⛔️ON_FAIL: `CUSTOM_VALUE -> 4`

| -|HPE |HPE MSA: Service ping |

Check if HTTP/HTTPS service accepts TCP connections.

|SIMPLE |net.tcp.service["{$HPE.MSA.API.SCHEME}","{HOST.CONN}"]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1h`

| +|HPE |HPE MSA: Service ping |

Check if HTTP/HTTPS service accepts TCP connections.

|SIMPLE |net.tcp.service["{$HPE.MSA.API.SCHEME}","{HOST.CONN}","{$HPE.MSA.API.PORT}"]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1h`

| |HPE |Controller [{#CONTROLLER.ID}]: Firmware version |

Storage controller firmware version.

|DEPENDENT |hpe.msa.controllers["{#CONTROLLER.ID}",firmware]

**Preprocessing**:

- JSONPATH: `$.['controllers'][?(@['durable-id'] == "{#DURABLE.ID}")].['sc-fw'].first()`

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |HPE |Controller [{#CONTROLLER.ID}]: Part number |

Part number of the controller.

|DEPENDENT |hpe.msa.controllers["{#CONTROLLER.ID}",part_number]

**Preprocessing**:

- JSONPATH: `$.['controllers'][?(@['durable-id'] == "{#DURABLE.ID}")].['part-number'].first()`

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |HPE |Controller [{#CONTROLLER.ID}]: Serial number |

Storage controller serial number.

|DEPENDENT |hpe.msa.controllers["{#CONTROLLER.ID}",serial_number]

**Preprocessing**:

- JSONPATH: `$.['controllers'][?(@['durable-id'] == "{#DURABLE.ID}")].['serial-number'].first()`

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| @@ -180,7 +180,7 @@ There are no template links in this template. |System health is in degraded state |

System health is in degraded state.

|`last(/HPE MSA 2060 Storage by HTTP/hpe.msa.system.health)=1` |WARNING | | |System health is in fault state |

System health is in fault state.

|`last(/HPE MSA 2060 Storage by HTTP/hpe.msa.system.health)=2` |AVERAGE | | |System health is in unknown state |

System health is in unknown state.

|`last(/HPE MSA 2060 Storage by HTTP/hpe.msa.system.health)=3` |INFO | | -|Service is down or unavailable |

HTTP/HTTPS service is down or unable to establish TCP connection.

|`max(/HPE MSA 2060 Storage by HTTP/net.tcp.service["{$HPE.MSA.API.SCHEME}","{HOST.CONN}"],5m)=0` |HIGH | | +|Service is down or unavailable |

HTTP/HTTPS service is down or unable to establish TCP connection.

|`max(/HPE MSA 2060 Storage by HTTP/net.tcp.service["{$HPE.MSA.API.SCHEME}","{HOST.CONN}","{$HPE.MSA.API.PORT}"],5m)=0` |HIGH | | |Controller [{#CONTROLLER.ID}]: Controller health is in degraded state |

Controller health is in degraded state.

|`last(/HPE MSA 2060 Storage by HTTP/hpe.msa.controllers["{#CONTROLLER.ID}",health])=1` |WARNING |

**Depends on**:

- Controller [{#CONTROLLER.ID}]: Controller is down

| |Controller [{#CONTROLLER.ID}]: Controller health is in fault state |

Controller health is in fault state.

|`last(/HPE MSA 2060 Storage by HTTP/hpe.msa.controllers["{#CONTROLLER.ID}",health])=2` |AVERAGE |

**Depends on**:

- Controller [{#CONTROLLER.ID}]: Controller is down

| |Controller [{#CONTROLLER.ID}]: Controller health is in unknown state |

Controller health is in unknown state.

|`last(/HPE MSA 2060 Storage by HTTP/hpe.msa.controllers["{#CONTROLLER.ID}",health])=3` |INFO |

**Depends on**:

- Controller [{#CONTROLLER.ID}]: Controller is down

| -- cgit v1.2.3