![]() ![]() 898.ro on CentOS 5.11 – Have the latest OpenSSL 1.0.2 running on Apache 2.2.898.ro on ZeroMQ PHP-7.3 extension – how to easily install it on cPanel/WHM.jain on glibc-debug missing on CentOS 8 latest version.898.ro on glibc-debug missing on CentOS 8 latest version.You cand find the plugin here: check_cpu_temp.Īs I said, you’ll need to install lm_sensors package and the python module pysensors ( pip install pysensors).Īs for most programs on linux, running the plugin with -h (help) will display some basic usage instructions: ![]() Also, if let’s say the server has 4 CPUs, then I want to be able to run the exact same script and get the temperature for each of the 4 CPUs.īecause I was not able to find anything to suit my needs, I’ve decided to write my own nagios plugin, in Python, based on lm_sensors package and the python pysensors. So, you can find out a defective hardware components, and replace it to avoid the system hanging or overheating issues. Most of my servers have 2 CPUs so I would like to know the temperature on any of them. The Lmsensors, short for L inux- m onitoring sensors, is a free software that provides the necessary tools and drivers for monitoring CPU temperatures, voltage, humidity, and fans. I was able to find a few bash scripts based on lm_sensors but most of them where only taking into consideration the temperature from a single core of the CPU. – if your linux distro is SuSe based (Suse, OpenSuse etc) you’ll issue this command: zypper install lm_sensorsįor other distros you can check their official documentation, see what’s the default tool used to install packages. – if your linux distro is RedHat based (RedHat, CentOS, Fedora etc) you’ll issue this command: yum install lm_sensors – if your linux distro is Debian based (like Debian, Ubuntu etc) you’ll issue this command: apt- get install lm- sensors Most common way to find out your CPU temperature for pretty much any linux distribution is to use the package lm_sensors. Monitoring CPU and GPU Temperatures in Linux Terminal Monitoring CPU and GPU Temperatures in Linux Terminal This article discusses two simple ways of monitoring CPU and GPU temperatures in the Linux command line. Nagios Plugin – check CPU temperature! I like to monitor every aspect of my linux servers and one of these aspects is the CPU temperature.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |