Xymon Mailing List Archive search

Temperature plugin for xymon

5 messages in this thread

list Foster Patch · Mon, 28 Dec 2015 18:17:59 +0000 ·
Hello,

I’ve been browsing the internet for a plugin/extension that will monitor server temperature and alarm if it gets too high. I have been unsuccessful, mostly because the links I find lead to dead pages. I was wondering if there was anyone here who has used on of these and can recommend a reliable download.

Thank you!

-Foster Patch
list Richard Hamilton · Tue, 29 Dec 2015 04:10:13 -0500 ·
Depending on the OS and/or hardware, no two server models (let alone
manufacturers) necessarily provide that info in the same way, so you
probably have to be a LOT more specific; and that's probably why there's no
one magic script to answer the question for all systems!

Suns are definitely different by model; some will show that as ok/not ok in
prtdiag output (with the easy option of just checking the prtdiag return
code - if it's non-zero, something is not right; that's as opposed to
parsing a format that varies by model).  Some won't show temperature at
all, but leave it to the LOM or SC to monitor the environment.  Some that
show ok/not ok won't show the actual temperature.  For example: my Sun
Blade 100 shows actual temps, ok/not ok, and even the thresholds; while my
Sun Blade 2000 and T5240 (on the control LDOM) only show ok/not ok.  (I
recall others that don't show anything on the domain, but those weren't
mine, and I'm retired now, so I can't check.)

Intel Macs seem to keep temp info in their "SMC" (and a "smc" command-line
utility bundled with smcfancontrol can read that in raw form), but vary by
model as to the number of sensors and four character keys assigned to them
(which are probably not fully documented anywhere outside of Apple, if even
there).

I have three different models each of Suns and Macs @ home.  Anything else
I have (Linux, Windows, etc) is NOT running on bare metal, and so will not
have temperature reports for me to look at and see how they might appear.


On Mon, Dec 28, 2015 at 1:17 PM, Foster Patch <user-830dc635f051@xymon.invalid>
quoted from Foster Patch
wrote:
Hello,


I’ve been browsing the internet for a plugin/extension that will monitor
server temperature and alarm if it gets too high. I have been unsuccessful,
mostly because the links I find lead to dead pages. I was wondering if
there was anyone here who has used on of these and can recommend a reliable
download.


Thank you!


-Foster Patch

list Andrey Chervonets · Wed, 13 Jan 2016 14:48:30 +0200 ·
Some time ago I had found the lm_sensors project. 
There were some instructions for many hardware.
Sorry to say, but right now the web-site http://lm-sensors.org/ have no 
more content about this.

However the lm-sensors was included in many Linux distributions (at least 
on CentOS, RHEL 6.x and similar), 
so it was possible to:

# install
yum install lm_sensors

# run to detect devices
sensors-detect

# and if OK (it has drivers for your hardware) then can get the output:
sensors

