Just want to point out that polling hard drive temperatures prevents the disks from going to standby, I found this out after using hddtemp for some time. If you keep your disks spinning all the time this is not a problem, but since I use power management to put my drives to sleep after some Idle time I have now disabled the temperaure logging.
Temperature Sensor
-
-
Hello! I tried to do everything according to instructions, but after trying to execute the collectd, I see:
Coderoot@openmediavault:~# /usr/share/openmediavault/scripts/collectd run-parts: failed to exec /usr/share/openmediavault/scripts/collectd.d/sensors: Exec format error run-parts: /usr/share/openmediavault/scripts/collectd.d/sensors exited with return code 1
what am I doing wrong?
Graphics work after restarting collectd and try omv-mkgraph, but i can not install updates on openmediavault. -
-
-
-
-
Thanks for trying to help. It worked. The reason was in the spaces at the beginning of the file "sensors"
/Sorry for my English, i use "google-translate" service/ -
-
Web-interface:
-
Hello,
I try to find the name of the sensors on a Gigagyte GA-D525TUD (Atom D525)
I modified collectd.conf and restart it but i Have no sensors-XXX in the localhost.
Do you know why ?
Thank you -
No sensors inside the localhost??? Strange... :? Have you installed lm-sensors???
-
-
Hi there,
Has anyone tried to add this temperature tab to OMV with OMV running as an ESXi v5.1 virtual machine on the HP Proliant Microserver N40L?
Would be glad to have some feedback on how you achieved that!
Thanks in advance for testifying :mrgreen: -
Zitat von "johny_sketo"
No sensors inside the localhost??? Strange... :? Have you installed lm-sensors???
I installed it and the result is the same ...
I also tried to install the graphics for hddtemp and i don't have the sensors in localhost ...
I'm using OMV 64bit (Amd64) 0.4.8.
Maybe the 64version is not compatible with my motherboard ?thanks
-
To be honest till now I have install it on 32bit systems only but I do not think that the 64bit would be an issue. After you installed the lm-sensors package did you try to follow again the procedure from the start? Have you tried to reboot?
-
-
Also you can try to run sensors-detect and see what the system recognize.
-
-
Ok. To have the sensors, I must had coretemp in /etc/modules. Sensors-detect had made it for me (The last screenshot in my previous post).
Then i have to restart it with
Now I have two sensors for the two core.
[/quote]
How I can get one value for the "package" temp ?Sensors-it8720-isa-0290 is for the temp motherboard ?
I have strange values ...thanks
-
-
It works with the good sensors !!!
here the sensors file for a Gigabyte GA-D525TUD with an atom D525
Bash
Alles anzeigen#!/bin/sh set -e . /etc/default/openmediavault . /usr/share/openmediavault/scripts/helper-functions OMV_COLLECTD_CONFIG=${OMV_COLLECTD_CONFIG:-"/etc/collectd/collectd.conf"} OMV_COLLECTD_RRDTOOL_MKGRAPH=${OMV_COLLECTD_RRDTOOL_MKGRAPH:-"/usr/sbin/omv-mkgraph"} cat <<EOF >> ${OMV_COLLECTD_CONFIG} LoadPlugin sensors EOF cat <<EOF >> ${OMV_COLLECTD_RRDTOOL_MKGRAPH} # Plugin: sensors TITLE_LOAD="CPU temperature" COLOR_CPU_CORE_0="#0000fd" # blue COLOR_CPU_CORE_1="#ff0000" # red rrdtool graph \${IMGDIR}/sensors-hour.png --start \${HOURSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${HOURTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-day.png --start \${DAYSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${DAYTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-week.png --start \${WEEKSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${WEEKTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-month.png --start \${MONTHSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${MONTHTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-year.png --start \${YEARSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${YEARTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null EOF
-
Nice to hear that you could fix it. I cannot see, though, the images you posted.
-
Hello,
I am trying to add the fan speed to the CPU temp.
Here is my rrd file :I add the file rrd in the sensor file
Bash
Alles anzeigen#!/bin/sh set -e . /etc/default/openmediavault . /usr/share/openmediavault/scripts/helper-functions OMV_COLLECTD_CONFIG=${OMV_COLLECTD_CONFIG:-"/etc/collectd/collectd.conf"} OMV_COLLECTD_RRDTOOL_MKGRAPH=${OMV_COLLECTD_RRDTOOL_MKGRAPH:-"/usr/sbin/omv-mkgraph"} cat <<EOF >> ${OMV_COLLECTD_CONFIG} LoadPlugin sensors EOF cat <<EOF >> ${OMV_COLLECTD_RRDTOOL_MKGRAPH} # Plugin: sensors TITLE_LOAD="CPU temperature - Fan Speed" COLOR_CPU_CORE_0="#0000fd" # blue COLOR_CPU_CORE_1="#ff0000" # red COLOR_FANSPEED="#00cc00" # green rrdtool graph \${IMGDIR}/sensors-hour.png --start \${HOURSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${HOURTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ DEF:fan1avg=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:AVERAGE \ DEF:fan1pmin=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MIN \ DEF:fan1pmax=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ LINE1:fan1avg\${COLOR_FANSPEED}:"Fan Speed" \ GPRINT:fan1pmin:MIN:"%4.2lf Min" \ GPRINT:fan1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:fan1pmax:MAX:"%4.2lf Max" \ GPRINT:fan1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-day.png --start \${DAYSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${DAYTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ DEF:fan1avg=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:AVERAGE \ DEF:fan1pmin=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MIN \ DEF:fan1pmax=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ LINE1:fan1avg\${COLOR_FANSPEED}:"Fan Speed" \ GPRINT:fan1pmin:MIN:"%4.2lf Min" \ GPRINT:fan1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:fan1pmax:MAX:"%4.2lf Max" \ GPRINT:fan1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-week.png --start \${WEEKSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${WEEKTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ DEF:fan1avg=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:AVERAGE \ DEF:fan1pmin=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MIN \ DEF:fan1pmax=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ LINE1:fan1avg\${COLOR_FANSPEED}:"Fan Speed" \ GPRINT:fan1pmin:MIN:"%4.2lf Min" \ GPRINT:fan1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:fan1pmax:MAX:"%4.2lf Max" \ GPRINT:fan1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-month.png --start \${MONTHSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${MONTHTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ DEF:fan1avg=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:AVERAGE \ DEF:fan1pmin=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MIN \ DEF:fan1pmax=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ LINE1:fan1avg\${COLOR_FANSPEED}:"Fan Speed" \ GPRINT:fan1pmin:MIN:"%4.2lf Min" \ GPRINT:fan1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:fan1pmax:MAX:"%4.2lf Max" \ GPRINT:fan1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-year.png --start \${YEARSTART} \${DEFAULTS} --title "\${TITLE_LOAD}\${YEARTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 \ DEF:cpuc0avg=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc0min=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MIN \ DEF:cpuc0max=\${DATA}/sensors-coretemp-isa-0000/temperature-temp1.rrd:value:MAX \ DEF:cpuc1avg=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:AVERAGE \ DEF:cpuc1min=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MIN \ DEF:cpuc1max=\${DATA}/sensors-coretemp-isa-0001/temperature-temp1.rrd:value:MAX \ DEF:fan1avg=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:AVERAGE \ DEF:fan1pmin=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MIN \ DEF:fan1pmax=\${DATA}/sensors-it8720-isa-0290/fanspeed-fan1.rrd:value:MAX \ LINE1:cpuc0avg\${COLOR_CPU_CORE_0}:"Core 1" \ GPRINT:cpuc0min:MIN:"%4.2lf Min" \ GPRINT:cpuc0avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc0max:MAX:"%4.2lf Max" \ GPRINT:cpuc0avg:LAST:"%4.2lf Last\l" \ LINE1:cpuc1avg\${COLOR_CPU_CORE_1}:"Core 2" \ GPRINT:cpuc1min:MIN:"%4.2lf Min" \ GPRINT:cpuc1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:cpuc1max:MAX:"%4.2lf Max" \ GPRINT:cpuc1avg:LAST:"%4.2lf Last\l" \ LINE1:fan1avg\${COLOR_FANSPEED}:"Fan Speed" \ GPRINT:fan1pmin:MIN:"%4.2lf Min" \ GPRINT:fan1avg:AVERAGE:"%4.2lf Avg" \ GPRINT:fan1pmax:MAX:"%4.2lf Max" \ GPRINT:fan1avg:LAST:"%4.2lf Last\l" \ COMMENT:"\${LASTUPDATE}" >/dev/null EOF
I "restart" all the files but the fan speed doesn't appear in the CPU Tab.What i am doing wrong ?
Thank you
-
-
It looks like you want to graph the fan speed (value for example 5420 rpm) in the same graph as the temp (value for example 62C), while you have already stated that the upper limit of the graph is 80!!!!
-
you're right !!
But I should see the details (Avg, Min , Max, the label fan speed, in green) and this is not the case.I try to have the fan speed on another tab but i did not succeed.
With the the same sensor file , I updated the sensors.js with that
Code
Alles anzeigen/** * Sensors plugin for system information. */ // require("js/omv/NavigationPanel.js") // require("js/omv/PluginMgr.js") // require("js/omv/data/DataProxy.js") // require("js/omv/data/Store.js") // require("js/omv/grid/TBarGridPanel.js") // require("js/omv/RrdGraphPanel.js") Ext.ns("OMV.Module.Diagnostics.SysInfo"); /** * @class OMV.Module.Diagnostics.SysInfo.Temperature * @derived Ext.TabPanel */ OMV.Module.Diagnostics.SysInfo.Temperature = function(config) { var initialConfig = { title: "Temperature", rrdGraphName: "systemp" }; Ext.apply(initialConfig, config); OMV.Module.Diagnostics.SysInfo.Temperature.superclass.constructor.call( this, initialConfig); }; Ext.extend(OMV.Module.Diagnostics.SysInfo.Temperature, OMV.RrdGraphPanel, { }); OMV.preg("sysinfo", "system", OMV.Module.Diagnostics.SysInfo.Temperature); /** * @class OMV.Module.Diagnostics.SysInfo.FanSpeed * @derived Ext.TabPanel */ OMV.Module.Diagnostics.SysInfo.FanSpeed = function(config) { var initialConfig = { title: "Fan speed", rrdGraphName: "fanspeed" }; Ext.apply(initialConfig, config); OMV.Module.Diagnostics.SysInfo.FanSpeed.superclass.constructor.call( this, initialConfig); }; Ext.extend(OMV.Module.Diagnostics.SysInfo.FanSpeed, OMV.RrdGraphPanel, { }); OMV.preg("sysinfo", "system", OMV.Module.Diagnostics.SysInfo.FanSpeed);
I have the new tab nut :
With "rrdGraphName: "fanspeed" ' I have no graph ,
with "rrdGraphName: "sensors" (the fan sensor is in the same sensor "module"), i have only the CPU temp.I'm mssing one thing but i don't know what
thanks
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!