"SimpleFeatures" Plugin - Version 1.0.11



Recommended Posts

Thank you for the reply.

 

Yes I ran it in the CLI, I also tried it in my go script and rebooted... :(

I did notice that the labels in your sensors.conf for temp2 & temp3 need to be "CPU Temp" & "MB Temp" instead of processor and mainboard.  But you should get more than core temp from the sensors command if you run it after.modprobe.

 

Link to comment
  • Replies 2.8k
  • Created
  • Last Reply

Top Posters In This Topic

pardon me for asking, but how do i set email notification only to send email when theres something wrong? as of now, it sends an email every 60 minutes. what is the recommended way to set up email notification?

 

thanks.

I think you set "email frequency" to zero. I have mine set to 1440 (once per day). It checks every "check frequency" and sends an email if something is wrong, otherwise it sends an email every "email frequency".

Link to comment

I fixed one of the errors by opening simpleFeatures.itunes.server-1.0.11-noarch-1.plg in Notepad++ and replacing "sqlite-3.7.14.1-i486-1.txz" with "sqlite-3.7.16-i486-1.txz"

 

The other error might possibly be fixed by doing a similar edit but the project download page: http://code.google.com/p/unraid-simplefeatures/downloads/list is missing the preclear.txz file/link

 

It was removed on purpose.  See this post:

 

http://lime-technology.com/forum/index.php?topic=26121.0

Link to comment

Here's what worked for me on am ASROCK B75 Pro-3

 

Modules to load:

modprobe w83627ehf

 

sensors.conf:

# lm-sensors config

chip "nct6776-isa-0290"

   label temp1 "CPU Temp"
   label temp2 "MB Temp"

 

I have an Asrock B75 Pro3-M and the above config didn't worked for me. Here's the config that worked for me

 

Modules to load:

modprobe w83627ehf

 

sensors.conf:

# lm-sensors config

chip "nct6776-isa-0290"

label temp5 "CPU Temp"
label temp1 "MB Temp"
label fan3 "Rear Fan"
label fan2 "CPU Fan"

Link to comment

I have the Pro3-M as well and I believe temp5 is incorrect. There is not temp5 listed, if you want to can type "sensors" in telnet, and you will see the temperatures. Temp2 should be CPUTIN which be doing the label change it changes it to CPU Temp as seen by the output below. The only thing I dont understand is why in one chip it shows CPUTIN as 28C, yet for the coretemp adaptor it shows physical id 0 as 34C (which I imagine is the actual CPU temp). Does the mobo have a redundant sensor on the MB to check for the CPU temp or something?

 

Ignore post, see next post for correct place to pull CPU temp from.

 

Link to comment

I can build us a proper functioning sensors with the right voltage listed for 12V and 5V. But I need everyone with a Asrock B75 Pro3-M board to send me a complete list of their voltages as shown in the bios. Please send me a text if you have this motherboard and I will post the sensor file this motherboard. Thanks.

FOR ASROCK B75 Pro3-M!!!!

EDIT: Nvm, thanks to some fortuitous issue with my bios, I was able to see the voltage flip between two points. It seems this gave me enough information to deduce the correct scaling factor (info on how to calculate it is here, In my case it was jumping between two points so it gave me the first part of the puzzle). I am including the code below so you can copy paste, but also attaching the file if you just want to drop it in to overwrite it.

NOTE1: CPUTIN on motherboard is not the CPU temperature, its something else it seems. No idea what AUXTIN is. PECI Temperature it seems may be close to the CPU temp, but why risk it and not just get it from the correct sensor anyways. I have left those 3 temperatures  in the output anyways. Please remember to reboot for changes to take effect.

 

Edit2: Does anyone know how create a wiki page where we can put together the various configs? going through 165 pages is a bit complicated.

 

Per posts by previous people (someone posted the part about go code on pg 165 and krasv with the correct modprobe to load. Thanks.

 

I added the following to the "go" script in /boot/config (Note, adjust the path to match location of your sensors.conf please)

modprobe w83627ehf
cp /boot/custom/sensors.conf /etc/sensors.d

 

Below is the code or see attached sensors.conf

#lm-sensors config for ASROCK B75-Pro3-M by Necrotic

#This are the settings for the motherboard chip
chip "nct6776-isa-0290"

    #Setting up parameters I know to be true and minimum levels for fans. At 300 RPM I believe it should be enough to take into account any slowing of the fans due to automatic speed settings but enough to trigger if they stop.
    label temp1 "MB Temp"
    label fan3 "Rear Fan"
    set fan3_min 300
    label fan2 "CPU Fan"
    set fan2_min 300

    #Unsure what in4 is so ignored
    ignore in4

    #CPU Fan2 doesn't show up in sensors from my experience. Chasis fan is unknown since I dont have one. If you figure it out, you can add the label and comment out the ignore for the fan below and set your min fan speed.
    ignore fan1
    ignore fan4
    ignore fan5

    #Setting the voltage limits within 5% of reference for the 3.3V lines
    set in3_min 3.3 * 0.95
    set in3_max 3.3 * 1.05
    set in2_min 3.3 * 0.95
    set in2_max 3.3 * 1.05

    #Setting label, computing voltage with scaling factor and setting limits within 5%
    label in1 "+12V"
    compute in1 @ * (53/8), @ / (53/8)
    set in1_min 12 * 0.95
    set in1_max 12 * 1.05

    label in5 "+5V"
    compute in5 @ * (24/8), @ / (24/8)
    set in5_min 5 * 0.95
    set in5_max 5 * 1.05

    # I dont have intrusion detection systems, so I have ignored these values as they are just giving me an ALARM.
    ignore intrusion0
    ignore intrusion1

    #I get 0 for the following value so i set it to ignore.
    ignore cpu0_vid

#settings for sensor on CPU. I have included this to get the correct CPU Temp. I think this may vary if you have 4 or more cores, I only have 2.
chip "coretemp-isa-0000"

    label temp1 "CPU Temp"

 

sensors.conf

Link to comment

Did you load a custom module? When i tried that (nothing to lose) i got

root@Icarus:~# modprobe w83627ehf
FATAL: Error inserting w83627ehf (/lib/modules/3.4.36-unRAID/kernel/drivers/hwmon/w83627ehf.ko): No such device

 

I also tried the it87 module but something very weird is going on.

root@Icarus:/lib/modules/3.4.36-unRAID/kernel/drivers/hwmon# modprobe it87
FATAL: Error inserting it87 (/lib/modules/3.4.36-unRAID/kernel/drivers/hwmon/it8                                                  7.ko): No such device
root@Icarus:/lib/modules/3.4.36-unRAID/kernel/drivers/hwmon# ls
asus_atk0110.ko  fam15h_power.ko  hwmon.ko  k10temp.ko  w83627ehf.ko
coretemp.ko      hwmon-vid.ko     it87.ko   k8temp.ko   w83627hf.ko
root@Icarus:/lib/modules/3.4.36-unRAID/kernel/drivers/hwmon#

Link to comment

Its up a few posts, i need the it87 (which i cannot get to load/work)

 

"

Missing Temp in UNraid.

 

Can anyone please help. (motherboard is ASUS F1A75-M LE)

 

my sensors.conf is as follows

# ASUS F1A75-M motherboard with AMD APU (and Radeon Graphics)
# K. J. Cheetham, October 2012

chip "it8728-isa-*"

    # Voltages

    label in0 "Vcore"
    set in0_min 1.0
    set in0_max 1.5

    ignore in1 # Always 2.22 - don't know why

    label in2 "+12V"
    compute in2 @ * (77/12), @ / (77/12)
    set in2_min 12 * 0.95
    set in2_max 12 * 1.05

    label in3 "+5V1"
    compute in3 @ * (30/12), @ / (30/12)
    set in3_min 5 * 0.95
    set in3_max 5 * 1.05

    label in4 "+5V2"
    compute in4 @ * (30/12), @ / (30/12)
    set in4_min 5 * 0.95
    set in4_max 5 * 1.05

    ignore in5 # Always 2.22 - don't know why
    ignore in6 # Always 2.22 - don't know why

    label in7 "3VSB"
    set in7_min 3.3 * 0.95
    set in7_max 3.3 * 1.05

    label in8 "Vbat"

    # Temperatures

    label temp1 "CPU Temp"
    label temp2 "M/B Temp"
    ignore temp3 # Not used; always +127.0C

    # Fans

    label fan1 "CPU Fan"
    set fan1_min 600
    label fan2 "Chassis Fan"
    set fan2_min 600
    label fan3 "PSU Fan"
    set fan3_min 600
    ignore fan4 # Not used

    label intrusion0 "Intrusion"

chip "k10temp-pci-*"

   label temp1 "Core Temp"

chip "radeon-pci-*"

   label temp1 "GPU Temp"

 

After i did

cp /boot/extra/sensors.conf /etc/sensors.d
modprobe it87

 

All i get is

root@Icarus:~# sensors
k10temp-pci-00c3
Adapter: PCI adapter
Core Temp:    +16.5 C  (high = +70.0 C)
                       (crit = +70.0 C, hyst = +69.0 C)

 

And i tried this sensors.conf

#David Thorarinsson explained me that all the 'set' lines should be after the compute ones,
#this is now fixed,
chip "it87-*"

# The values below have been tested on Asus CUSI, CUM motherboards.
# Voltage monitors as advised in the It8705 data sheet

    label in0 "VCore"
    label in1 "Vcc2.5V"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "SB 5V"
    label in8 "V battery"

    # vid not monitored by IT8705F
    ignore  vid

# For this family of chips the negative voltage equation is different from
# the lm78.  The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
# data sheet is wrong)

# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.

#    compute in2 (1 + 1)*@ ,       @/(1 + 1)
    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((30/10) +1)*@  , @/((30/10) +1)

# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.

# Formula:
#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
#    For -12V input use Rin/Rf = 6.68
#    For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:

    compute in5 -(36/10)*@, -@/(36/10)
#(7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
    compute in6 -(56/10)*@, -@/(56/10)
#(4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

    set in0_min 1.7 * 0.95
    set in0_max 1.7 * 1.05
    set in1_min 2.4
    set in1_max 2.6
    set in2_min 3.3 * 0.95
    set in2_max 3.3 * 1.05
    set in3_min 5.0 * 0.95
    set in3_max 5.0 * 1.05
    set in4_min  12 * 0.95
    set in4_max  12 * 1.05
    set in5_min -12 * 0.95
    set in5_max -12 * 1.05
    set in6_min  -5 * 0.95
    set in6_max  -5 * 1.05
    set in7_min   5 * 0.95
    set in7_max   5 * 1.05

# Temperature

    label temp3       "Processor"
    set   temp3_over  40
    set   temp3_hyst  20
    label temp2       "Mainboard"
    set   temp2_over  45
    set   temp2_hyst  25
    ignore temp1

# Fans

    label fan1"Processor's Fan"
    set fan1_min 2000
    ignore fan3
    ignore fan2
#
#  If you have a system fan, comment 'ignore fan2'
#  and uncomment the following lines :
#  Thanks to gro.reirual@erreip
#
#    label fan2        "System Fan"
#    set   fan2_min    3000
#    set   fan2_div    4

 

<--- Lost ...  :'(

 

Server Specs:

 

unRAID Version:	unRAID Server Plus, Version 5.0-rc12a
Motherboard:	 ASUSTeK Computer INC. - F1A75-M LE
Processor:	 AMD A6-3670 APU with Radeon(tm) HD Graphics - 2.7 GHz
Cache:	 L1 CACHE = 512 kB (max. 512 kB)
L2 CACHE = 4096 kB (max. 4096 kB)
L1 CACHE = 512 kB (max. 512 kB)
L2 CACHE = 4096 kB (max. 4096 kB)
Memory:	 32768 MB (max. 16 GB)
8192 MB = A1_BANK0, 1333 MHz
8192 MB = A1_BANK1, 1333 MHz
8192 MB = A1_BANK0, 1333 MHz
8192 MB = A1_BANK1, 1333 MHz
Network:	eth0: 1000Mb/s - Full Duplex
Uptime:	 0 days, 3 hrs, 48 mins, 42 secs

--MOBO

Manufacturer:	ASUSTeK Computer INC.
Product Name:	F1A75-M LE
Version:	Rev X.0x
Serial Number:	MF70B7XXXXXXXXX
Asset Tag:	To be filled by O.E.M.
Features:	 Board is a hosting board
Board is replaceable
Location In Chassis:	To be filled by O.E.M.
Type:	Motherboard
Base Board Information	
Manufacturer:	ASUSTeK Computer INC.
Product Name:	F1A75-M LE
Version:	Rev X.0x
Serial Number:	MF70B7G0XXXXXXXX
Asset Tag:	To be filled by O.E.M.
Features:	 Board is a hosting board
Board is replaceable
Location In Chassis:	To be filled by O.E.M.
Type:	Motherboard

 

(random temp guide here http://www.tldp.org/HOWTO/K7s5a-HOWTO-3.html)

"

Link to comment

...

 

Well, for some reason your modprobe command isn't working. I don't know enough to fix that. If you get it to work, I can help you get the config right but until that point its up to you. Sorry.

 

Edit: for reference I found the following link. shows a different scaling factor for the voltages, but it isnt the LE board aparently.

Link to comment

How does one get into the simple features web gui after install? I downloaded the .ZIP, created a folder called "plugins" on the root of my flash drive, copied all of the PLG files into the new "plugins" folder, stopped the array, rebooted, re-started the array and I still have the standard gui at . What else needs to be done that's not listed in the instructions?

 

I'm on unRAID Server Plus version: 5.0-rc12a

Link to comment

pyrater,

 

Try this.  I got the same error because there isn't a driver for our sensor chips.  Mine is an IT8771 and yours is an IT8728

 

modprobe it87 force_id=0x8721

 

You'll also have to change this line in your sensors.conf

 

chip "it8728-isa-*"

 

to

 

chip "it8721-*"

 

Also change  the labels in your sensors.conf for temp2 & temp3 to "CPU Temp" & "MB Temp" instead of processor and mainboard.

Link to comment

Hi Switchblade

 

I'm using a Supermicro C2SEA and have the temp sensors working, this is my config - hope it helps!  :)

 

go

# Update Sensors Config
cp /boot/custom/sensors.conf /etc/sensors.d/sensors.conf
modprobe w83627ehf force_id=0x8860

 

sensors.conf

# lm-sensors config for Supermicro C2SEA board

chip "w83627ehf-isa-0290"

   label temp1 "CPU Temp"
   label temp2 "MB Temp"
   ignore temp3

# chip "coretemp-isa-0000"

 

@ Jack0w - do you think the temp readings you see in SF are correct?  There doesn't seem to be a simple way of confirming the readings are correct, with our motherboards.  If I go into bio setup, the System temp shows about what SF is reading, but the CPU temp only says "low", "med", or "high", not too much help.  However, mine does say "low"

 

When I'm running Plex and it's transcoding, the cpu will go to about 85%, maybe a little more.  However, the temp in SF for cpu only goes up a little, while the MB temp goes up.  That may indicate that the two sensors are backwards.  I did try switching the two labels around in the sensors.conf file, but it still doesn't seem right.

 

I wish there was another way to confirm what the real mb and cpu temp readings are and confirm SF is correct.

 

What kind of temp readings are you seeing?

 

Thanks!

Link to comment

(posting here as well as the Web Server page as this appears to be the master SimpleFeatures support thread)

Im really Really confused on how to enable this plugin.

 

Ive installed the plugin, and if I just go stratight to the settings and click ENABLE, and then navigate to IPOFTOWER:81 i get a message telling me to move the root directory to a permant location.

 

So i go back to the settings, and change the Web Root Directory to:

/mnt/cache/www

and click APPLY, i notice in the upper right, it says DISABLED...I rebooted the tower, same thing.

 

I have a SHARE called WWW on my CACHE drive

 

Ive also tried:

/mnt/cache/appdata/web

 

as appdata is where SAB/CP/SB/ are all installed and work perfectly, but same thing...cant get the plugin to go to ENABLED.

 

Any thoughts? Im sure whatever it is im missing is simple.

 

Many Thanks!

Link to comment

Hi Switchblade

 

I'm using a Supermicro C2SEA and have the temp sensors working, this is my config - hope it helps!  :)

 

go

# Update Sensors Config
cp /boot/custom/sensors.conf /etc/sensors.d/sensors.conf
modprobe w83627ehf force_id=0x8860

 

sensors.conf

# lm-sensors config for Supermicro C2SEA board

chip "w83627ehf-isa-0290"

   label temp1 "CPU Temp"
   label temp2 "MB Temp"
   ignore temp3

# chip "coretemp-isa-0000"

 

@ Jack0w - do you think the temp readings you see in SF are correct?  There doesn't seem to be a simple way of confirming the readings are correct, with our motherboards.  If I go into bio setup, the System temp shows about what SF is reading, but the CPU temp only says "low", "med", or "high", not too much help.  However, mine does say "low"

 

When I'm running Plex and it's transcoding, the cpu will go to about 85%, maybe a little more.  However, the temp in SF for cpu only goes up a little, while the MB temp goes up.  That may indicate that the two sensors are backwards.  I did try switching the two labels around in the sensors.conf file, but it still doesn't seem right.

 

I wish there was another way to confirm what the real mb and cpu temp readings are and confirm SF is correct.

 

What kind of temp readings are you seeing?

 

Thanks!

 

Switchblade, copy over your ourput from typing "sensors" (make sure its complete). Also take a picture inside the bios of the temperatures shown, along with the voltages shown in bios as well (if you see the voltage flipping around two values, make sure you let me know both voltages shown for every point).

 

 

 

Link to comment

Ok, here is the output from sensors command, about 4 minutes after the bios screenshots:

 

root@Tower:~# sensors

coretemp-isa-0000

Adapter: ISA adapter

Core 0:      +48.0 C  (high = +76.0 C, crit = +100.0 C)

Core 1:      +48.0 C  (high = +76.0 C, crit = +100.0 C)

Core 2:      +41.0 C  (high = +76.0 C, crit = +100.0 C)

Core 3:      +46.0 C  (high = +76.0 C, crit = +100.0 C)

 

w83627ehf-isa-0290

Adapter: ISA adapter

Vcore:        +1.12 V  (min =  +0.92 V, max =  +1.48 V)

in1:          +1.85 V  (min =  +1.65 V, max =  +1.99 V)

AVCC:        +3.33 V  (min =  +2.96 V, max =  +3.63 V)

+3.3V:        +3.33 V  (min =  +1.09 V, max =  +0.83 V)  ALARM

in4:          +1.57 V  (min =  +1.35 V, max =  +1.65 V)

in5:          +1.27 V  (min =  +1.13 V, max =  +1.38 V)

in6:          +1.43 V  (min =  +1.42 V, max =  +1.52 V)

3VSB:        +3.33 V  (min =  +2.96 V, max =  +3.63 V)

Vbat:        +3.26 V  (min =  +2.96 V, max =  +3.63 V)

in9:          +0.00 V  (min =  +1.24 V, max =  +1.31 V)  ALARM

fan1:        1814 RPM  (min =  712 RPM, div = 8)

fan2:        2057 RPM  (min =  712 RPM, div = 8)

fan3:        1188 RPM  (min =  712 RPM, div = 8)

fan4:        1125 RPM  (min =  712 RPM, div = 8)

fan5:        1041 RPM  (min =  712 RPM, div = 8)

CPU Temp:    +44.0 C  (high = +60.0 C, hyst = +55.0 C)  sensor = thermistor

MB Temp:      +41.0 C  (high = +80.0 C, hyst = +75.0 C)  sensor = CPU diode

cpu0_vid:    +1.513 V

intrusion0:  ALARM

SF_homescreen.jpg.99ec74bab0d77bb47b9ca2083408f7af.jpg

bios_temps_volts_sm.jpg.b2def4b30bb467f68b15046db984d0a7.jpg

Link to comment

What kind of temp readings are you seeing?

 

Hi Switchblade

 

I finally got around to checking out my temperatures properly... at idle now I'm seeing CPU: 40c & MB: 34c

 

After transcoding a video for a few minutes in Plex I'm seeing them rise CPU: 45c & MB: fluctuates around 39c - 49c

 

I think its very likely these aren't correct... so well spotted! As I clearly hadn't taken the time to test them thoroughly enough!!  ::)

Link to comment

Ok, at least we have the same results.  The only difference is that my MB temp goes up higher than yours, and even goes higher than the cpu reading, which I also do not think is correct.

 

So how do we go about correcting this and getting the real readings?

Link to comment

Switchblade,

 

The cpu temperature is an issue because you dont have a general cpu temp sensor showing (the one youre trying to read is on the motherboard and those tend to not be very accurate, I know in mine it isnt right, but I have a general CPU temp as part of the first part of sensors so I used that).

I dont know if you could just create a new temperature by doing "compute temp5" and then doing an average of temp1-4 for the coretemp-isa-0000 (unlikely this would work), instead you may just set core0 (which is temp1 on that chip) as your CPU temp. It won't be perfect since its just one core youre actually measuring, but normally i think it runs core0 first before turning on others(I think). If theyre all running, they all go up in temperature. So under the coretemp you can just set: label temp1 "CPU Temp" and erase it from the motherboard side

For the voltages, did the voltage in bios stay the same all the time? never flipped a tiny bit? if so youre going to need some other ppl to contribute their voltages for the same board so we can find the right conversion factor.

Link to comment
  • 3 weeks later...

i have just noticed that after upgrading to 5.0-rc11 with SF Version 1.0.11 i can not kill any process @

 

Utils/ActivityMonitor

 

any input will be appreciated

 

thanks

 

Have the same issue....seems to be inactive.

 

any updates regard this matter?  :(

 

thanks

 

would someone look at this matter please  :'(

 

thank you.

 

sorry to bother. but i hope if this one is being solved :-[

 

thank you.

Link to comment

Switchblade,

 

The cpu temperature is an issue because you dont have a general cpu temp sensor showing (the one youre trying to read is on the motherboard and those tend to not be very accurate, I know in mine it isnt right, but I have a general CPU temp as part of the first part of sensors so I used that).

I dont know if you could just create a new temperature by doing "compute temp5" and then doing an average of temp1-4 for the coretemp-isa-0000 (unlikely this would work), instead you may just set core0 (which is temp1 on that chip) as your CPU temp. It won't be perfect since its just one core youre actually measuring, but normally i think it runs core0 first before turning on others(I think). If theyre all running, they all go up in temperature. So under the coretemp you can just set: label temp1 "CPU Temp" and erase it from the motherboard side

For the voltages, did the voltage in bios stay the same all the time? never flipped a tiny bit? if so youre going to need some other ppl to contribute their voltages for the same board so we can find the right conversion factor.

 

I didn't notice any voltages flipping, but I can take another look.  It sounds like you are expecting one of the voltage readings to flip back and forth, but which one are you expecting to do this?

 

As for your advice, I'm not clear on what you are suggesting that I change.  Here is what I have in my sensors.conf file,

 

# lm-sensors config for Supermicro C2SEA board

 

chip "w83627ehf-isa-0290"

 

  label temp1 "CPU Temp"

  label temp2 "MB Temp"

  ignore temp3

 

# chip "coretemp-isa-0000"

 

Thanks for your help.

Link to comment
  • Squid locked this topic
Guest
This topic is now closed to further replies.