We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8935c commit b17c54bCopy full SHA for b17c54b
esensors-websensor/plugins/check_esensor.pl
@@ -503,6 +503,7 @@ sub read_sensor {
503
if ($@) {
504
die $@ if $didalarm != 1;
505
&debug("timeout $timeout expired during sensor read\n");
506
+ &debug("data received from sensor: $response\n");
507
print "Unable to read sensor (timeout $timeout seconds expired)\n";
508
exit($ERRORS{'UNKNOWN'});
509
}
@@ -513,6 +514,7 @@ sub read_sensor {
513
514
#
515
# https://github.com/pashol/nagios-checks/commit/31cdba775a226672207f92d2e9e5e3365ac88a54#diff-262e64bf9a35e13ebbec3d1c8ab6856b
516
print "No values received from sensor\n";
517
518
519
520
0 commit comments