hardware monitor application

Issues related to applications and software problems
Post Reply
Posts: 43
Joined: 2018/02/17 19:09:47

hardware monitor application

Post by john2018 » 2018/03/07 21:56:11

Is there a decent hardware application that reports system temps, fans and voltages etc?
Something that runs in real time mirroring the UEFI bios info would be perfect.

Is there anything or anything close?
(Something I don't have to jump through hoops to install ideally)


User avatar
Forum Moderator
Posts: 2777
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland

Re: hardware monitor application

Post by avij » 2018/03/07 22:17:37

Some server vendors provide their own management software. For example, I'm happy with Dell's OpenManage Server Administrator which provides a nice omreport tool for getting all kinds of information from the system.

User avatar
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: hardware monitor application

Post by TrevorH » 2018/03/07 22:41:41

The lm_sensors package does a fairly good job if the hardware is old enough to be supported. Just yum install lm_sensors then run sensors-detect as root - possibly at a time when it won't matter if it crashes your server... it never has for me but it does give some nasty looking warnings when you run it.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Posts: 1448
Joined: 2015/02/17 15:14:33
Location: Bulgaria

Re: hardware monitor application

Post by hunter86_bg » 2018/03/08 13:32:11

Also lm_sensors have a configuration folder (/etc/sensors.d) where you can create your own configuration and manage the alarm levels.
Here is a short example:

Code: Select all

chip "nct6776-isa-0290"
	label temp1 "VRM TEMP"
  	label temp2 "SOCKET TEMP"
	set temp1_max 65
  	set temp1_max_hyst 60
	set in1_min 1.748
	set in1_max 1.932
	set in4_min 1.406
	set in4_max 1.554
	set in5_min 1.577
	set in5_max 1.743
	set in6_min 0.683
	set in6_max 0.836
	ignore intrusion0
	ignore intrusion1
	ignore temp7
	ignore temp8
	ignore temp9
Another configuration file is '/etc/sysconfig/lm_sensors', while the service file is 'lm_sensors.service'.
And here is a short example of a script that monitors the temps:

Code: Select all

# cat /usr/local/bin/TEMP_MON.sh

STATUS=$(/bin/sensors | grep ALARM)

if [ -z "$STATUS"  ] 
	then exit 0;

		echo "There is a problem with YOUR TEMPERATURES.Promlem is: $STATUS" >&2
		echo "TEMP_MON detected issues.Problem is: $STATUS" | mail -s TEMP_MON hunter86_bg@yahoo.com
exit 0

Posts: 43
Joined: 2018/02/17 19:09:47

Re: hardware monitor application

Post by john2018 » 2018/03/10 10:36:34

thanks I'll check those out.

User avatar
Posts: 223
Joined: 2005/09/07 23:04:21
Location: .au

Re: hardware monitor application

Post by bluegroper » 2018/03/11 02:27:18

Code: Select all

# yum install inxi --enablerepo epel
Then # inxi

Code: Select all

System:    Host: centos7.lan Kernel: 3.10.0-693.21.1.el7.x86_64 x86_64 bits: 64 Console: tty 4
           Distro: CentOS Linux release 7.4.1708 (Core)
Machine:   Device: desktop Mobo: Intel model: DH67BL v: AAG10189-206 serial: BTBL1210005K
           BIOS: Intel v: BLH6710H.86A.0119.2011.0523.1030 date: 05/23/2011
CPU:       Quad core Intel Core i5-2400 (-MCP-) cache: 6144 KB
           clock speeds: max: 3400 MHz 1: 3313 MHz 2: 3293 MHz 3: 3294 MHz 4: 3291 MHz
Memory:    Array-1 capacity: 32 GB devices: 4 EC: None
           Device-1: CHANNEL A DIMM0 size: No Module Installed type: N/A
           Device-2: CHANNEL A DIMM1 size: 8 GB speed: 32768 MHz type: DDR3
           Device-3: CHANNEL B DIMM0 size: No Module Installed type: N/A
           Device-4: CHANNEL B DIMM1 size: No Module Installed type: N/A
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           Display Server: X.org 1.19.3 drivers: modesetting (unloaded: fbdev,vesa)
           tty size: 125x38 Advanced Data: N/A for root out of X
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k3.10.0-693.21.1.el7.x86_64
Network:   Card: Intel 82579V Gigabit Network Connection driver: e1000e
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: e0:69:95:a3:0e:91
           WAN IP: ww.xx.yy.zz
           IF: tun0 ip-v4: ip-v6-link: fe80::1885:a6c5:fbf5:4778
           IF: eno1 ip-v4: ip-v6-link: fe80::b236:8f13:1504:15b7
Drives:    HDD Total Size: 3620.7GB (42.1% used)
           ID-1: /dev/sda model: SanDisk_SDSSDHII size: 120.0GB
           ID-2: /dev/sdb model: WDC_WD10EFRX size: 1000.2GB
           ID-3: /dev/sdc model: ST31500341AS size: 1500.3GB
           ID-4: USB /dev/sdi model: WDC_WD10JPLX size: 1000.2GB
           Optical-1: /dev/sr0 model: ATAPI iHAS124   B dev-links: cdrom
           Features: speed: 48x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram
Partition: ID-1: / size: 104G used: 50G (48%) fs: xfs dev: /dev/dm-0
           ID-2: /home size: 917G used: 667G (77%) fs: ext4 dev: /dev/sdb1
           ID-3: /boot size: 497M used: 274M (56%) fs: xfs dev: /dev/sda1
           ID-4: swap-1 size: 8.34GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 39.5C mobo: 38.0C
           Fan Speeds (in rpm): cpu: N/A fan-1: 937 fan-2: 1028 fan-3: 0 fan-4: 0
Info:      Processes: 294 Uptime: 16:38 Memory: 2023.9/7730.1MB Init: systemd runlevel: 5
           Client: Shell (bash) inxi: 2.3.56 

Post Reply