Skip to content

Commit

Permalink
Merge pull request #229 from Vermiz/main
Browse files Browse the repository at this point in the history
Add Monitoring for th2e sensor and Quantum scalar i3
  • Loading branch information
oscar120584 authored Nov 6, 2023
2 parents f55a2a3 + 2a919b7 commit 31a77d6
Show file tree
Hide file tree
Showing 2 changed files with 1,189 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,327 @@
zabbix_export:
version: '6.0'
date: '2023-03-30T21:50:36Z'
groups:
-
uuid: 2acb48f6d64149cf9d27850672f41ac3
name: Other
templates:
-
uuid: f949918633a74445a735a06c20911879
template: template_TH2ESensor_snmp
name: template_TH2ESensor_snmp
description: |
Template for TH2E Sensor
Web site sensore: www.papouch.com
Author: Kamil Goluchowski
GitHub: https://github.com/Vermiz
groups:
-
name: Other
items:
-
uuid: 6ecd003ae2184aeea6655bb9b2dcfc47
name: DewPoint
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.18248.20.1.2.1.1.2.3
key: DewPointValue
delay: 5m
value_type: FLOAT
units: C
description: 'DewPoint status'
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.1'
-
uuid: 7dfeed21eb9f4868893a6a3ef908dfa4
name: 'Check Dew Sensore'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.18248.20.1.2.1.1.1.3
key: dewSensoreCheck
delay: 60m
value_type: FLOAT
description: |
Dew Sensore Check
0 =OK, 1 =Not available, 2 =over-flow, 3 =under-flow, 4 =error
valuemap:
name: sensorValue
-
uuid: 98304b5a655345a7b60b392f3d6629bc
name: 'Check Humidity Sensore'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.18248.20.1.2.1.1.1.2
key: humiditySensoreCheck
delay: 60m
value_type: FLOAT
description: |
Humidity Sensore Check
0 =OK, 1 =Not available, 2 =over-flow, 3 =under-flow, 4 =error
valuemap:
name: sensorValue
triggers:
-
uuid: 85559c0a6a2246c19cc312488a3c8e9d
expression: last(/template_TH2ESensor_snmp/humiditySensoreCheck)<>0
name: 'Check Humidity Sensore, value: {ITEM.LASTVALUE} on {HOST.NAME}'
priority: INFO
manual_close: 'YES'
-
uuid: 01454d9ebc0e4de4a77da1f309ee7e95
name: Humidity
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.18248.20.1.2.1.1.2.2
key: humidityValue
delay: 5m
value_type: FLOAT
units: '%'
description: 'Humidity status'
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.1'
triggers:
-
uuid: 8159f51b373d4709b1852be9d1e568aa
expression: 'last(/template_TH2ESensor_snmp/humidityValue)>{$CRITICAL_HUMIDITY}'
name: 'Critical humidity {ITEM.LASTVALUE} on {HOST.NAME}'
priority: HIGH
-
uuid: 965f0bf4df7a40549fc2b9cf9f502f55
expression: 'last(/template_TH2ESensor_snmp/humidityValue)>{$HIGHT_HUMIDITY}'
name: 'High humidity {ITEM.LASTVALUE} on {HOST.NAME}'
priority: INFO
dependencies:
-
name: 'Critical humidity {ITEM.LASTVALUE} on {HOST.NAME}'
expression: 'last(/template_TH2ESensor_snmp/humidityValue)>{$CRITICAL_HUMIDITY}'
-
uuid: 8f1b84af79cc459c86ba480ead050a1b
expression: 'last(/template_TH2ESensor_snmp/humidityValue)<{$LOW_HUMIDITY}'
name: 'Low humidity {ITEM.LASTVALUE} on {HOST.NAME}'
priority: HIGH
-
uuid: 0871693b10d24f3baf9ac4ef4fa44e76
name: 'ICMP ping'
type: SIMPLE
key: icmpping
history: 1w
request_method: POST
tags:
-
tag: Application
value: ICMP
triggers:
-
uuid: 9da58cabc30b430db617f9781be973b2
expression: 'max(/template_TH2ESensor_snmp/icmpping,#5)=0'
name: '{HOST.NAME} is unavailable by ICMP'
priority: AVERAGE
manual_close: 'YES'
-
uuid: c57fe727f98c4de6b3b3ff2f012fee4b
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
-
tag: Application
value: ICMP
triggers:
-
uuid: c4b2ee7e9055479482bb8c10079f0932
expression: 'min(/template_TH2ESensor_snmp/icmppingloss,5m)>20'
name: 'Ping loss is too high on {HOST.NAME}'
priority: WARNING
manual_close: 'YES'
dependencies:
-
name: '{HOST.NAME} is unavailable by ICMP'
expression: 'max(/template_TH2ESensor_snmp/icmpping,#5)=0'
-
uuid: 5dd09518744b4509bed736badac1f323
name: 'ICMP response time'
type: SIMPLE
key: icmppingsec
history: 1w
value_type: FLOAT
units: s
request_method: POST
tags:
-
tag: Application
value: ICMP
triggers:
-
uuid: cc4d4d1c999948e38c46d15ae371f87a
expression: 'avg(/template_TH2ESensor_snmp/icmppingsec,5m)>0.40'
name: 'Response time is too high on {HOST.NAME}'
priority: WARNING
manual_close: 'YES'
dependencies:
-
name: '{HOST.NAME} is unavailable by ICMP'
expression: 'max(/template_TH2ESensor_snmp/icmpping,#5)=0'
-
uuid: 6f92281e8ec540cba67fec782df1bcda
name: 'Check Temperature Sensore'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.18248.20.1.2.1.1.1.1
key: tempSensoreCheck
delay: 60m
value_type: FLOAT
description: |
Temperature Sensore Check
0 =OK, 1 =Not available, 2 =over-flow, 3 =under-flow, 4 =error
valuemap:
name: sensorValue
triggers:
-
uuid: 2cc257fc69744e8d9f976120cf2dd062
expression: last(/template_TH2ESensor_snmp/tempSensoreCheck)<>0
name: 'Check Temperature Sensore, value: {ITEM.LASTVALUE} on {HOST.NAME}'
priority: INFO
manual_close: 'YES'
-
uuid: 91cd2274ce0341c5a6b55eb969e9d9a1
name: Temperature
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.18248.20.1.2.1.1.2.1
key: tempValue
delay: 5m
value_type: FLOAT
units: C
description: 'Temperature status'
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.1'
triggers:
-
uuid: a166b5bbaf6c4bc59b4554394d78eced
expression: 'last(/template_TH2ESensor_snmp/tempValue)>{$HIGH_TEMP}'
name: 'Hight temperature {ITEM.LASTVALUE} on {HOST.NAME}'
priority: HIGH
-
uuid: d973e7c00ee14891b13091d7332b3995
expression: 'last(/template_TH2ESensor_snmp/tempValue)<{$LOW_TEMP}'
name: 'Low temperature {ITEM.LASTVALUE} on {HOST.NAME}'
priority: HIGH
macros:
-
macro: '{$CRITICAL_HUMIDITY}'
value: '70'
description: 'CRITICALto high'
-
macro: '{$HIGHT_HUMIDITY}'
value: '60'
description: 'HUMIDITY to high'
-
macro: '{$HIGH_TEMP}'
value: '30'
description: 'Temperature to high'
-
macro: '{$LOW_HUMIDITY}'
value: '20'
description: 'HUMIDITY to low'
-
macro: '{$LOW_TEMP}'
value: '15'
description: 'Temperature to low'
-
macro: '{$SNMP_COMMUNITY}'
value: public
valuemaps:
-
uuid: 3707660081344bf6bffd21dd27ed2885
name: sensorValue
mappings:
-
value: '0'
newvalue: OK
-
value: '1'
newvalue: 'Not available'
-
value: '2'
newvalue: over-flow
-
value: '3'
newvalue: under-flow
-
value: '4'
newvalue: error
graphs:
-
uuid: 16f53ae693764a9f92a6bafe5b4f0d0d
name: 'ICMP - ping'
graph_items:
-
drawtype: GRADIENT_LINE
color: 199C0D
item:
host: template_TH2ESensor_snmp
key: icmppingloss
-
sortorder: '1'
color: F63100
item:
host: template_TH2ESensor_snmp
key: icmpping
-
sortorder: '2'
drawtype: GRADIENT_LINE
color: 2774A4
item:
host: template_TH2ESensor_snmp
key: icmppingsec
-
uuid: 3075ec50a72248008ea27714a304b698
name: 'ICMP ALL'
ymin_type_1: FIXED
graph_items:
-
drawtype: GRADIENT_LINE
color: AA0000
item:
host: template_TH2ESensor_snmp
key: icmppingloss
-
sortorder: '1'
drawtype: GRADIENT_LINE
color: 00BB00
item:
host: template_TH2ESensor_snmp
key: icmppingsec
-
sortorder: '2'
drawtype: GRADIENT_LINE
color: 2774A4
item:
host: template_TH2ESensor_snmp
key: icmpping
-
uuid: 5f52cae29f984fc793452c958c0cc139
name: 'ICMP loss'
graph_items:
-
color: AA0000
item:
host: template_TH2ESensor_snmp
key: icmppingloss
-
uuid: 737762eb14c04a3f8c391df6d87cf2f9
name: 'ICMP Response Time'
graph_items:
-
color: 1A7C11
item:
host: template_TH2ESensor_snmp
key: icmppingsec
Loading

0 comments on commit 31a77d6

Please sign in to comment.