Skip to content

Commit

Permalink
Merge pull request #314 from wahezu/main
Browse files Browse the repository at this point in the history
New template for AKCP sensorProbe X+ devices
  • Loading branch information
oscar120584 authored Feb 6, 2024
2 parents 7a04c23 + f1d6d6b commit fa371f1
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# AKCP

## Overview

This template is designed for all SensorProbeX devices from the vendor AKCP.


All connected sensors (humidity and temperature) are automaticly discovered in this template.

The triggers are using the alarm status setup directly on the AKCP sensors, so no thresholds are needed.

This template is tested whith SensorProbeX+.



## Author

Juan Candon - wahezu

## Macros used

There are no macros links in this template.

## Template links

There are no template links in this template.

## Discovery rules

|Name|Description|Type|Key and additional info|
|----|-----------|----|----|
|DRYINOUT Sensors Discovery|<p>-</p>|`SNMP agent`|dryinout.sensor.discovery<p>Update: 60</p>|
|Humidity Sensors Discovery|<p>-</p>|`SNMP agent`|humidity.sensor.discovery<p>Update: 60</p>|
|Temperature Sensors Discovery|<p>-</p>|`SNMP agent`|temperature.sensor.discovery<p>Update: 60</p>|
|Water Sensors Discovery|<p>-</p>|`SNMP agent`|water.sensor.discovery<p>Update: 60</p>|


## Value mappings

