CPU Temperature

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
felipe.costa
Posts: 6
Joined: Thu Jan 03, 2013 12:47 pm

CPU Temperature

Post by felipe.costa »

Hi,

I'm facing big trouble trying to get the CPU Temperature from a Dell PowerEdge T410.
I tried a lot of plugins and OID's and all stuff that i could try in nagios.
I have all services i want running ok but the CPU Temperature.

Can U guys give me some help? i already have Openmanage installed in my Dell server.

The last plugin i tried was that http://exchange.nagios.org/directory/Pl ... re/details

Thx a lot.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: CPU Temperature

Post by yancy »

felipe,

What is the problem you faced with the last plugin you tried? was the plugin returning incorrect results?

Regards,

-Yancy
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: CPU Temperature

Post by jsmurphy »

This is the plugin we use for monitoring the hardware health of our dell servers: http://folk.uio.no/trondham/software/ch ... anage.html it's been pretty good so far.

I think you can whitelist it to only do specific checks so you could probably get it to only check CPU temp.
felipe.costa
Posts: 6
Joined: Thu Jan 03, 2013 12:47 pm

Re: CPU Temperature

Post by felipe.costa »

I'd like to thank all U mainly jsmurphy.

i've been trying for days without sucess until now.

The plugin worked perfectly in my Dell PowerEdge T410.

I'm getting the CPU temp of my DC (windows server 2008 R2) with the following command:

/usr/lib/nagios/plugin/check_openmanage --only temp -H $HOSTADDRESS$ -C $COMMUNITY$ -p 12489 -w 42 -c 47

if U'd like to get rpm fans try it

/usr/lib/nagios/plugin/check_openmanage --only fans -H $HOSTADDRESS$ -C $COMMUNITY$ -p 12489

Hope it be helpful for someone like was for me.

Thx a lot.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: CPU Temperature

Post by slansing »

Sounds great, thanks for letting the community know what worked for you, there are quite a few system temperature questions and it is great to have a documented case.
NagiosNewbis
Posts: 24
Joined: Thu May 02, 2013 5:13 pm

Re: CPU Temperature

Post by NagiosNewbis »

Hello all;

I tried to modify the -w (warning) and -c (critical) figure to 10 and 17 respectively like below in order to test if the Nagios will send me an alert even the currently temperature reading on server is 17c which is normal. However, when I check the Nagios webpage, the monitor still shows "OK" status.

/usr/lib/nagios/plugin/check_openmanage --only temp -H $HOSTADDRESS$ -C $COMMUNITY$ -p 12489 -w 10 -c 17

Actually, how does the check_openmanage detect the status of temperature?
NagiosNewbis
Posts: 24
Joined: Thu May 02, 2013 5:13 pm

Re: CPU Temperature

Post by NagiosNewbis »

Found the correct syntax. I should use "0=" in front of the figure to custom the reading value.

/usr/lib/nagios/plugin/check_openmanage --only temp -H $HOSTADDRESS$ -C $COMMUNITY$ -p 12489 -w 0=10 -c 0=17
Locked