zabbix/templates/sensors/ds18b20/6.0/sensors-ds18b20-by-ssh.yaml

62 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2023-12-14 22:18:11 +03:00
zabbix_export:
version: '6.0'
date: '2023-12-14T18:00:00Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
name: Templates/Modules
templates:
-
uuid: 319aac2db295472bbf0e9e7acd7bd090
template: 'Sensors ds18b20 by SSH'
name: 'Sensors ds18b20 by SSH'
description: 'Get ds18b20 sensor value over SSH'
groups:
-
name: Templates/Modules
items:
-
uuid: 3b2158a480c048689f709bfd457b0464
name: Temperature
type: EXTERNAL
key: 'ds18b20-over-ssh.sh["{$HOST}","{$PORT}","{$USER}","{$PASS}","{$NODE}"]'
delay: 5m
value_type: FLOAT
units: C
tags:
-
tag: Sensor
value: ds18b20
tags:
-
tag: Sensor
value: ds18b20
macros:
-
macro: '{$HOST}'
value: host.domain.zone
-
macro: '{$NODE}'
value: 28-0a1b2c3d4e5f
-
macro: '{$PASS}'
value: password
-
macro: '{$PORT}'
value: '22'
-
macro: '{$USER}'
value: root
graphs:
-
uuid: 8160100b5a1f4a5280415ce427db71e5
name: Temperature
show_triggers: 'NO'
graph_items:
-
drawtype: GRADIENT_LINE
color: 00BFFF
item:
host: 'Sensors ds18b20 by SSH'
key: 'ds18b20-over-ssh.sh["{$HOST}","{$PORT}","{$USER}","{$PASS}","{$NODE}"]'