Page 1 of 1
Datacenter Temperature monitorng.
Posted: Mon Dec 03, 2018 3:21 am
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.
Re: Datacenter Temperature monitorng.
Posted: Mon Dec 03, 2018 1:48 pm
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?
Re: Datacenter Temperature monitorng.
Posted: Mon Jan 07, 2019 2:42 am
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
Re: Datacenter Temperature monitorng.
Posted: Mon Jan 07, 2019 10:43 am
by lmiltchev
What is the exact model of the sensor that you are trying to monitor?
Re: Datacenter Temperature monitorng.
Posted: Tue Jan 08, 2019 8:47 pm
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.
Re: Datacenter Temperature monitorng.
Posted: Wed Jan 09, 2019 10:45 am
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?
Re: Datacenter Temperature monitorng.
Posted: Thu Jan 10, 2019 12:47 am
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
Re: Datacenter Temperature monitorng.
Posted: Thu Jan 10, 2019 10:39 am
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