Tweak warning threshold for hpasmcli2 temperature warnings a bit more
authorTom Hughes <tom@compton.nu>
Wed, 16 Jul 2014 11:14:00 +0000 (12:14 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 16 Jul 2014 11:14:00 +0000 (12:14 +0100)
cookbooks/munin/files/default/plugins/hpasmcli2_

index b85a25a720fd5a170a6fb3f8b50a02e55644067b..21699986222acf206130fea7f8c5b7184d91baf1 100755 (executable)
@@ -116,7 +116,7 @@ if (defined($show_target) and $show_target eq 'temp') {
         print "graph_info This graph shows the temperatures as reported by hpasmcli.\n";
         foreach my $key (sort keys %output) {
             print "temp$key.label $output{$key}->{'location'}\n";
-            print "temp$key.warning " . ($output{$key}->{'threshold'} * 0.8) . "\n";
+            print "temp$key.warning " . ($output{$key}->{'threshold'} * 0.85) . "\n";
             print "temp$key.critical $output{$key}->{'threshold'}\n";
         }
     } else {