# Aranet Cloud ## Overview ## Requirements Zabbix version: 7.0 and higher. ## Tested versions This template has been tested on: - Aranet Cloud ## 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 Refer to the vendor documentation. ### Macros used |Name|Description|Default| |----|-----------|-------| |{$ARANET.API.ENDPOINT}|

Aranet Cloud API endpoint.

|`https://aranet.cloud/api`| |{$ARANET.API.USERNAME}|

Aranet Cloud username.

|``| |{$ARANET.API.PASSWORD}|

Aranet Cloud password.

|``| |{$ARANET.API.SPACE_NAME}|

Aranet Cloud organization name.

|``| |{$ARANET.LLD.FILTER.SENSOR_NAME.MATCHES}|

Filter of discoverable sensors by name.

|`.+`| |{$ARANET.LLD.FILTER.SENSOR_NAME.NOT_MATCHES}|

Filter to exclude discoverable sensors by name.

|`CHANGE_IF_NEEDED`| |{$ARANET.LLD.FILTER.SENSOR_ID.MATCHES}|

Filter of discoverable sensors by id.

|`.+`| |{$ARANET.LLD.FILTER.GATEWAY_NAME.MATCHES}|

Filter of discoverable sensors by gateway name.

|`.+`| |{$ARANET.LLD.FILTER.GATEWAY_NAME.NOT_MATCHES}|

Filter to exclude discoverable sensors by gateway name.

|`CHANGE_IF_NEEDED`| |{$ARANET.LLD.FILTER.GATEWAY_ID.MATCHES}|

Filter of discoverable sensors by gateway id.

|`.+`| |{$ARANET.BATT.VOLTAGE.MIN.WARN}|

Battery voltage warning threshold.

|`1`| |{$ARANET.BATT.VOLTAGE.MIN.CRIT}|

Battery voltage critical threshold.

|`2`| |{$ARANET.HUMIDITY.MIN.WARN}|

Minimum humidity threshold.

|`20`| |{$ARANET.HUMIDITY.MAX.WARN}|

Maximum humidity threshold.

|`70`| |{$ARANET.CO2.MAX.WARN}|

CO2 warning threshold.

|`600`| |{$ARANET.CO2.MAX.CRIT}|

CO2 critical threshold.

|`1000`| |{$ARANET.LAST_UPDATE.MAX.WARN}|

Data update delay threshold.

|`1h`| ### Items |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Aranet: Sensors discovery|

Discovery for Aranet Cloud sensors

|Dependent item|aranet.sensor.discovery

**Preprocessing**

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

  • Discard unchanged with heartbeat: `15m`

| |Aranet: Get data||Script|aranet.get_data| ### LLD rule Temperature discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Temperature discovery|

Discovery for Aranet Cloud temperature sensors

|Dependent item|aranet.temp.discovery| ### Item prototypes for Temperature discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.temp["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Humidity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Humidity discovery|

Discovery for Aranet Cloud humidity sensors

