Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Fixed layout of performance data output
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrozer committed May 2, 2011
1 parent b66998f commit da5ec50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_blade_temp.pl
Expand Up @@ -128,7 +128,7 @@ sub temp_sensor {


if($cpt_error >= 1 ){
$nagios_output = "Click to see that temperature sensor is above the threshold | 'Sensor_1'=".$temp."C;55;70 'Sensor_2'=".$temp2."C;55;70";
$nagios_output = "Click to see that temperature sensor is above the threshold | 'Sensor_1'=".$temp."C;55;70; 'Sensor_2'=".$temp2."C;55;70;";
$nagios_long_output .= "Primary sensor: ".$temp."\n";
$nagios_long_output .= "Secondary sensor: ".$temp2."\n";
$nagios_output .= "\n".$nagios_long_output;
Expand All @@ -138,7 +138,7 @@ sub temp_sensor {
}

else{
$nagios_output = "OK: Temperature sensor are in good health. | 'Sensor_1'=".$temp."C;55;70 'Sensor_2'=".$temp2."C;55;70\n";
$nagios_output = "OK: Temperature sensor are in good health. | 'Sensor_1'=".$temp."C;55;70; 'Sensor_2'=".$temp2."C;55;70;\n";
$nagios_long_output .= "Primary sensor: ".$temp."\n";
$nagios_long_output .= "Secondary sensor: ".$temp2."\n";

Expand Down

0 comments on commit da5ec50

Please sign in to comment.