|Name|Value|mapped to|
|----|------|---------|
|Alarm Status|1|no status|
|Alarm Status|2|normal|
|Alarm Status|3|high warning|
|Alarm Status|4|high critical|
|Alarm Status|5|low warning|
|Alarm Status|6|low critical|
|Alarm Status|7|sensor error|
|Status|0|OK|
|Status|1|CIRITCAL|


Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
zabbix_export:
version: '6.0'
date: '2023-12-11T11:57:07Z'
groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: bec9e132ec4c41bda2978f52acd32fe1
template: AKCP-Discovery-SP-plus-sensors
name: AKCP-Discovery-SP-plus-sensors
description: |
Monitors AKCP Sensor ProbeX+ devices.
https://www.akcp.com/akcp-products/sensorprobe-plus/sensorprobexplus/
groups:
- name: Templates
items:
- uuid: 819b4b0dfa774689983c842fe05a0c70
name: 'Device Type'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.25.3.2.1.3.1
key: hrDeviceDescr
delay: '43200'
trends: '0'
value_type: CHAR
inventory_link: TYPE
tags:
- tag: Application
value: General
- uuid: 8a0da03b6e8d482697ba13a6c1987a74
name: 'Device MAC address'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: ifPhysAddress
delay: '3600'
trends: '0'
value_type: CHAR
inventory_link: MACADDRESS_A
tags:
- tag: Application
value: General
discovery_rules:
- uuid: 949cef68518846d6a7a1b9b82b2a5b70
name: 'DRYINOUT Sensors Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SENSORDESC},1.3.6.1.4.1.3854.3.5.1.1.2,{#SENSORINDEX},1.3.6.1.4.1.3854.3.5.1.1.1,{#SENSORTYPE},1.3.6.1.4.1.3854.3.5.1.1.3]'
key: dryinout.sensor.discovery
filter:
conditions:
- macro: '{#SENSORTYPE}'
value: '7'
formulaid: A
item_prototypes:
- uuid: 740094d2bbe44a72a0475017464f2b0d
name: 'Alarm Status for sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.6.{#SENSORINDEX}'
key: 'dryinout.sensor.alarm[{#SENSORDESC}]'
valuemap:
name: 'Alarm Status'
trigger_prototypes:
- uuid: dd879fe67e3842d6a03b52ca9e773013
expression: 'last(/AKCP-Discovery-SP-plus-sensors/dryinout.sensor.alarm[{#SENSORDESC}])>2'
name: 'Alarm triggered for Sensor {#SENSORDESC}'
priority: HIGH
manual_close: 'YES'
- uuid: 92ebaec69e724912ae55642d83e5b730
name: 'DRYINOUT for Sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.4.{#SENSORINDEX}'
key: 'sensor.dryinout.value[{#SENSORDESC}]'
valuemap:
name: Status
- uuid: 87072eedc78247d585118f8e0f14be95
name: 'Humidity Sensors Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SENSORDESC},1.3.6.1.4.1.3854.3.5.1.1.2,{#SENSORINDEX},1.3.6.1.4.1.3854.3.5.1.1.1,{#SENSORTYPE},1.3.6.1.4.1.3854.3.5.1.1.3]'
key: humidity.sensor.discovery
filter:
conditions:
- macro: '{#SENSORTYPE}'
value: '2'
formulaid: A
item_prototypes:
- uuid: 46fcbce082b2453099faac79ef1b1b61
name: 'Alarm Status for sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.6.{#SENSORINDEX}'
key: 'humidity.sensor.alarm[{#SENSORDESC}]'
valuemap:
name: 'Alarm Status'
trigger_prototypes:
- uuid: 9cefbbd857654e109150ed2d512d2e16
expression: 'last(/AKCP-Discovery-SP-plus-sensors/humidity.sensor.alarm[{#SENSORDESC}])>2'
name: 'Alarm triggered for Sensor {#SENSORDESC}'
priority: HIGH
manual_close: 'YES'
- uuid: 802f7bc7e212455baf56dd7c743e33eb
name: 'Humidity for Sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.4.{#SENSORINDEX}'
key: 'sensor.humidity.value[{#SENSORDESC}]'
- uuid: def434f7899840f4970f870e2122f6e2
name: 'Temperature Sensors Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SENSORDESC},1.3.6.1.4.1.3854.3.5.1.1.2,{#SENSORINDEX},1.3.6.1.4.1.3854.3.5.1.1.1,{#SENSORTYPE},1.3.6.1.4.1.3854.3.5.1.1.3]'
key: temperature.sensor.discovery
filter:
conditions:
- macro: '{#SENSORTYPE}'
value: '3'
formulaid: A
item_prototypes:
- uuid: 6aced89ee3ec4f5989c13693f047e969
name: 'Temperature for Sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.4.{#SENSORINDEX}'
key: 'sensor.temperature.value[{#SENSORDESC}]'
- uuid: 2d67fe43e2d640cb9a12cc8afc2a8ea8
name: 'Alarm Status for sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.6.{#SENSORINDEX}'
key: 'temperature.sensor.alarm[{#SENSORDESC}]'
valuemap:
name: 'Alarm Status'
trigger_prototypes:
- uuid: 24d5cfc4fc6945638e57881a7ca7e496
expression: 'last(/AKCP-Discovery-SP-plus-sensors/temperature.sensor.alarm[{#SENSORDESC}])>2'
name: 'Alarm triggered for Sensor {#SENSORDESC}'
priority: HIGH
manual_close: 'YES'
- uuid: fd85de771f0f421c819937c585aa83e4
name: 'Water Sensors Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SENSORDESC},1.3.6.1.4.1.3854.3.5.1.1.2,{#SENSORINDEX},1.3.6.1.4.1.3854.3.5.1.1.1,{#SENSORTYPE},1.3.6.1.4.1.3854.3.5.1.1.3]'
key: water.sensor.discovery
filter:
conditions:
- macro: '{#SENSORTYPE}'
value: '10'
formulaid: A
item_prototypes:
- uuid: 1f24333d47114872a2d95cc31b6a3dc6
name: 'Water for Sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.4.{#SENSORINDEX}'
key: 'sensor.water.value[{#SENSORDESC}]'
valuemap:
name: Status
- uuid: 3a0f5b3555694287956ee0ff517522b0
name: 'Alarm Status for sensor {#SENSORDESC}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3854.3.5.1.1.6.{#SENSORINDEX}'
key: 'water.sensor.alarm[{#SENSORDESC}]'
valuemap:
name: 'Alarm Status'
trigger_prototypes:
- uuid: 2a44cb272a3142199037d26de84143d6
expression: 'last(/AKCP-Discovery-SP-plus-sensors/water.sensor.alarm[{#SENSORDESC}])>2'
name: 'Alarm triggered for Sensor {#SENSORDESC}'
priority: HIGH
manual_close: 'YES'
valuemaps:
- uuid: 8768d6200803407fb141fd736e7eaebf
name: 'Alarm Status'
mappings:
- value: '1'
newvalue: 'no status'
- value: '2'
newvalue: normal
- value: '3'
newvalue: 'High Warning'
- value: '4'
newvalue: 'High Critical'
- value: '5'
newvalue: 'Low Warning'
- value: '6'
newvalue: 'Low Critical'
- value: '7'
newvalue: 'Sensor Error'
- uuid: b412e94c81e544d6bd1b6beeedd3d942
name: Status
mappings:
- value: '0'
newvalue: OK
- value: '1'
newvalue: CRITICAL

0 comments on commit fa371f1

Please sign in to comment.