add item (LibreELEC version)
This commit is contained in:
parent
e615418ad8
commit
f8d2318272
@ -1,6 +1,8 @@
|
||||
zabbix_export:
|
||||
version: '7.0'
|
||||
template_groups:
|
||||
- uuid: d8bbe56256854f039dfe7368a22164a6
|
||||
name: Templates/msandor
|
||||
- uuid: 40cc3baad80b4c0c815f809ea20e2875
|
||||
name: 'Templates/Operating systems'
|
||||
templates:
|
||||
@ -29,11 +31,12 @@ zabbix_export:
|
||||
https://msandor.hu/libreelec-monitorozasa-zabbixszal/
|
||||
vendor:
|
||||
name: msandor
|
||||
version: 7.0-2
|
||||
version: 7.0-3
|
||||
templates:
|
||||
- name: 'ICMP Ping'
|
||||
- name: 'Linux by SSH'
|
||||
groups:
|
||||
- name: Templates/msandor
|
||||
- name: 'Templates/Operating systems'
|
||||
items:
|
||||
- uuid: dd5e90077e334161a379a257b21b6a31
|
||||
@ -41,6 +44,8 @@ zabbix_export:
|
||||
type: SIMPLE
|
||||
key: 'net.tcp.service[http,,8080]'
|
||||
history: 1w
|
||||
valuemap:
|
||||
name: 'Service state'
|
||||
tags:
|
||||
- tag: component
|
||||
value: 'HTTP service'
|
||||
@ -159,6 +164,8 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: component
|
||||
value: cpu
|
||||
- tag: component
|
||||
value: temperature
|
||||
- tag: vendor
|
||||
value: msandor
|
||||
triggers:
|
||||
@ -246,6 +253,23 @@ zabbix_export:
|
||||
value: vfat
|
||||
- tag: vendor
|
||||
value: msandor
|
||||
- uuid: 0a410013e5cc436193f0d18d8a2efc04
|
||||
name: 'LibreELEC version'
|
||||
type: SSH
|
||||
key: 'ssh.run[leversion,,{$SSH.PORT}]'
|
||||
delay: 1d
|
||||
history: 1w
|
||||
value_type: TEXT
|
||||
trends: '0'
|
||||
params: 'grep PRETTY_NAME /etc/os-release | awk -F"\"" ''{print $2}'''
|
||||
username: '{$SSH.USER}'
|
||||
password: '{$SSH.PWD}'
|
||||
description: 'A LibreELEC kiadás verziója.'
|
||||
tags:
|
||||
- tag: component
|
||||
value: os
|
||||
- tag: vendor
|
||||
value: msandor
|
||||
- uuid: 447edf2af0874a0ebe6cbf347ebcbad0
|
||||
name: 'Interface eth0: Bits received'
|
||||
type: SSH
|
||||
@ -402,3 +426,11 @@ zabbix_export:
|
||||
value: libreelec
|
||||
- macro: '{$SSH.USER}'
|
||||
value: root
|
||||
valuemaps:
|
||||
- uuid: 0c1c31cff50b44e08d55c28d4fcea944
|
||||
name: 'Service state'
|
||||
mappings:
|
||||
- value: '0'
|
||||
newvalue: Down
|
||||
- value: '1'
|
||||
newvalue: Up
|
||||
|
Loading…
x
Reference in New Issue
Block a user