1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 09:57:09 +00: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:10:54 +01:00 committed by Steve Schnepp
parent 938d414337
commit 1cee26b597

View file

@ -22,7 +22,7 @@
#
# Author: Alexx Roche <munin-ipmi-plugin@alexx.net>
# Built on the work of Justin Shepherd <galstrom21@gmail.com>
# Revision: 1.2 2010/10/15
# Revision: 1.3 2011/01/10
#
#%# family=auto
#%# capabilities=autoconf
@ -87,9 +87,9 @@ if ($ARGV[0] && $ARGV[0] eq "autoconf"){
print "graph_vlabel Temperature in Celsius\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) {