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:
parent
1cee26b597
commit
2d6bc2dd89
@ -12,8 +12,8 @@
|
|||||||
# Configuration parameters for /etc/munin/plugin-conf.d/munin-node
|
# Configuration parameters for /etc/munin/plugin-conf.d/munin-node
|
||||||
#
|
#
|
||||||
# [ipmi_fans]
|
# [ipmi_fans]
|
||||||
# user - User that has permissions to run ipmi-sensors
|
# user - User that has permissions to run the omreport binary
|
||||||
# env.category sensors
|
# env.omreport - Path to the omreport binary
|
||||||
#
|
#
|
||||||
# Parameters:
|
# Parameters:
|
||||||
#
|
#
|
||||||
@ -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: 2.0 2010/11/06
|
# Revision: 2.1 2011/01/10
|
||||||
#
|
#
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
#%# capabilities=autoconf
|
#%# capabilities=autoconf
|
||||||
@ -98,9 +98,9 @@ if ($ARGV[0] && $ARGV[0] eq "autoconf"){
|
|||||||
print "graph_vlabel Speed in RPM\n";
|
print "graph_vlabel Speed in RPM\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…
Reference in New Issue
Block a user