acpitz-virtual-0
Adapter: Virtual device
temp1:        +8.3 C  (crit = +31.3 C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +57.0 C  (high = +78.0 C, crit = +88.0 C)
Core 0:        +54.0 C  (high = +78.0 C, crit = +88.0 C)
Core 1:        +52.0 C  (high = +78.0 C, crit = +88.0 C)
Core 2:        +51.0 C  (high = +78.0 C, crit = +88.0 C)
Core 3:        +54.0 C  (high = +78.0 C, crit = +88.0 C)

power_meter-acpi-0
Adapter: ACPI interface
power1:       0.00 nW  (interval = 300.00 s)

coretemp-isa-0004
Adapter: ISA adapter
Physical id 1: +50.0 C  (high = +78.0 C, crit = +88.0 C)
Core 0:        +50.0 C  (high = +78.0 C, crit = +88.0 C)
Core 1:        +49.0 C  (high = +78.0 C, crit = +88.0 C)
Core 2:        +45.0 C  (high = +78.0 C, crit = +88.0 C)
Core 3:        +49.0 C  (high = +78.0 C, crit = +88.0 C)

Detailed information is available at: 
https://www.kernel.org/doc/Documentation/thermal/

Please, drop me a mail if You will find anything useful. I am interested 
too.


Best regards,

Andrey Chervonets
CoMinder Support
http://www.cominder.eu/
mobile: +XXX XXXXXXXX
list Richard L. Hamilton · Wed, 13 Jan 2016 13:09:02 -0500 ·
You can always look at the most recent still complete snapshot in the Wayback Machine (archive.org):
http://web.archive.org/web/20150905145034/http://www.lm-sensors.org/
quoted from Andrey Chervonets

On Jan 13, 2016, at 07:48, Andrey Chervonets <user-e7fb5c02322c@xymon.invalid> wrote:

Some time ago I had found the lm_sensors project. There were some instructions for many hardware. Sorry to say, but right now the web-site http://lm-sensors.org/ <http://lm-sensors.org/>; have no more content about this. 
However the lm-sensors was included in many Linux distributions (at least on CentOS, RHEL 6.x and similar), so it was possible to: 
# install yum install lm_sensors 
# run to detect devices sensors-detect 
# and if OK (it has drivers for your hardware) then can get the output: sensors 
acpitz-virtual-0 Adapter: Virtual device temp1:        +8.3 C  (crit = +31.3 C) 
coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +57.0 C  (high = +78.0 C, crit = +88.0 C) Core 0:        +54.0 C  (high = +78.0 C, crit = +88.0 C) Core 1:        +52.0 C  (high = +78.0 C, crit = +88.0 C) Core 2:        +51.0 C  (high = +78.0 C, crit = +88.0 C) Core 3:        +54.0 C  (high = +78.0 C, crit = +88.0 C) 
power_meter-acpi-0 Adapter: ACPI interface power1:       0.00 nW  (interval = 300.00 s) 
coretemp-isa-0004 Adapter: ISA adapter Physical id 1: +50.0 C  (high = +78.0 C, crit = +88.0 C) Core 0:        +50.0 C  (high = +78.0 C, crit = +88.0 C) Core 1:        +49.0 C  (high = +78.0 C, crit = +88.0 C) Core 2:        +45.0 C  (high = +78.0 C, crit = +88.0 C) Core 3:        +49.0 C  (high = +78.0 C, crit = +88.0 C) 
Detailed information is available at: https://www.kernel.org/doc/Documentation/thermal/ <https://www.kernel.org/doc/Documentation/thermal/>; 
Please, drop me a mail if You will find anything useful. I am interested too. 

Best regards, 

Andrey Chervonets ---------------------- CoMinder Support http://www.cominder.eu/ <http://www.cominder.eu/>; mobile: +XXX XXXXXXXX 
list Axel Beckert · Thu, 14 Jan 2016 16:32:09 +0100 ·
Hi,
quoted from Foster Patch

On Mon, Dec 28, 2015 at 06:17:59PM +0000, Foster Patch wrote:
I’ve been browsing the internet for a plugin/extension that will
monitor server temperature and alarm if it gets too high. I have
been unsuccessful, mostly because the links I find lead to dead
pages. I was wondering if there was anyone here who has used on of
these and can recommend a reliable download.
we ship a self-developed temp plugin with Debian's hobbit-plugins
collection (https://packages.qa.debian.org/h/hobbit-plugins.html).

Its source code can be found at
https://anonscm.debian.org/cgit/collab-maint/hobbit-plugins.git/tree/src/usr/lib/xymon/client/ext/temp
but it needs also the Perl module Hobbit.pm from the same package:
https://anonscm.debian.org/cgit/collab-maint/hobbit-plugins.git/tree/src/usr/share/perl5/Hobbit.pm

		Kind regards, Axel Beckert
-- 
Axel Beckert <user-96d9963fe797@xymon.invalid>       support: +41 44 633 26 68
IT Services Group, HPT H 6                  voice: +41 44 633 41 89
Departement of Physics, ETH Zurich
CH-8093 Zurich, Switzerland		   http://nic.phys.ethz.ch/