From d06d53ebc74b4f61926647386907fda79cca9ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rkus=20S=C3=A1ndor?= Date: Sat, 18 Jan 2025 16:48:28 +0100 Subject: [PATCH] + CPU temperature item/trigger --- .../zabbix_LibreELEC_by_SSH-template.yaml | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml b/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml index b2f3999..e10dc51 100644 --- a/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml +++ b/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml @@ -29,7 +29,7 @@ zabbix_export: https://msandor.hu/libreelec-monitorozasa-zabbixszal/ vendor: name: msandor - version: 7.0-0 + version: 7.0-1 templates: - name: 'ICMP Ping' - name: 'Linux by SSH' @@ -145,6 +145,32 @@ zabbix_export: value: ext4 - tag: vendor value: msandor + - uuid: 0141e90604cc436cabb9aff32a5fddf4 + name: 'CPU temperature' + type: SSH + key: 'ssh.run[cpu.temp,,{$SSH.PORT}]' + history: 14d + value_type: FLOAT + units: °C + params: 'cputemp | awk ''{print $1}''' + username: '{$SSH.USER}' + password: '{$SSH.PWD}' + description: 'A processzor hőmérséklete °C fokban.' + tags: + - tag: component + value: cpu + - tag: vendor + value: msandor + triggers: + - uuid: f9450d192c0249608909f2a29967d10e + expression: 'min(/LibreELEC by SSH/ssh.run[cpu.temp,,{$SSH.PORT}],5m)>80' + name: 'CPU temperature is high' + priority: WARNING + description: | + Túlmelegedett a CPU! + Egy Raspberry Pi esetén 80-85 °C-ig beszélhetünk üzemi hőmérsékletről. + Intel/AMD processzorok esetén elmehetünk akár 100 °C-ig is károsodás nélkül. + manual_close: 'YES' - uuid: 6081f009b3d64a148d70c19aee8b8909 name: 'FS [/flash]: Space: Available' type: SSH