Results 1 to 5 of 5
  1. #1
    Newbie
    Join Date
    Jan 2019
    Posts
    8

    Default LM-sensors installation. Monitor CPU temp as box keeps crashing

    Hey everyone,
    Ive been using untangle and love it but recently it seems Im having temp issues and would like to install LM-sensors.

    But every time I run the command apt-get install LM-sensors it wouldnt allow me to install.

    apt-get install lm-sensors
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package lm-sensors is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'lm-sensors' has no installation candidate

    Any ideas?

  2. #2
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    7,814

    Default

    Packages on UT are set to only our package servers. The entire Debian package library is not available.
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Untangler
    Join Date
    Jan 2019
    Posts
    37

    Default

    There are a few threads requesting a way to read CPU temperatures.
    There is also a feature request for that:
    https://untanglengfirewall.featureup...-default-alert

    I dug a bit to try to find a way that does not need any package installation.
    I found something that works for me (Intel i5-7200U) based on the following threads:
    https://askubuntu.com/questions/1059...party-software
    https://unix.stackexchange.com/quest...-class-thermal

    The most useful one is this:

    Code:
    paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1C/' | grep x86_pkg_temp
    If you get nothing, remove the grep and see what you get. Normally the x86_pkg_temp line is where the (max) CPU temp is. For me, the other lines are dead (i.e. constant).

    To get per-core temps:
    Code:
    paste <(cat /sys/devices/platform/coretemp.0/hwmon/hwmon*/temp*_label) <(cat /sys/devices/platform/coretemp.0/hwmon/hwmon*/temp*_input) | column -s $'\t' -t | sed 's/\(.\)..$/.\1C/'
    Note: I am not a bash wizard in any way, I just cobbled this from some of the comments on the threads referenced above.
    Last edited by LaurentR; 02-24-2019 at 11:10 PM.

  4. #4
    Untangler
    Join Date
    Jul 2018
    Posts
    85

    Default

    Works for me running on a ZOTAC ZBOX CI547 Nano

  5. #5
    Newbie
    Join Date
    Apr 2019
    Posts
    13

    Default

    This also works for me on my Qotom box. It'd be nice to see these brought through into the system information alongside cpu, memory etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2