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?
Beiträge von johny_sketo
-
-
No sensors inside the localhost??? Strange... :? Have you installed lm-sensors???
-
-
I recently managed to install OMV on my RPi. After having some problems with the plugins I finally find the correct way installing everything. I saw that the interface graps, under system does not appear. I checked the collectd interface plugin and it looks ok but it does not create the graph images. Does anybody else, with Rpi, have the same issue? Does anybody know how to solve this issue?
-
Thank you for your help
-
So is it normal to have less plugins?
-
Based on this topic
I created a template to graph the RPi SoC temperature.
First of all
and put insideCode
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.Temperatures * @derived Ext.TabPanel */ OMV.Module.Diagnostics.SysInfo.Temperature = function(config) { var initialConfig = { title: "CPU temperature", rrdGraphName: "sensors" }; 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);
Then you have to create another file to get your changes in to collectd.conf and omv-mkgraph:
and put insideBash
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} # Read temperature from sensor tempread=\`cat /sys/class/thermal/thermal_zone0/temp\` tempread=\$((\$tempread/1000)) value=\`echo \$tempread | cut -c -4\` # Update database rrdtool update \${DATA}/database.rrd N:\$value # Create graphs rrdtool graph \${IMGDIR}/sensors-hour.png --start \${HOURSTART} \${DEFAULTS} --title "Temperature\${HOURTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 DEF:cpumin=\${DATA}/database.rrd:value:MIN DEF:cpuavg=\${DATA}/database.rrd:value:AVERAGE DEF:cpumax=\${DATA}/database.rrd:value:MAX LINE1:cpuavg#0000FF:"SoC" GPRINT:cpumin:MIN:"%4.2lf Min" GPRINT:cpuavg:AVERAGE:"%4.2lf Avg" GPRINT:cpumax:MAX:"%4.2lf Max" GPRINT:cpuavg:LAST:"%4.2lf Last [DEG C]\l" COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-day.png --start \${DAYSTART} \${DEFAULTS} --title "Temperature\${DAYTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 DEF:cpumin=\${DATA}/database.rrd:value:MIN DEF:cpuavg=\${DATA}/database.rrd:value:AVERAGE DEF:cpumax=\${DATA}/database.rrd:value:MAX LINE1:cpuavg#0000FF:"SoC" GPRINT:cpumin:MIN:"%4.2lf Min" GPRINT:cpuavg:AVERAGE:"%4.2lf Avg" GPRINT:cpumax:MAX:"%4.2lf Max" GPRINT:cpuavg:LAST:"%4.2lf Last [DEG C]\l" COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-week.png --start \${WEEKSTART} \${DEFAULTS} --title "Temperature\${WEEKTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 DEF:cpumin=\${DATA}/database.rrd:value:MIN DEF:cpuavg=\${DATA}/database.rrd:value:AVERAGE DEF:cpumax=\${DATA}/database.rrd:value:MAX LINE1:cpuavg#0000FF:"SoC" GPRINT:cpumin:MIN:"%4.2lf Min" GPRINT:cpuavg:AVERAGE:"%4.2lf Avg" GPRINT:cpumax:MAX:"%4.2lf Max" GPRINT:cpuavg:LAST:"%4.2lf Last [DEG C]\l" COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-month.png --start \${MONTHSTART} \${DEFAULTS} --title "Temperature\${MONTHTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 DEF:cpumin=\${DATA}/database.rrd:value:MIN DEF:cpuavg=\${DATA}/database.rrd:value:AVERAGE DEF:cpumax=\${DATA}/database.rrd:value:MAX LINE1:cpuavg#0000FF:"SoC" GPRINT:cpumin:MIN:"%4.2lf Min" GPRINT:cpuavg:AVERAGE:"%4.2lf Avg" GPRINT:cpumax:MAX:"%4.2lf Max" GPRINT:cpuavg:LAST:"%4.2lf Last [DEG C]\l" COMMENT:"\${LASTUPDATE}" >/dev/null rrdtool graph \${IMGDIR}/sensors-year.png --start \${YEARSTART} \${DEFAULTS} --title "Temperature\${YEARTITLE}" --slope-mode --upper-limit 80 --lower-limit 0 --units-exponent 0 DEF:cpumin=\${DATA}/database.rrd:value:MIN DEF:cpuavg=\${DATA}/database.rrd:value:AVERAGE DEF:cpumax=\${DATA}/database.rrd:value:MAX LINE1:cpuavg#0000FF:"SoC" GPRINT:cpumin:MIN:"%4.2lf Min" GPRINT:cpuavg:AVERAGE:"%4.2lf Avg" GPRINT:cpumax:MAX:"%4.2lf Max" GPRINT:cpuavg:LAST:"%4.2lf Last [DEG C]\l" COMMENT:"\${LASTUPDATE}" >/dev/null #0000FF means blue trace color in the graphs. EOF
Then you have to create the temperature databaseand put inside
Bash
Alles anzeigen#!/bin/bash rrdtool create database.rrd --start N --step 300 \ DS:value:GAUGE:600:U:U \ RRA:AVERAGE:0.5:1:12 \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:12:168 \ RRA:AVERAGE:0.5:12:720 \ RRA:AVERAGE:0.5:288:365 \ RRA:MIN:0.5:1:12 \ RRA:MIN:0.5:1:288 \ RRA:MIN:0.5:12:168 \ RRA:MIN:0.5:12:720 \ RRA:MIN:0.5:288:365 \ RRA:MAX:0.5:1:12 \ RRA:MAX:0.5:1:288 \ RRA:MAX:0.5:12:168 \ RRA:MAX:0.5:12:720 \ RRA:MAX:0.5:288:365
Afterwards you have to make it executableand then run it
. This should create a file inside the folder named database.rrd. which will store all the temp data. After that, log in the webgui, go to the System information-> System->Temperature tab. After some minutes you should get you SoC temp
The next step is to graph also the CPU freq parallel to the temp graph (for those who overclocked the SoC)
-
I just noticed something strange... I am stack at ver 4.0.1, I cannot update to 4.6 e.t.c. and I cannot see all the plugins (for example transmission) :shock:
The contents of my source files are
/etc/apt/sources.listCodedeb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free r$ deb http://archive.raspbian.org/raspbian wheezy main deb-src http://archive.raspbian.org/raspbian wheezy main
/etc/apt/sources.list.d/omv-plugins-org-fedaykin.list
/etc/apt/sources.list.d/omv-local.list EMPTY
/etc/apt/sources.list.d/omv-plugins-org-fedaykin.listAny help???
-
Thank you! With your reply and forums.openmediavault.org/viewtopic.php?f=13&t=1169 I managed to see plugins.
-
I erased by mistake my OMV installation from my Raspberry Pi and I had to reinstalled it. I installed the wheezy-rasbian image and removed a lot packages to make it lighter
Then, I used this guide
Codehttps://www.element14.com/community/groups/raspberry-pi/blog/2012/12/14/raspberry-pi-nas-with-openmediavault
and I succefully installed OMV again.
I saw that I could not install any plugins or view the plug in list. I get the following errorCodeError #4000: exception 'OMVException' with message 'Failed to execute command 'export LANG=C;sudo dpkg-query --list openmediavault-*': ' in /var/www/openmediavault/rpc/plugin.inc:186 Stack trace: #0 [internal function]: PluginRpc->getList(Array) #1 /usr/share/php/openmediavault/rpc.inc(262): call_user_func_array(Array, Array) #2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('Plugin', 'getList', Array) #3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle() #4 {main}
I checked the
Code/etc/apt/sources.list /etc/apt/sources.list.d/omv-plugins-org-fedaykin.list /etc/apt/sources.list.d/omv-local.list /etc/apt/sources.list.d/openmediavault.list
with another working OMV installation I have and they were the same, exept the one os i386 based and the other arm based.
I also tried
but nothing changed. Can anyone help?
-
-
-
Check the permissions of the folder you configured before (lets say /tmp at my example). Does your user have permission to read and write to this folder?
-
Zitat von "Cissou"
Hi,
I have installed the owncloud 4.5.1
everything worked except for login in the omv gui :
error message :
From the first Page:
......
At this step you will not be able to login at the OMV webgui page, you will get an error. Use WinSCP. locate php.ini in the
find the
, remove the
in front and edit as
.....
Hope this helps.
-
I believe it worked!
-
I am glad it worked, even with this combination
-
Zitat von "Jawa24"
Thank you !! :mrgreen:.. login "admin" and password of second user of Nas (??!) .. don't understand..
Thank You again JohnyI am glad it worked :mrgreen:
-
Try your OMV webgui credentials or admin and your webgui password
-
Zitat von "Jawa24"
For the Pyload program , the user /password "admin" don't work.
I have tried all differents passwords listed here and nope..
Try your OMV webgui credentials or admin and you omv webgui password -
Is there any way to set rrd showing cpu temp of the Rpi? I tried the "sensors" way (collectd) but did not help. I know that the system measures cpu temp at
as seen at
but I do not know how to create an rrd graph with it. Does anybody know how can we do this?