Datacenter Temperature monitorng.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
udaykumar
Posts: 66
Joined: Thu Jan 11, 2018 12:55 am

Datacenter Temperature monitorng.

Post by udaykumar »

Hi Team,

We are facing below issue while trying to monitor the DC temperature through CLI.

# ./check_em01.pl --type=temp --temp=65/75,60/80 xxxxxxx
Unable to read sensor

We are able to ping sensor form Nagios server. Please help us what needs to be done to resolve the issue.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Datacenter Temperature monitorng.

Post by lmiltchev »

Can you run the same command with the "--debug" flag and show the output?

Code: Select all

 ./check_em01.pl --type=temp --temp=65/75,60/80 xxxxxxx --debug
Was this check created by running our "Esensors Websensor" wizard? Have you followed the steps, outlined in the document below?

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

What is the exact model of the sensor that you are trying to monitor?
Be sure to check out our Knowledgebase for helpful articles and solutions!
udaykumar
Posts: 66
Joined: Thu Jan 11, 2018 12:55 am

Re: Datacenter Temperature monitorng.

Post by udaykumar »

Hi team,
we have tried with Wizard and even in CLI mode. But result is same.

[root@ libexec]# ./check_em01.pl --type=temp --temp=65/75,60/80 xxxxxxxx --debug
connected to xxxxxxxxxxxxxxxxx
timeout(alarm) during sensor read
Unable to read sensor
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Datacenter Temperature monitorng.

Post by lmiltchev »

What is the exact model of the sensor that you are trying to monitor?
Be sure to check out our Knowledgebase for helpful articles and solutions!
udaykumar
Posts: 66
Joined: Thu Jan 11, 2018 12:55 am

Re: Datacenter Temperature monitorng.

Post by udaykumar »

Hi Team,

We have resolved issue. Now we are able to connect device .
But we have a problem in output. irrespective of different threshold values, it is throwing as critical Low.

Code: Select all

[root@ libexec]# ./check_em01.pl  --type=all --temp=65/75,60/80 --hum=30/40,25/50 --illum=40/70,30/80 xxxxxx
CRITICAL LOW Temperature (<60) - ; CRITICAL LOW Humidity (<25) - ; CRITICAL LOW Illumination (<30) -
[root@ libexec]# ./check_em01.pl  --type=all --temp=5/7,4/8 --hum=30/40,25/50 --illum=40/70,30/80 xxxxxxx
CRITICAL LOW Temperature (<4) - ; CRITICAL LOW Humidity (<25) - ; CRITICAL LOW Illumination (<30) - 
[root@ libexec]# ./check_em01.pl --type=temp --temp=65/75,60/80 xxxxxx
CRITICAL LOW Temperature (<60) - Temp:  |temperature=;;;;
[root@ libexec]# ./check_em01.pl --type=temp --temp==5/7,4/8 xxxxxx
CRITICAL LOW Temperature (<4) - Temp:  |temperature=;;;; ]#
[root@ libexec]# ./check_em01.pl --type=temp --temp==-5/7,-4/8 xxxxxxx
Temp:  |temperature=;;;; 
[root\ libexec]# ./check_em01.pl --type=temp --temp==-1/7,2/8 xxxxxxxxxxxx
CRITICAL LOW Temperature (<2) - Temp:  |temperature=;;;;

Can't we get exact value in the output.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Datacenter Temperature monitorng.

Post by lmiltchev »

We have resolved issue. Now we are able to connect device .
I would assume there was a firewall in between Nagios XI and your sensor, which was causing the issue, but I am not sure - you didn't provide us with any details.
But we have a problem in output. irrespective of different threshold values, it is throwing as critical Low.
It seems that plugin is not returning any values whatsoever. I believe this is why the math is not done correctly, and the plugin keeps throwing "critical low". Can you run the following commands, and show the output?

Code: Select all

./check_em01.pl <ip address>
./check_em01.pl <ip address> --debug
./check_em01.pl --type=all <ip address>
./check_em01.pl --type=temp <ip address>
./check_em01.pl --type=hum <ip address>
./check_em01.pl --type=illum <ip address>
./check_em01.pl --type=all <ip address> --debug
./check_em01.pl --type=temp <ip address> --debug
./check_em01.pl --type=hum <ip address> --debug
./check_em01.pl --type=illum <ip address> --debug

What is the exact model of the sensor that you are trying to monitor?
Be sure to check out our Knowledgebase for helpful articles and solutions!
udaykumar
Posts: 66
Joined: Thu Jan 11, 2018 12:55 am

Re: Datacenter Temperature monitorng.

Post by udaykumar »

HI Team,

Please find the output of commands below.

Code: Select all

[root@ libexec]# ./check_em01.pl xxxxxxxxxxx
Temp:  , Humidity: %, Illum:
[root@ libexec]# ./check_em01.pl xxxxxxxxxxx --debug
connected to xxxxxxxxxxx
Temp:  , Humidity: %, Illum:
[root@ libexec]# ./check_em01.pl --type=all xxxxxxxxxxx
[root@ libexec]# ./check_em01.pl --type=temp xxxxxxxxxxx
Temp:  |temperature=;;;; 
[root@ libexec]# ./check_em01.pl --type=hum xxxxxxxxxxx
Humidity: %|humidity=%;;;; 
[root@ libexec]# ./check_em01.pl --type=illum xxxxxxxxxxx
Illum: |illumination=;;;; 
[root@ libexec]# ./check_em01.pl --type=all xxxxxxxxxxx --debug
connected to xxxxxxxxxxx
[root@ libexec]# ./check_em01.pl --type=temp xxxxxxxxxxx --debug
connected to xxxxxxxxxxx
Temp:  |temperature=;;;; 
[root@ libexec]# ./check_em01.pl --type=hum xxxxxxxxxxx --debug
connected to xxxxxxxxxxx
Humidity: %|humidity=%;;;; 
[root@ libexec]# ./check_em01.pl --type=hum xxxxxxxxxxx --debug
connected to xxxxxxxxxxx
Humidity: %|humidity=%;;;; 
Device details are as follows;

Type:
Cooling Device

Model:
InRow RD 10KW Air Cooled 50Hz
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Datacenter Temperature monitorng.

Post by lmiltchev »

Device details are as follows;

Type:
Cooling Device

Model:
InRow RD 10KW Air Cooled 50Hz
This plugin hasn't been designed to monitor APC devices. It's meant to monitor websensors, as the ones shown below:

https://eesensors.com/products/websensors.html

You will have to find a different plugin, suitable for your device. I didn't find anything on the Nagios Exchange for this particular model, but there are some plugins for monitoring APCs. See if any of them would do the job for you.

https://exchange.nagios.org/directory/P ... re/UPS/APC
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked