diff --git a/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml b/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml index e10dc51..f2b47bf 100644 --- a/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml +++ b/zabbix-7.0/zabbix_LibreELEC_by_SSH-template.yaml @@ -51,7 +51,7 @@ zabbix_export: type: SSH key: 'ssh.run[/flash.pused,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: '%' params: 'df -h /flash | grep dev | awk ''{print $5}'' | awk -F"%" ''{print $1}''' @@ -88,7 +88,7 @@ zabbix_export: type: SSH key: 'ssh.run[/storage.pused,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: '%' params: 'df -h /storage | grep dev | awk ''{print $5}'' | awk -F"%" ''{print $1}''' @@ -125,7 +125,7 @@ zabbix_export: type: SSH key: 'ssh.run[/storage.used,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: B params: 'df /storage | grep dev | awk ''{print $3}''' @@ -149,7 +149,7 @@ zabbix_export: name: 'CPU temperature' type: SSH key: 'ssh.run[cpu.temp,,{$SSH.PORT}]' - history: 14d + history: 1w value_type: FLOAT units: °C params: 'cputemp | awk ''{print $1}''' @@ -176,7 +176,7 @@ zabbix_export: type: SSH key: 'ssh.run[flash.free,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: B params: 'df /flash | grep dev | awk ''{print $4}''' @@ -201,7 +201,7 @@ zabbix_export: type: SSH key: 'ssh.run[flash.total,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: B params: 'df /flash | grep dev | awk ''{print $2}''' @@ -226,7 +226,7 @@ zabbix_export: type: SSH key: 'ssh.run[flash.used,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: B params: 'df /flash | grep dev | awk ''{print $3}''' @@ -347,7 +347,7 @@ zabbix_export: type: SSH key: 'ssh.run[storage.free,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: B params: 'df /storage | grep dev | awk ''{print $2}''' @@ -372,7 +372,7 @@ zabbix_export: type: SSH key: 'ssh.run[storage.total,,{$SSH.PORT}]' delay: 10m - history: 90d + history: 1w value_type: FLOAT units: B params: 'df /storage | grep dev | awk ''{print $2}''' diff --git a/zabbix-7.0/zabbix_Linux_by_ssh-template.yaml b/zabbix-7.0/zabbix_Linux_by_ssh-template.yaml index bc71da8..2592377 100644 --- a/zabbix-7.0/zabbix_Linux_by_ssh-template.yaml +++ b/zabbix-7.0/zabbix_Linux_by_ssh-template.yaml @@ -184,7 +184,7 @@ zabbix_export: name: 'Total memory' type: SSH key: 'ssh.run[mem_total,,{$SSH.PORT}]' - delay: 1h + delay: 1d history: 7d units: B params: 'grep MemTotal /proc/meminfo | awk ''{ print $2 }''' @@ -308,6 +308,7 @@ zabbix_export: name: 'Load average (5m avg)' type: SSH key: 'ssh.run[system.cpu.load.all,avg5,,{$SSH.PORT}]' + delay: 2m history: 7d value_type: FLOAT params: 'cat /proc/loadavg | awk ''{ print $2 }''' @@ -321,6 +322,7 @@ zabbix_export: name: 'Load average (15m avg)' type: SSH key: 'ssh.run[system.cpu.load.all,avg15,,{$SSH.PORT}]' + delay: 3m history: 7d value_type: FLOAT params: 'cat /proc/loadavg | awk ''{ print $3 }''' @@ -549,7 +551,7 @@ zabbix_export: name: 'Number of CPUs' type: SSH key: 'ssh.run[system.cpunumber,,{$SSH.PORT}]' - delay: 1h + delay: 1d history: 7d params: 'grep -c processor /proc/cpuinfo' username: '{$SSH.USER}' @@ -608,7 +610,7 @@ zabbix_export: name: 'Operating system architecture' type: SSH key: 'ssh.run[system.sw.arch,,{$SSH.PORT}]' - delay: 1h + delay: 1d history: 7d value_type: CHAR trends: '0' @@ -716,7 +718,7 @@ zabbix_export: name: 'System description' type: SSH key: 'ssh.run[system.uname,,{$SSH.PORT}]' - delay: 15m + delay: 1h history: 7d value_type: CHAR trends: '0'