2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Escaped the dot in the print output (worked with perl 5.8.8 but some users found problems)

This commit is contained in:
Alexx Roche 2011-01-10 10:14:53 +01:00 committed by Steve Schnepp
parent 1cee26b597
commit 2d6bc2dd89

View File

@ -12,8 +12,8 @@
# Configuration parameters for /etc/munin/plugin-conf.d/munin-node
#
# [ipmi_fans]
# user - User that has permissions to run ipmi-sensors
# env.category sensors
# user - User that has permissions to run the omreport binary
# env.omreport - Path to the omreport binary
#
# Parameters:
#
@ -22,7 +22,7 @@
#
# Author: Alexx Roche <munin-ipmi-plugin@alexx.net>
# Built on the work of Justin Shepherd <galstrom21@gmail.com>
# Revision: 2.0 2010/11/06
# Revision: 2.1 2011/01/10
#
#%# family=auto
#%# capabilities=autoconf
@ -98,9 +98,9 @@ if ($ARGV[0] && $ARGV[0] eq "autoconf"){
print "graph_vlabel Speed in RPM\n";
print "graph_category Sensors\n";
foreach my $j (sort keys %val) {
print "probe_$j.label $val{$j}{'Probe Name'}\n";
print "probe_$j.warning $val{$j}{'Warning Threshold'}\n";
print "probe_$j.critical $val{$j}{'Critical Threshold'}\n";
print "probe_$j\.label $val{$j}{'Probe Name'}\n";
print "probe_$j\.warning $val{$j}{'Warning Threshold'}\n";
print "probe_$j\.critical $val{$j}{'Critical Threshold'}\n";
}
}else{
foreach my $j (sort keys %val) {