|Dependent item|aranet.humidity.discovery| ### Item prototypes for Humidity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.humidity["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### Trigger prototypes for Humidity discovery |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----------|--------|--------------------------------| |{#METRIC}: Low humidity on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"||`max(/Aranet Cloud/aranet.humidity["{#GATEWAY_ID}", "{#SENSOR_ID}"],5m) < {$ARANET.HUMIDITY.MIN.WARN:"{#SENSOR_NAME}"}`|Warning|**Depends on**:
  • {#METRIC}: High humidity on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"
| |{#METRIC}: High humidity on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"||`min(/Aranet Cloud/aranet.humidity["{#GATEWAY_ID}", "{#SENSOR_ID}"],5m) > {$ARANET.HUMIDITY.MAX.WARN:"{#SENSOR_NAME}"}`|High|| ### LLD rule RSSI discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |RSSI discovery|

Discovery for Aranet Cloud RSSI sensors

|Dependent item|aranet.rssi.discovery| ### Item prototypes for RSSI discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.rssi["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Battery voltage discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Battery voltage discovery|

Discovery for Aranet Cloud Battery voltage sensors

|Dependent item|aranet.battery.voltage.discovery| ### Item prototypes for Battery voltage discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.battery.voltage["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### Trigger prototypes for Battery voltage discovery |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----------|--------|--------------------------------| |{#METRIC}: Low battery voltage on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"||`max(/Aranet Cloud/aranet.battery.voltage["{#GATEWAY_ID}", "{#SENSOR_ID}"],5m) < {$ARANET.BATT.VOLTAGE.MIN.WARN:"{#SENSOR_NAME}"}`|Warning|**Depends on**:
  • {#METRIC}: Critically low battery voltage on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"
| |{#METRIC}: Critically low battery voltage on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"||`max(/Aranet Cloud/aranet.battery.voltage["{#GATEWAY_ID}", "{#SENSOR_ID}"],5m) < {$ARANET.BATT.VOLTAGE.MIN.CRIT:"{#SENSOR_NAME}"}`|High|| ### LLD rule CO2 discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |CO2 discovery|

Discovery for Aranet Cloud CO2 sensors

|Dependent item|aranet.co2.discovery| ### Item prototypes for CO2 discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.co2["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### Trigger prototypes for CO2 discovery |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----------|--------|--------------------------------| |{#METRIC}: High CO2 level on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"||`min(/Aranet Cloud/aranet.co2["{#GATEWAY_ID}", "{#SENSOR_ID}"],5m) > {$ARANET.CO2.MAX.WARN:"{#SENSOR_NAME}"}`|Warning|**Depends on**:
  • {#METRIC}: Critically high CO2 level on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"
| |{#METRIC}: Critically high CO2 level on "[{#GATEWAY_NAME}] {#SENSOR_NAME}"||`min(/Aranet Cloud/aranet.co2["{#GATEWAY_ID}", "{#SENSOR_ID}"],5m) > {$ARANET.CO2.MAX.CRIT:"{#SENSOR_NAME}"}`|High|| ### LLD rule Atmospheric pressure discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Atmospheric pressure discovery|

Discovery for Aranet Cloud atmospheric pressure sensors

|Dependent item|aranet.pressure.discovery| ### Item prototypes for Atmospheric pressure discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.pressure["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Voltage discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Voltage discovery|

Discovery for Aranet Cloud Voltage sensors

|Dependent item|aranet.voltage.discovery| ### Item prototypes for Voltage discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.voltage["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Weight discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Weight discovery|

Discovery for Aranet Cloud Weight sensors

|Dependent item|aranet.weight.discovery| ### Item prototypes for Weight discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.weight["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Volumetric Water Content discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Volumetric Water Content discovery|

Discovery for Aranet Cloud Volumetric Water Content sensors

|Dependent item|aranet.volum_water_content.discovery| ### Item prototypes for Volumetric Water Content discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.volumetric.water.content["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule PPFD discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |PPFD discovery|

Discovery for Aranet Cloud PPFD sensors

|Dependent item|aranet.ppfd.discovery| ### Item prototypes for PPFD discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.ppfd["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Distance discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Distance discovery|

Discovery for Aranet Cloud Distance sensors

|Dependent item|aranet.distance.discovery| ### Item prototypes for Distance discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.distance["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Illuminance discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Illuminance discovery|

Discovery for Aranet Cloud Illuminance sensors

|Dependent item|aranet.illuminance.discovery| ### Item prototypes for Illuminance discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.illuminance["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule pH discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |pH discovery|

Discovery for Aranet Cloud pH sensors

|Dependent item|aranet.ph.discovery| ### Item prototypes for pH discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.ph["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Current discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Current discovery|

Discovery for Aranet Cloud Current sensors

|Dependent item|aranet.current.discovery| ### Item prototypes for Current discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.current["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Soil Dielectric Permittivity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Soil Dielectric Permittivity discovery|

Discovery for Aranet Cloud Soil Dielectric Permittivity sensors

|Dependent item|aranet.soil_dielectric_perm.discovery| ### Item prototypes for Soil Dielectric Permittivity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.soil_dielectric_perm["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Soil Electrical Conductivity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Soil Electrical Conductivity discovery|

Discovery for Aranet Cloud Soil Electrical Conductivity sensors

|Dependent item|aranet.soil_electric_cond.discovery| ### Item prototypes for Soil Electrical Conductivity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.soil_electric_cond["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Pore Electrical Conductivity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Pore Electrical Conductivity discovery|

Discovery for Aranet Cloud Pore Electrical Conductivity sensors

|Dependent item|aranet.pore_electric_cond.discovery| ### Item prototypes for Pore Electrical Conductivity discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.pore_electric_cond["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Pulses discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Pulses discovery|

Discovery for Aranet Cloud Pulses sensors

|Dependent item|aranet.pulses.discovery| ### Item prototypes for Pulses discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.pulses["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Pulses Cumulative discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Pulses Cumulative discovery|

Discovery for Aranet Cloud Pulses Cumulative sensors

|Dependent item|aranet.pulses_cumulative.discovery| ### Item prototypes for Pulses Cumulative discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.pulses_cumulative["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Differential Pressure discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Differential Pressure discovery|

Discovery for Aranet Cloud Differential Pressure sensors

|Dependent item|aranet.diff_pressure.discovery| ### Item prototypes for Differential Pressure discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.diff_pressure["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

| ### LLD rule Last update discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |Last update discovery|

Discovery for Aranet Cloud Last update metric

|Dependent item|aranet.last_update.discovery| ### Item prototypes for Last update discovery |Name|Description|Type|Key and additional info| |----|-----------|----|-----------------------| |{#METRIC}: [{#GATEWAY_NAME}] {#SENSOR_NAME}||Dependent item|aranet.last_update["{#GATEWAY_ID}", "{#SENSOR_ID}"]

**Preprocessing**

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

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

| ### Trigger prototypes for Last update discovery |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----------|--------|--------------------------------| |{#METRIC}: Sensor data "[{#GATEWAY_NAME}] {#SENSOR_NAME}" is not updated||`last(/Aranet Cloud/aranet.last_update["{#GATEWAY_ID}", "{#SENSOR_ID}"]) > {$ARANET.LAST_UPDATE.MAX.WARN:"{#SENSOR_NAME}"}`|Warning|| ## 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)