How to setup hardware monitoring?

Status
Not open for further replies.

TFL

Cadet
Joined
Jul 2, 2018
Messages
3
I installed FreeNAS on a WD PR4100 NAS. It runs from a USB flash drive.
The box has a fan, 2 line LCD and several temperature sensors that can be controlled via UART over /dev/ttyu3 (as of FreeNAS 11.2).
I ported this control script to BSD and got it running in a jail with devfs_ruleset 0. It requires python2, py27-serial and pip.
The script tries to shutdown the NAS when it overheats... but this can't be done from a jail...

Where is the best place to install / setup these hardware monitoring scripts?
Does it make sense to put all this in a jail?
Should I use the startup/shutdown tasks?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Because of the very custom nature of this, you may need to make a custom build of FreeNAS from the source code and integrate these changes.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

TFL

Cadet
Joined
Jul 2, 2018
Messages
3
Last edited:
Status
Not open for further replies.
Top