projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7456a3e
)
Tweak warning threshold for hpasmcli2 temperature warnings a bit more
author
Tom Hughes
<tom@compton.nu>
Wed, 16 Jul 2014 11:14:00 +0000
(12:14 +0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 16 Jul 2014 11:14:00 +0000
(12:14 +0100)
cookbooks/munin/files/default/plugins/hpasmcli2_
patch
|
blob
|
history
diff --git
a/cookbooks/munin/files/default/plugins/hpasmcli2_
b/cookbooks/munin/files/default/plugins/hpasmcli2_
index b85a25a720fd5a170a6fb3f8b50a02e55644067b..21699986222acf206130fea7f8c5b7184d91baf1 100755
(executable)
--- a/
cookbooks/munin/files/default/plugins/hpasmcli2_
+++ b/
cookbooks/munin/files/default/plugins/hpasmcli2_
@@
-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.8
5
) . "\n";
print "temp$key.critical $output{$key}->{'threshold'}\n";
}
} else {