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.
Datacenter Temperature monitorng.
Re: Datacenter Temperature monitorng.
Can you run the same command with the "--debug" flag and show the output?
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?
Code: Select all
./check_em01.pl --type=temp --temp=65/75,60/80 xxxxxxx --debughttps://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!
Re: Datacenter Temperature monitorng.
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
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.
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!
Re: Datacenter Temperature monitorng.
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.
Can't we get exact value in the output.
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.
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.We have resolved issue. Now we are able to connect device .
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?But we have a problem in output. irrespective of different threshold values, it is throwing as critical Low.
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!
Re: Datacenter Temperature monitorng.
HI Team,
Please find the output of commands below.
Device details are as follows;
Type:
Cooling Device
Model:
InRow RD 10KW Air Cooled 50Hz
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=%;;;; Type:
Cooling Device
Model:
InRow RD 10KW Air Cooled 50Hz
Re: Datacenter Temperature monitorng.
This plugin hasn't been designed to monitor APC devices. It's meant to monitor websensors, as the ones shown below:Device details are as follows;
Type:
Cooling Device
Model:
InRow RD 10KW Air Cooled 50Hz
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!