Commit e5574f95 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added support for CM3588 Plus

parent 1fbf2282
......@@ -159,6 +159,16 @@ amlogic:
echo 'UserParameter=system.cpu.freq.cur,echo "`cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq`000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.cpu.freq.max,echo "`cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq`000"' >> /etc/zabbix_agentd.userparams.conf
cm3588plus:
echo 'UserParameter=system.hw.temp0,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone0/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.temp1,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone1/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.temp2,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone2/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.temp3,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone3/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.temp4,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone4/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.temp5,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone5/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.temp6,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone6/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.fan,`cat /sys/devices/virtual/thermal/cooling_device0/cur_state`' >> /etc/zabbix_agentd.userparams.conf
tegra194:
echo 'UserParameter=system.hw.temp.cpu,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone0/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
echo 'UserParameter=system.hw.temp.gpu,bc <<< "scale=3; `cat /sys/devices/virtual/thermal/thermal_zone1/temp`/1000"' >> /etc/zabbix_agentd.userparams.conf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment