]> git.openstreetmap.org Git - chef.git/commitdiff
Tweak warning threshold for hpasmcli2 temperature warnings
authorTom Hughes <tom@compton.nu>
Wed, 16 Jul 2014 07:34:32 +0000 (08:34 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 16 Jul 2014 07:34:32 +0000 (08:34 +0100)
cookbooks/munin/files/default/plugins/hpasmcli2_

index 7c8a1d6a158e9b70074720efabf9c9c4ec520ed0..b85a25a720fd5a170a6fb3f8b50a02e55644067b 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.75) . "\n";
+            print "temp$key.warning " . ($output{$key}->{'threshold'} * 0.8) . "\n";
             print "temp$key.critical $output{$key}->{'threshold'}\n";
         }
     } else {