mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +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:
parent
938d414337
commit
1cee26b597
1 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
||||||
#
|
#
|
||||||
# Author: Alexx Roche <munin-ipmi-plugin@alexx.net>
|
# Author: Alexx Roche <munin-ipmi-plugin@alexx.net>
|
||||||
# Built on the work of Justin Shepherd <galstrom21@gmail.com>
|
# Built on the work of Justin Shepherd <galstrom21@gmail.com>
|
||||||
# Revision: 1.2 2010/10/15
|
# Revision: 1.3 2011/01/10
|
||||||
#
|
#
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
#%# capabilities=autoconf
|
#%# capabilities=autoconf
|
||||||
|
@ -87,9 +87,9 @@ if ($ARGV[0] && $ARGV[0] eq "autoconf"){
|
||||||
print "graph_vlabel Temperature in Celsius\n";
|
print "graph_vlabel Temperature in Celsius\n";
|
||||||
print "graph_category Sensors\n";
|
print "graph_category Sensors\n";
|
||||||
foreach my $j (sort keys %val) {
|
foreach my $j (sort keys %val) {
|
||||||
print "probe_$j.label $val{$j}{'Probe Name'}\n";
|
print "probe_$j\.label $val{$j}{'Probe Name'}\n";
|
||||||
print "probe_$j.warning $val{$j}{'Warning Threshold'}\n";
|
print "probe_$j\.warning $val{$j}{'Warning Threshold'}\n";
|
||||||
print "probe_$j.critical $val{$j}{'Critical Threshold'}\n";
|
print "probe_$j\.critical $val{$j}{'Critical Threshold'}\n";
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
foreach my $j (sort keys %val) {
|
foreach my $j (sort keys %val) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue